writeback: tracing and fixes
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest6 patches 17 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/6 | writeback: initial tracing supportfs/ include/ mm/ | +204 | 6 replies | |
| 2/6 | writeback: Add tracing to balance_dirty_pagesfs/ include/ mm/ | +89 | 1 reply | |
| 3/6 | ext4: Use our own write_cache_pages()fs/ include/ | +120 | 2 replies | |
| 4/6 | writeback: pay attention to wbc->nr_to_write in write_cache_pagesinclude/ include/ mm/ | +7 | 3 replies | |
| 5/6 | xfs: remove nr_to_write writeback windup.fs/ | +0 | 1 reply | |
| 6/6 | writeback: limit write_cache_pages integrity scanning to current EOFmm/ | +15 | 4 replies |
Reviews trailers per patch
3 of 6 patches have a Reviewed-by or Acked-by.
| Patch | Christoph Hellwig |
|---|---|
| 1/6 | R-b |
| 2/6 | R-b |
| 3/6 | |
| 4/6 | |
| 5/6 | R-b |
| 6/6 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH 0/6] writeback: tracing and fixes
This series contains the initial writeback tracing patches from Jens, as well as the extensions I added to provide visibility into writeback control structures as the are used by the writeback code. The visibility given is sufficient to understand what is happening in the writeback path - what path is writing data, what path is blocking on congestion, etc, and to determine the differences in behaviour for different sync modes and calling contexts. This tracing really needs to be integrated into mainline so that anyone can improve the tracing as they use it to track down problems in our convoluted writeback paths.
The remaining patches are fixes to problems that the new tracing highlighted.
Version 2:
- included ext4 write_cache_pages separation patch from Ted Ts'o.
- moved CREATE_TRACE_POINTS into fs-writeback.c as suggested by Christoph Hellwig.
- moved include of trace/events/writeback.h until after structure definitions in fs-writeback.c
- manually revert changes made to write_cache_pages() in 17bc6c30cf6bfffd816bdc53682dd46fc34a2cf4 that caused the regression. This restores the convention that if the fs writes back more than a single page, it subtracts (nr_written - 1) from wbc->nr_to_write, as suggested by Andrew Morton.
- added patch to prevent sync from looping in write_cache_pages chasing a moving tail when an appending write workload is running concurrently with sync.
_______________________________________________
xfs mailing list
[email protected]
http://oss.sgi.com/mailman/listinfo/xfs