XFS: AIL cleanup and bug fixes
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest8 patches 11 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/8 | XFS: Allocate the struct xfs_ailfs/ fs/ fs/ +1 more | +77 | 1 reply | |
| 2/8 | XFS: Use a cursor for AIL traversal.fs/ fs/ fs/ +1 more | +180 | 2 replies | |
| 3/8 | XFS: move the AIl traversal over to a consistent interfacefs/ fs/ fs/ +2 more | +48 | 1 reply | |
| 4/8 | XFS: Allow 64 bit machines to avoid the AIL lock during flushesfs/ fs/ fs/ | +32 | 1 reply | |
| 5/8 | XFS: Move the AIL lock into the struct xfs_ailfs/ fs/ fs/ +9 more | +59 | 1 reply | |
| 6/8 | XFS: Given the log a pointer to the AILfs/ fs/ fs/ | +26 | 2 replies | |
| 7/8 | XFS: Add ail pointer into log itemsfs/ fs/ fs/ +3 more | +40 | 2 replies | |
| 8/8 | XFS: Finish removing the mount pointer from the AIL APIfs/ fs/ fs/ +11 more | +91 | 1 reply |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH 0/8] XFS: AIL cleanup and bug fixes
Clean up the AIL interfaces and the way it is referenced by external code by making the struct xfs_ail the primary method of accessing the AIL.
The main bug fix in this patch series is the second patch - it fixes the restart bug in traversals of the AIL. The method used is to track the next item in the list in a stack based cursor so we don't need to trust the current log item after we've dropped the AIL lock.
Because this changes the interface to the traversal code, it makes sense to clean up the entire AIL subsystem interface while I am there. The overall goal here is to make the struct xfs_ail the sole structure used to access the AIL - for inserts, deletes, traversals, locking, etc so that we don't need to reference the xfs_mount just to get to the AIL.
This also enables us to move the struct xfs_ail definition out of xfs_mount.h and reduce the visible scope of it to just the files that need to access members of the structure.