Rework eviction space flushing
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest5 patches 3 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/5 | btrfs: add a flush step for delayed iputsfs/ fs/ include/ | +6 | 0 replies | |
| 2/5 | btrfs: unify error handling for ticket flushingfs/ | +11 | 0 replies | |
| 3/5 | btrfs: factor out the ticket flush handlingfs/ | +42 | 0 replies | |
| 4/5 | btrfs: refactor priority_reclaim_metadata_spacefs/ | +11 | 1 reply | |
| 5/5 | btrfs: introduce an evict flushing statefs/ fs/ fs/ | +62 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH 0/5] Rework eviction space flushing
This is a set of patches to address how we do space flushing for inode evictions. Historically we've only been allowed to do a few things to reclaim space for inode evictions, mostly because we'd deadlock with iput. But we have delayed iputs in place to make sure we're always doing iput where it's completely safe to do an iput.
However we do run iputs for flushing, so we can't just do FLUSH_ALL, otherwise we could deadlock. Also we still want to prioritize evictions for space reclamation because we likely will free up space for other people to make reservations.
The first 4 patches are preparation patches, just refactoring so we can add this new flushing time for eviction. This allows us to clean up our current ad-hoc loop we have for reclaiming space for evictions and use the common helpers that everybody else uses. Thanks,
Josef