btrfs: some fixes around unused block deletion
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest5 patches 9 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/5 | btrfs: add and use helper to check if block group is usedfs/ fs/ | +8 | 0 replies | |
| 2/5 | btrfs: do not delete unused block group if it may be used soonfs/ | +46 | 0 replies | |
| 3/5 | btrfs: add new unused block groups to the list of unused block groupsfs/ | +31 | 0 replies | |
| 4/5 | btrfs: document what the spinlock unused_bgs_lock protectsfs/ | +3 | 0 replies | |
| 5/5 | btrfs: add comment about list_is_singular() use at btrfs_delete_unused_bgs()fs/ | +7 | 0 replies |
Reviews trailers per patch
None of the 5 patches has a Reviewed-by or Acked-by of their own; the series has one for all of them.
| Patch | Johannes Thumshirn | Josef Bacik | Boris Burkov |
|---|---|---|---|
| Series | R-b | R-b | R-b |
| 1/5 | |||
| 2/5 | |||
| 3/5 | |||
| 4/5 | |||
| 5/5 |
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] btrfs: some fixes around unused block deletion
From: Filipe Manana <[email protected]>
These fix a couple issues regarding block group deletion, either deleting an unused block group when it shouldn't be deleted due to outstanding reservations relying on the block group, or unused block groups never getting deleted since they were created due to pessimistic space reservation and ended up never being used. More details on the change logs of each patch.
Filipe Manana (5):
btrfs: add and use helper to check if block group is used
btrfs: do not delete unused block group if it may be used soon
btrfs: add new unused block groups to the list of unused block groups
btrfs: document what the spinlock unused_bgs_lock protects
btrfs: add comment about list_is_singular() use at btrfs_delete_unused_bgs()
fs/btrfs/block-group.c | 87 +++++++++++++++++++++++++++++++++++++++++- fs/btrfs/block-group.h | 7 ++++ fs/btrfs/fs.h | 3 ++ 3 files changed, 95 insertions(+), 2 deletions(-)
Signature · 1 line
2.40.1