aboutsummaryrefslogtreecommitdiffstats
path: root/fs/fuse/fuse_i.h
diff options
context:
space:
mode:
authorMiklos Szeredi <mszeredi@suse.cz>2007-10-18 06:07:03 -0400
committerLinus Torvalds <torvalds@woody.linux-foundation.org>2007-10-18 17:37:31 -0400
commitb25e82e5673c750116e8b01a4fc7d09be7809f8c (patch)
tree03d23ccbca6e87ba98efeba445ff714455dba0bb /fs/fuse/fuse_i.h
parent93a8c3cd9e9834dc5f5c373336f3a0065521152d (diff)
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>
Diffstat (limited to 'fs/fuse/fuse_i.h')
-rw-r--r--fs/fuse/fuse_i.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/fs/fuse/fuse_i.h b/fs/fuse/fuse_i.h
index 5657cca0d0cb..8b64a630e758 100644
--- a/fs/fuse/fuse_i.h
+++ b/fs/fuse/fuse_i.h
@@ -219,6 +219,10 @@ struct fuse_req {
219 struct fuse_init_in init_in; 219 struct fuse_init_in init_in;
220 struct fuse_init_out init_out; 220 struct fuse_init_out init_out;
221 struct fuse_read_in read_in; 221 struct fuse_read_in read_in;
222 struct {
223 struct fuse_write_in in;
224 struct fuse_write_out out;
225 } write;
222 struct fuse_lk_in lk_in; 226 struct fuse_lk_in lk_in;
223 } misc; 227 } misc;
224 228