aboutsummaryrefslogtreecommitdiffstats
path: root/fs/fuse
diff options
context:
space:
mode:
authorPavel Emelyanov <xemul@openvz.org>2013-10-10 09:10:30 -0400
committerMiklos Szeredi <mszeredi@suse.cz>2014-04-02 09:38:48 -0400
commitd5cd66c58edf10a7ee786659994595fd43995aab (patch)
treee8119a3e079f726f96d535772cf643148c82808e /fs/fuse
parenta92adc824ed5feaa2d4f7029f21170f574987aee (diff)
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')
-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 {
480 /** Set if bdi is valid */ 480 /** Set if bdi is valid */
481 unsigned bdi_initialized:1; 481 unsigned bdi_initialized:1;
482 482
483 /** write-back cache policy (default is write-through) */
484 unsigned writeback_cache:1;
485
483 /* 486 /*
484 * The following bitfields are only for optimization purposes 487 * The following bitfields are only for optimization purposes
485 * and hence races in setting them will not cause malfunction 488 * and hence races in setting them will not cause malfunction