Re: [PATCH] tune2fs: reset MMP state on error exit

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, Jun 17, 2020 at 05:40:49AM -0600, Andreas Dilger wrote:
> From: Andreas Dilger <adilger@xxxxxxxxxxxxx>
> 
> If tune2fs cannot perform the requested change, ensure that the MMP
> block is reset to the unused state before exiting.  Otherwise, the
> filesystem will be left with mmp_seq = EXT4_MMP_SEQ_FSCK set, which
> prevents it from being mounted afterward:
> 
>     EXT4-fs warning (device dm-9): ext4_multi_mount_protect:311:
>         fsck is running on the filesystem
> 
> Add a test to try some failed tune2fs operations and verify that the
> MMP block is left in a clean state afterward.
> 
> Lustre-bug-id: https://jira.whamcloud.com/browse/LU-13672
> Signed-off-by: Andreas Dilger <adilger@xxxxxxxxxxxxx>

Applied, thanks.

					- Ted



[Index of Archives]     [Reiser Filesystem Development]     [Ceph FS]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Linux FS]     [Yosemite National Park]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Device Mapper]     [Linux Media]

  Powered by Linux