Re: [PATCH 1/2] btrfs: add "rescue=usebackuproot" into forced read-only options

"Dongjiang Zhu" <[email protected]>
Newsgroups org.kernel.vger.linux-btrfs
Message-ID <[email protected]>
在 2026/7/3 7:40, Qu Wenruo 写道:
> According to btrfs(5) man page, all rescue options should require an
> read-only mount.
>
> But that read-only check is only introduced for newer rescue options,
> not for the pre-existing "usebackuproot" one.
>
> Unify the behavior to match the document.
> [...]

Hi Qu,

Just a small note from looking at this together with my CLEAR_CACHE patch.

If rescue=usebackuproot requires a read-only mount, my patch to set
CLEAR_CACHE for it may no longer be needed.

Also, should rescue=all include usebackuproot too?

Thanks,
Dongjiang
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.