Re: [PATCH v2] btrfs: Introduce new mount option to disable tree log replay

2015-12-09 Thread Qu Wenruo
Chandan Rajendra wrote on 2015/12/08 15:36 +0530: On Tuesday 08 Dec 2015 14:10:33 Qu Wenruo wrote: 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

Re: [PATCH v2] btrfs: Introduce new mount option to disable tree log replay

2015-12-08 Thread Chandan Rajendra
On Tuesday 08 Dec 2015 14:10:33 Qu Wenruo wrote: > 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

Re: [PATCH v2] btrfs: Introduce new mount option to disable tree log replay

2015-12-08 Thread Austin S Hemmelgarn
On 2015-12-08 01:10, Qu Wenruo wrote: 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().

Re: [PATCH v2] btrfs: Introduce new mount option to disable tree log replay

2015-12-07 Thread Qu Wenruo
Roman Mamedov wrote on 2015/12/08 11:31 +0500: On Tue, 8 Dec 2015 14:10:33 +0800 Qu Wenruo wrote: Introduce a new mount option "nologreplay" to co-operate with "ro" mount option to get real readonly mount, like "norecovery" in ext* and xfs. Maybe name it

Re: [PATCH v2] btrfs: Introduce new mount option to disable tree log replay

2015-12-07 Thread Roman Mamedov
On Tue, 8 Dec 2015 14:10:33 +0800 Qu Wenruo wrote: > Introduce a new mount option "nologreplay" to co-operate with "ro" mount > option to get real readonly mount, like "norecovery" in ext* and xfs. Maybe name it "norecovery" too, for simplicity and consistency? The

[PATCH v2] btrfs: Introduce new mount option to disable tree log replay

2015-12-07 Thread Qu Wenruo
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