fuse: Connection bit for enabling writeback
authorPavel Emelyanov <xemul@openvz.org>
Thu, 10 Oct 2013 13:10:30 +0000 (17:10 +0400)
committerMiklos Szeredi <mszeredi@suse.cz>
Wed, 2 Apr 2014 13:38:48 +0000 (15:38 +0200)
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>
fs/fuse/fuse_i.h

index 2da5db2..374a8be 100644 (file)
@@ -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