diff options
| author | Kent Overstreet <kent.overstreet@linux.dev> | 2024-12-28 19:59:55 -0500 |
|---|---|---|
| committer | Kent Overstreet <kent.overstreet@linux.dev> | 2025-03-14 21:02:12 -0400 |
| commit | f269ae55d2de9c6aff5b289cd94c8eaab7b9b2c3 (patch) | |
| tree | 571fcd20b005ef3b2be71a37a235b3ef5643dd09 /tools/perf/scripts/python/flamegraph.py | |
| parent | 3e2ad29865f279f7e9837e4eeb8518509e97333f (diff) | |
| download | linux-f269ae55d2de9c6aff5b289cd94c8eaab7b9b2c3.tar.gz linux-f269ae55d2de9c6aff5b289cd94c8eaab7b9b2c3.zip | |
bcachefs: Scrub
Add a new data op to walk all data and metadata in a filesystem,
checking if it can be read successfully, and on error repairing from
another copy if possible.
- New helper: bch2_dev_idx_is_online(), so that we can bail out and
report to userspace when we're unable to scrub because the device is
offline
- data_update_opts, which controls the data move path, now understands
scrub: data is only read, not written. The read path is responsible
for rewriting on read error, as with other reads.
- scrub_pred skips data extents that don't have checksums
- bch_ioctl_data has a new scrub member, which has a data_types field
for data types to check - i.e. all data types, or only metadata.
- Add new entries to bch_move_stats so that we can report numbers for
corrected and uncorrected errors
- Add a new enum to bch_ioctl_data_event for explicitly reporting
completion and return code (i.e. device offline)
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
Diffstat (limited to 'tools/perf/scripts/python/flamegraph.py')
0 files changed, 0 insertions, 0 deletions
