]> git.baikalelectronics.ru Git - kernel.git/commit
btrfs: Introduce new mount option to disable tree log replay
authorQu Wenruo <quwenruo@cn.fujitsu.com>
Tue, 19 Jan 2016 02:23:03 +0000 (10:23 +0800)
committerDavid Sterba <dsterba@suse.com>
Fri, 12 Feb 2016 14:14:49 +0000 (15:14 +0100)
commit5788ef84073c9ab1f715a7cb7eb5855426662af7
tree7b9e18344074d9bf9c1d71fd6fb0670922937283
parentc94913551b5b93db59fb439e02e7993a53224c37
btrfs: Introduce new mount option to disable tree log replay

Introduce a new mount option "nologreplay" to co-operate with "ro" mount
option to get real readonly mount, like "norecovery" in ext* and xfs.

Since the new parse_options() need to check new flags at remount time,
so add a new parameter for parse_options().

Signed-off-by: Qu Wenruo <quwenruo@cn.fujitsu.com>
Reviewed-by: Chandan Rajendra <chandan@linux.vnet.ibm.com>
Tested-by: Austin S. Hemmelgarn <ahferroin7@gmail.com>
Signed-off-by: David Sterba <dsterba@suse.com>
Documentation/filesystems/btrfs.txt
fs/btrfs/ctree.h
fs/btrfs/disk-io.c
fs/btrfs/super.c