linux/fs/exfat
Yuezhang Mo a4a3d8c52d exfat: do not clear VolumeDirty in writeback
Before this commit, VolumeDirty will be cleared first in
writeback if 'dirsync' or 'sync' is not enabled. If the power
is suddenly cut off after cleaning VolumeDirty but other
updates are not written, the exFAT filesystem will not be able
to detect the power failure in the next mount.

And VolumeDirty will be set again but not cleared when updating
the parent directory. It means that BootSector will be written at
least once in each write-back, which will shorten the life of the
device.

Reviewed-by: Andy Wu <Andy.Wu@sony.com>
Reviewed-by: Aoyama Wataru <wataru.aoyama@sony.com>
Signed-off-by: Yuezhang Mo <Yuezhang.Mo@sony.com>
Signed-off-by: Namjae Jeon <linkinjeon@kernel.org>
2022-04-01 10:51:03 +09:00
..
balloc.c exfat: remove argument 'sector' from exfat_get_dentry() 2022-01-10 11:00:03 +09:00
cache.c exfat: fix use of uninitialized spinlock on error path 2020-10-07 14:27:13 +09:00
dir.c exfat: remove argument 'sector' from exfat_get_dentry() 2022-01-10 11:00:03 +09:00
exfat_fs.h exfat: allow access to paths with trailing dots 2022-04-01 10:51:02 +09:00
exfat_raw.h exfat: fix shift-out-of-bounds in exfat_fill_super() 2021-02-22 09:55:13 +09:00
fatent.c exfat: simplify is_valid_cluster() 2022-01-10 11:00:00 +09:00
file.c exfat: do not clear VolumeDirty in writeback 2022-04-01 10:51:03 +09:00
inode.c exfat: fix i_blocks for files truncated over 4 GiB 2022-01-10 11:00:02 +09:00
Kconfig exfat: Improve wording of EXFAT_DEFAULT_IOCHARSET config option 2020-06-09 16:48:39 +09:00
Makefile exfat: add Kconfig and Makefile 2020-03-05 21:00:40 -05:00
misc.c exfat: fix missing REQ_SYNC in exfat_update_bhs() 2022-01-10 11:00:04 +09:00
namei.c exfat: do not clear VolumeDirty in writeback 2022-04-01 10:51:03 +09:00
nls.c exfat: remove argument 'sector' from exfat_get_dentry() 2022-01-10 11:00:03 +09:00
super.c exfat: do not clear VolumeDirty in writeback 2022-04-01 10:51:03 +09:00