Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 5dbf21bd authored by Pavel Emelyanov's avatar Pavel Emelyanov Committed by Gerrit - the friendly Code Review server
Browse files

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.

Change-Id: Icac47d3a3230fcc961dee94dd3c0c1830c79ac1a
Signed-off-by: default avatarMaxim Patlasov <MPatlasov@parallels.com>
Signed-off-by: default avatarPavel Emelyanov <xemul@openvz.org>
Signed-off-by: default avatarMiklos Szeredi <mszeredi@suse.cz>
Git-commit:  d5cd66c58edf10a7ee786659994595fd43995aab
Git-repo: git://git.kernel.org/pub/scm/linux/kernel/git/mszeredi/fuse.git


Signed-off-by: default avatarNikhilesh Reddy <reddyn@codeaurora.org>
parent 28fa51ae
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -478,6 +478,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