]> git.baikalelectronics.ru Git - kernel.git/commit
fuse: add helper for asynchronous writes
authorMiklos Szeredi <mszeredi@suse.cz>
Thu, 18 Oct 2007 10:07:03 +0000 (03:07 -0700)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Thu, 18 Oct 2007 21:37:31 +0000 (14:37 -0700)
commit89ca34e519017681e0040ee810943c9a2deac0b1
tree03d23ccbca6e87ba98efeba445ff714455dba0bb
parent7d360259404696834e2284cfd819f4b390b751d9
fuse: add helper for asynchronous writes

This patch adds a new helper function fuse_write_fill() which makes it
possible to send WRITE requests asynchronously.

A new flag for WRITE requests is also added which indicates that this a write
from the page cache, and not a "normal" file write.

This patch is in preparation for writable mmap support.

Signed-off-by: Miklos Szeredi <mszeredi@suse.cz>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
fs/fuse/file.c
fs/fuse/fuse_i.h
include/linux/fuse.h