On Mon, 2012-01-02 at 23:41 +1100, Russell Coker wrote:
> Package: linux-2.6
> Version: 3.0.0-6
> Severity: normal
>
> According to mount(*) the max_batch_time parameter for mounting an ext4
> filesystem has a default value of 15000. When I try using it with values
> of 10000 and 20000 it appears to not work:
>
> # mount -o loop,max_batch_time=10000 test /mnt/tmp
> # grep tmp /proc/mounts
> /dev/loop0 /mnt/tmp ext4 rw,relatime,user_xattr,max_batch_time=0,barrier=1,data=ordered 0 0
>
> The above example is for an attempt to use a max_batch_time of 10000, I get
> the same result (max_batch_time=0 reported) when I mount with the value
> 20000.
>
> I don't know whether the filesystem is actually mounted with the parameter I
> requested, it could be mis-reported or it could be that the mount process isn't
> doing what I desire.
[...]
It's misreported:
if (sbi->s_max_batch_time != EXT4_DEF_MAX_BATCH_TIME) {
seq_printf(seq, ",max_batch_time=%u",
(unsigned) sbi->s_min_batch_time);
}
However, the fact that you see it in the options at all shows that it
has been changed from the default.
Ben.
--
Ben Hutchings
All the simple programs have been written, and all the good names taken.
Attachment:
signature.asc
Description: This is a digitally signed message part