WSL2-Linux-Kernel/fs/udf
Jan Kara 146bca72c7 udf: Don't write integrity descriptor too often
We update information in logical volume integrity descriptor after each
allocation (as LVID contains free space, number of directories and files on
disk etc.). If the filesystem is on some phase change media, this leads to its
quick degradation as such media is able to handle only 10000 overwrites or so.
We solve the problem by writing new information into LVID only on umount,
remount-ro and sync. This solves the problem at the price of longer media
inconsistency (previously media became consistent after pdflush flushed dirty
LVID buffer) but that should be acceptable.

Report by and patch written in cooperation with
Rich Coe <Richard.Coe@med.ge.com>.

Signed-off-by: Jan Kara <jack@suse.cz>
2009-04-02 13:36:28 +02:00
..
Kconfig
Makefile
balloc.c udf: Don't write integrity descriptor too often 2009-04-02 13:36:28 +02:00
dir.c Fix the udf code not to pass structs on stack where possible. 2009-04-02 12:29:47 +02:00
directory.c Fix the udf code not to pass structs on stack where possible. 2009-04-02 12:29:47 +02:00
ecma_167.h Remove struct typedefs from fs/udf/ecma_167.h et al. 2009-04-02 12:29:47 +02:00
file.c
fsync.c
ialloc.c udf: Don't write integrity descriptor too often 2009-04-02 13:36:28 +02:00
inode.c udf: fix default mode and dmode options handling 2009-04-02 12:29:52 +02:00
lowlevel.c
misc.c Fix the udf code not to pass structs on stack where possible. 2009-04-02 12:29:47 +02:00
namei.c Fix the udf code not to pass structs on stack where possible. 2009-04-02 12:29:47 +02:00
osta_udf.h Remove struct typedefs from fs/udf/ecma_167.h et al. 2009-04-02 12:29:47 +02:00
partition.c Remove struct typedefs from fs/udf/ecma_167.h et al. 2009-04-02 12:29:47 +02:00
super.c udf: Don't write integrity descriptor too often 2009-04-02 13:36:28 +02:00
symlink.c
truncate.c Fix the udf code not to pass structs on stack where possible. 2009-04-02 12:29:47 +02:00
udf_i.h Remove struct typedefs from fs/udf/ecma_167.h et al. 2009-04-02 12:29:47 +02:00
udf_sb.h udf: Don't write integrity descriptor too often 2009-04-02 13:36:28 +02:00
udfdecl.h udf: Don't write integrity descriptor too often 2009-04-02 13:36:28 +02:00
udfend.h Remove struct typedefs from fs/udf/ecma_167.h et al. 2009-04-02 12:29:47 +02:00
udftime.c Remove struct typedefs from fs/udf/ecma_167.h et al. 2009-04-02 12:29:47 +02:00
unicode.c udf: Fix oops when invalid character in filename occurs 2009-04-02 12:29:53 +02:00