From 67786272eaed79f3803847f6bca573cea4be16a9 Mon Sep 17 00:00:00 2001 From: David Sterba Date: Tue, 6 Sep 2016 19:06:42 +0200 Subject: [PATCH] btrfs-progs: docs: update flushoncommit default value Signed-off-by: David Sterba --- Documentation/btrfs-man5.asciidoc | 15 +++++++++------ 1 file changed, 9 insertions(+), 6 deletions(-) diff --git a/Documentation/btrfs-man5.asciidoc b/Documentation/btrfs-man5.asciidoc index a1f364e..caa9390 100644 --- a/Documentation/btrfs-man5.asciidoc +++ b/Documentation/btrfs-man5.asciidoc @@ -214,15 +214,18 @@ parameters, eg. 'panic', 'oops' or 'crashkernel'. *flushoncommit*:: *noflushoncommit*:: -(default: on) +(default: off) + This option forces any data dirtied by a write in a prior transaction to commit -as part of the current commit. This makes the committed state a fully -consistent view of the file system from the application's perspective (i.e., it -includes all completed file system operations). This was previously the -behavior only when a snapshot was created. +as part of the current commit, effectively a full filesystem sync. ++ +This makes the committed state a fully consistent view of the file system from +the application's perspective (i.e., it includes all completed file system +operations). This was previously the behavior only when a snapshot was +created. + -Disabling flushing may improve performance but is not crash-safe. +When off, the filesystem is consistent but buffered writes may last more than +one transaction commit. *fragment='type'*:: (depends on compile-time option BTRFS_DEBUG, since: 4.4, default: off) -- 2.7.4