From: Pavel Emelyanov Date: Thu, 10 Oct 2013 13:10:30 +0000 (+0400) Subject: fuse: Connection bit for enabling writeback X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=d5cd66c58edf10a7ee786659994595fd43995aab;p=GitHub%2Fmoto-9609%2Fandroid_kernel_motorola_exynos9610.git 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 Signed-off-by: Pavel Emelyanov Signed-off-by: Miklos Szeredi --- 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