OpenCloudOS-Kernel/fs/fuse
Miklos Szeredi 78bb6cb9a8 fuse: add flag to turn on big writes
Prior to 2.6.26 fuse only supported single page write requests.  In theory all
fuse filesystem should be able support bigger than 4k writes, as there's
nothing in the API to prevent it.  Unfortunately there's a known case in
NTFS-3G where big writes cause filesystem corruption.  There could also be
other filesystems, where the lack of testing with big write requests would
result in bugs.

To prevent such problems on a kernel upgrade, disable big writes by default,
but let filesystems set a flag to turn it on.

Signed-off-by: Miklos Szeredi <mszeredi@suse.cz>
Cc: Szabolcs Szakacsits <szaka@ntfs-3g.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2008-05-13 08:02:26 -07:00
..
Makefile [PATCH] fuse: add control filesystem 2006-06-25 10:01:19 -07:00
control.c mm: bdi: expose the BDI object in sysfs for FUSE 2008-04-30 08:29:49 -07:00
dev.c fuse: fix sparse warnings 2008-04-30 08:29:51 -07:00
dir.c fuse: update file size on short read 2008-04-30 08:29:50 -07:00
file.c fuse: add flag to turn on big writes 2008-05-13 08:02:26 -07:00
fuse_i.h fuse: add flag to turn on big writes 2008-05-13 08:02:26 -07:00
inode.c fuse: add flag to turn on big writes 2008-05-13 08:02:26 -07:00