]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commit - fs/btrfs/super.c
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)
commit96da09192cda57a356467bd7c91a3641a2e78490
tree7b9e18344074d9bf9c1d71fd6fb0670922937283
parent8dcddfa048de637c8bbfa20ffd22757aeab7c604
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