btrfs: Add "barrier" option to support "-o remount,barrier"
authorQu Wenruo <quwenruo@cn.fujitsu.com>
Mon, 6 Jan 2014 01:58:25 +0000 (09:58 +0800)
committerChris Mason <clm@fb.com>
Tue, 28 Jan 2014 21:20:16 +0000 (13:20 -0800)
commit842bef5891aaf13e2dede01d86397d810fde2dd8
tree33b072d33c9c2479cf78e0fdc31bb8be03985349
parente8117c26b24098496b6011aabe84e43e0189a506
btrfs: Add "barrier" option to support "-o remount,barrier"

Btrfs can be remounted without barrier, but there is no "barrier" option
so nobody can remount btrfs back with barrier on. Only umount and
mount again can re-enable barrier.(Quite awkward)

Also the mount options in the document is also changed slightly for the
further pairing options changes.

Reported-by: Daniel Blueman <daniel@quora.org>
Signed-off-by: Qu Wenruo <quwenruo@cn.fujitsu.com>
Signed-off-by: Mike Fleetwood <mike.fleetwood@googlemail.com>
Reviewed-by: David Sterba <dsterba@suse.cz>
Signed-off-by: Josef Bacik <jbacik@fb.com>
Signed-off-by: Chris Mason <clm@fb.com>
Documentation/filesystems/btrfs.txt
fs/btrfs/super.c