clean up how we mark block groups read only
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v3 Latest5 patches 7 repliesIn review
- v21 patch 0 repliesSuperseded
- v11 patch 2 repliesSuperseded
Patches in v3 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/5 | btrfs: check rw_devices, not num_devices for restripingfs/ | +8 | 5 replies | |
| 2/5 | btrfs: don't pass system_chunk into can_overcommitfs/ | +15 | 1 reply | |
| 3/5 | btrfs: kill min_allocable_bytes in inc_block_group_rofs/ | +4 | 0 replies | |
| 4/5 | btrfs: fix force usage in inc_block_group_rofs/ | +8 | 1 reply | |
| 5/5 | btrfs: use btrfs_can_overcommit in inc_block_group_rofs/ fs/ fs/ | +37 | 0 replies |
Reviews trailers per patch
All 5 patches have a Reviewed-by or Acked-by.
| Patch | Nikolay Borisov | Qu Wenruo | Johannes Thumshirn |
|---|---|---|---|
| 1/5 | R-b | ||
| 2/5 | R-b | R-b | R-b |
| 3/5 | R-b | ||
| 4/5 | R-b | R-b | |
| 5/5 | R-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 3 reviewers.
Cover letter [PATCH 0/5][v3] clean up how we mark block groups read only
Original message below.
-------------------------------
Qu has been looking into ENOSPC during relocation and noticed some weirdness with inc_block_group_ro. The problem is this code hasn't changed to keep up with the rest of the reservation system. It still assumes that the amount of space used will always be less than the total space for the space info, which hasn't been true for years since I introduced overcommitting. This logic is correct for DATA, but not for METADATA or SYSTEM.
The first few patches are just cleanups, and can probably be taken as is. The final patch is the real meat of the problem to address Qu's issues. This is an RFC because I'm elbow deep in another problem and haven't tested this beyond compile testing, but I think it'll work. Once I've gotten a chance to test it and Qu has tested it I'll update the list if it's good to go as is, or send a V2 with any changes. Thanks,
Josef