btrfs: scrub: support low bwlimits
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest4 patches 5 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/4 | btrfs: scrub: release the commit root paths before pausingfs/ | +16 | 1 reply | |
| 2/4 | btrfs: scrub: cancellable pause during throttle sleepfs/ | +21 | 1 reply | |
| 3/4 | btrfs: scrub: handle bwlimit below 512KiBfs/ fs/ | +30 | 3 replies | |
| 4/4 | btrfs: scrub: size read bios to the bwlimit 10ms burstfs/ | +60 | 0 replies |
Reviews trailers per patch
2 of 4 patches have a Reviewed-by or Acked-by.
| Patch | Qu Wenruo |
|---|---|
| 1/4 | R-b |
| 2/4 | R-b |
| 3/4 | |
| 4/4 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH 0/4] btrfs: scrub: support low bwlimits
Scrub currently bottoms out at 512KiB/s bwlimit, and below that the logic doesn't make much sense. But if we support it naively, we ruin high speed scrubbing and add unacceptably long uninterruptible sleeps.
Therefore, to support arbitrarily slow scrubs, we must also spruce up some of the sleeping / pausing / cancelling logic.
Boris Burkov (4):
btrfs: scrub: release the commit root paths before pausing
btrfs: scrub: cancellable pause during throttle sleep
btrfs: scrub: handle bwlimit below 512KiB
btrfs: scrub: size read bios to the bwlimit 10ms burst
fs/btrfs/scrub.c | 192 +++++++++++++++++++++++++++++------------------ fs/btrfs/sysfs.c | 2 + 2 files changed, 121 insertions(+), 73 deletions(-)
Signature · 1 line
2.56.0