diff options
| author | Qu Wenruo <[email protected]> | 2020-06-04 15:18:06 +0800 |
|---|---|---|
| committer | David Sterba <[email protected]> | 2020-07-27 12:55:22 +0200 |
| commit | 74ef00185eb864252156022ff129b01549504175 (patch) | |
| tree | d4ab5d5e6afbd2d89d735c197934d3ea44730828 /tools/perf/scripts/python/flamegraph.py | |
| parent | a89ef455dd2b59f476bdda4786cca54ed03cad14 (diff) | |
btrfs: introduce "rescue=" mount option
This patch introduces a new "rescue=" mount option group for all mount
options for data recovery.
Different rescue sub options are seperated by ':'. E.g
"ro,rescue=nologreplay:usebackuproot".
The original plan was to use ';', but ';' needs to be escaped/quoted,
or it will be interpreted by bash, similar to '|'.
And obviously, user can specify rescue options one by one like:
"ro,rescue=nologreplay,rescue=usebackuproot".
The following mount options are converted to "rescue=", old mount
options are deprecated but still available for compatibility purpose:
- usebackuproot
Now it's "rescue=usebackuproot"
- nologreplay
Now it's "rescue=nologreplay"
Signed-off-by: Qu Wenruo <[email protected]>
Reviewed-by: David Sterba <[email protected]>
Signed-off-by: David Sterba <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/flamegraph.py')
0 files changed, 0 insertions, 0 deletions