xfs: various fixes
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest4 patches 8 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/4 | xfs: Don't wrap growfs AGFL indexesfs/ | +2 | 5 replies | |
| 2/4 | xfs: allocate log vector buffers outside CIL context lockfs/ fs/ fs/ +4 more | +202 | 1 reply | |
| 3/4 | xfs: byte range buffer dirty region trackingfs/ fs/ fs/ | +244 | 0 replies | |
| 4/4 | xfs: reduce lock hold times in buffer writebackfs/ | +35 | 2 replies |
Reviews trailers per patch
2 of 4 patches have a Reviewed-by or Acked-by.
| Patch | Carlos Maiolino | Christoph Hellwig |
|---|---|---|
| 1/4 | R-b | |
| 2/4 | ||
| 3/4 | ||
| 4/4 | R-b | R-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH 0/4] xfs: various fixes
Hi folks,
The following series of patches are all standalone fixes for various issues that have been reported by users. The first AGFL fix is a recent regression, which the other three address long standing issues.
The second patch addresses the issue of memory allocation occurring under the CIL lock and memory reclaim requiring the CIL lock to be taken, resulting in deadlocks in extreme low memory conditions. This version has minor changes around the way the shadow buffer is allocated and initialised, but is otherwise mostly unchanged from previous RFC postings.
The third patch addresses the excessive CPU overhead of bitmap based dirty buffer range tracking on large block sizes. It keeps a small number of ranges per buffer, and extends and merges them as appropriate. This completely removes the bitmap overhead from the buffer item formatting path. This main change in this patch from previous RFC postings is that it uses multiple ranges for tracking rather than a single range. I decided on 4 discrete ranges as the best tradeoff between efficiency and log space requirements.
THe last patch addresses a buffer hold-off when there is lots of dirty metadata beign written back from the AIL. If a buffer at the tail of the log is at a very high offset in the filesytem (e.g. AGF header in the last AG), it could be locked for a long time while we wait for IO to lower offsets to be dispatched. IO dispatch gets blocked by device congestion, so in the worst case lock hold-offs measured in seconds have been recorded. This change sorts the buffer list into offset order before we lock any buffers, and then dispatches IO as each buffer is successfully locked. This limits lock holds to the length of time a buffer sits on the plug plus the IO time, which is usually very short. This means frequently used buffers can be locked and relogged while we wait for IO dispatch rather than blocking attempts to access the buffer.
Comments, thoughts, etc all welcome.
Cheers,
Dave.
_______________________________________________
xfs mailing list
[email protected]
http://oss.sgi.com/mailman/listinfo/xfs