summaryrefslogtreecommitdiffstats
path: root/fs/fuse/fuse_i.h
diff options
context:
space:
mode:
authorPavel Emelyanov2013-10-10 15:10:30 +0200
committerMiklos Szeredi2014-04-02 15:38:48 +0200
commitd5cd66c58edf10a7ee786659994595fd43995aab (patch)
treee8119a3e079f726f96d535772cf643148c82808e /fs/fuse/fuse_i.h
parentfuse: Prepare to handle short reads (diff)
downloadkernel-qcow2-linux-d5cd66c58edf10a7ee786659994595fd43995aab.tar.gz
kernel-qcow2-linux-d5cd66c58edf10a7ee786659994595fd43995aab.tar.xz
kernel-qcow2-linux-d5cd66c58edf10a7ee786659994595fd43995aab.zip
fuse: Connection bit for enabling writeback
Off (0) by default. Will be used in the next patches and will be turned on at the very end. Signed-off-by: Maxim Patlasov <MPatlasov@parallels.com> Signed-off-by: Pavel Emelyanov <xemul@openvz.org> Signed-off-by: Miklos Szeredi <mszeredi@suse.cz>
Diffstat (limited to 'fs/fuse/fuse_i.h')
-rw-r--r--fs/fuse/fuse_i.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/fs/fuse/fuse_i.h b/fs/fuse/fuse_i.h
index 2da5db2c8bdb..374a8be014fd 100644
--- a/fs/fuse/fuse_i.h
+++ b/fs/fuse/fuse_i.h
@@ -480,6 +480,9 @@ struct fuse_conn {
/** Set if bdi is valid */
unsigned bdi_initialized:1;
+ /** write-back cache policy (default is write-through) */
+ unsigned writeback_cache:1;
+
/*
* The following bitfields are only for optimization purposes
* and hence races in setting them will not cause malfunction