[Devel] [PATCH 03/11] fuse: Connection bit for enabling writeback

Maxim Patlasov MPatlasov at parallels.com
Thu Oct 10 06:10:30 PDT 2013


From: Pavel Emelyanov <xemul at openvz.org>

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 at parallels.com>
Signed-off-by: Pavel Emelyanov <xemul at openvz.org>
---
 fs/fuse/fuse_i.h |    3 +++
 1 file changed, 3 insertions(+)

diff --git a/fs/fuse/fuse_i.h b/fs/fuse/fuse_i.h
index a08b355..a490ba3 100644
--- a/fs/fuse/fuse_i.h
+++ b/fs/fuse/fuse_i.h
@@ -479,6 +479,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




More information about the Devel mailing list