2
0
mirror of https://github.com/edk2-porting/linux-next.git synced 2024-12-25 13:43:55 +08:00
linux-next/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
..
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 udf: add llseek method 2008-09-08 20:31:04 +02:00
fsync.c UDF: coding style conversion - lindent fixups 2007-07-21 17:49:14 -07:00
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
Kconfig fs/Kconfig: move iso9660, udf out 2009-01-22 13:15:55 +03:00
lowlevel.c udf: move headers out include/linux/ 2008-04-17 14:22:23 +02:00
Makefile udf: use crc_itu_t from lib instead of udf_crc 2008-04-17 14:29:56 +02:00
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 udf: move headers out include/linux/ 2008-04-17 14:22:23 +02:00
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