Skip to content

Commit

Permalink
fuse: Connection bit for enabling writeback
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Pavel Emelyanov authored and Miklos Szeredi committed Apr 2, 2014
1 parent a92adc8 commit d5cd66c
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions fs/fuse/fuse_i.h
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit d5cd66c

Please sign in to comment.