Enospc cleanups and fixeS
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v2 Latest8 patches 19 repliesIn review
- v18 patches 8 repliesSuperseded
Changes in v2 from the cover letter
- addressed comments from reviewers.
- fixed a bug in patch 6 that was introduced because of changes to upstream.
Patches in v2 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/8 | btrfs: check if free bgs for commitfs/ | +20 | 0 replies | |
| 2/8 | btrfs: dump block_rsv whe dumping space infofs/ | +15 | 0 replies | |
| 3/8 | btrfs: don't use global rsv for chunk allocationfs/ | +0 | 1 reply | |
| 4/8 | btrfs: add ALLOC_CHUNK_FORCE to the flushing codefs/ fs/ include/ | +20 | 4 replies | |
| 5/8 | btrfs: don't enospc all tickets on flush failurefs/ | +25 | 1 reply | |
| 6/8 | btrfs: loop in inode_rsv_refillfs/ | +43 | 3 replies | |
| 7/8 | btrfs: be more explicit about allowed flush statesfs/ | +10 | 2 replies | |
| 8/8 | btrfs: reserve extra space during evict()fs/ | +23 | 1 reply |
Reviews trailers per patch
6 of 8 patches have a Reviewed-by or Acked-by.
| Patch | Omar Sandoval | Nikolay Borisov | David Sterba |
|---|---|---|---|
| 1/8 | R-b | R-b | |
| 2/8 | R-b | R-b | |
| 3/8 | R-b | ||
| 4/8 | R-b | ||
| 5/8 | R-b | ||
| 6/8 | |||
| 7/8 | R-b | R-b | |
| 8/8 |
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/8][V2] Enospc cleanups and fixeS
v1->v2:
- addressed comments from reviewers.
- fixed a bug in patch 6 that was introduced because of changes to upstream.
-- Original message --
The delayed refs rsv patches exposed a bunch of issues in our enospc infrastructure that needed to be addressed. These aren't really one coherent group, but they are all around flushing and reservations. may_commit_transaction() needed to be updated a little bit, and we needed to add a new state to force chunk allocation if things got dicey. Also because we can end up needed to reserve a whole bunch of extra space for outstanding delayed refs we needed to add the ability to only ENOSPC tickets that were too big to satisfy, instead of failing all of the tickets. There's also a fix in here for one of the corner cases where we didn't quite have enough space reserved for the delayed refs we were generating during evict(). Thanks,
Josef