Re: [PATCH] ext4: fix handling mount -o remount,nolazytime

Theodore Y. Ts'o
2020-02-20T18:22:38Z

On Thu, Feb 20, 2020 at 06:11:04PM +0300, Konstantin Khlebnikov wrote:
> Usually all these options are saved in /etc/fstab and
> mount -o remount,... includes them into line passed into syscall.
> In this case remounting any other option will not disable lazytime.

This assumes that there *is* an /etc/fstab entry. Sometimes system
administrators will perform ad hoc mounts of devices that aren't
mentioned in /etc/fstab.

For example, consider how xfstests works; it will run mounts commands
mentioning the test and scratch devices which are not mentioned on
/etc/fstab.

- Ted