]> git.baikalelectronics.ru Git - kernel.git/commit
[PATCH] fuse: make maximum write data configurable
authorMiklos Szeredi <miklos@szeredi.hu>
Fri, 6 Jan 2006 08:19:41 +0000 (00:19 -0800)
committerLinus Torvalds <torvalds@g5.osdl.org>
Fri, 6 Jan 2006 16:33:56 +0000 (08:33 -0800)
commit4900576e200dc2c511405afdb63abe3020a782cb
tree62918ff93aac09bc13d4730208a8c8bc1fec4e40
parent552c5c4d3746a33d6ee7db99eeec168d735c6307
[PATCH] fuse: make maximum write data configurable

Make the maximum size of write data configurable by the filesystem.  The
previous fixed 4096 limit only worked on architectures where the page size is
less or equal to this.  This change make writing work on other architectures
too, and also lets the filesystem receive bigger write requests in direct_io
mode.

Normal writes which go through the page cache are still limited to a page
sized chunk per request.

Signed-off-by: Miklos Szeredi <miklos@szeredi.hu>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
fs/fuse/dev.c
fs/fuse/fuse_i.h
fs/fuse/inode.c
include/linux/fuse.h