xfs: don't drain buffer lru on freeze
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest2 patches 5 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | xfs: rename xfs_wait_buftarg() to xfs_buftarg_drain()fs/ fs/ fs/ +2 more | +17 | 2 replies | |
| 2/2 | xfs: don't drain buffer lru on freeze and read-only remountfs/ fs/ fs/ | +20 | 3 replies |
Reviews trailers per patch
All 2 patches have a Reviewed-by or Acked-by.
| Patch | Chandan Babu R | Darrick J. Wong |
|---|---|---|
| 1/2 | R-b | R-b |
| 2/2 | 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/2] xfs: don't drain buffer lru on freeze
Hi all,
This series tweaks the xfs_log_quiesce() codepath to lift out the explicit buffer target LRU draining and isolate it to the unmount path. It's unnecessary to reclaim all buffers on filesystem freeze or read-only remount, and this also causes such operations to stall if a read heavy workload is running in parallel.
Patch 1 is a simple rename and patch 2 implements the functional change. Thoughts, reviews, flames appreciated.
Brian
Brian Foster (2):
xfs: rename xfs_wait_buftarg() to xfs_buftarg_drain()
xfs: don't drain buffer lru on freeze and read-only remount
fs/xfs/xfs_buf.c | 30 ++++++++++++++++++++---------- fs/xfs/xfs_buf.h | 11 ++++++----- fs/xfs/xfs_log.c | 8 +++++--- fs/xfs/xfs_mount.c | 4 ++-- fs/xfs/xfs_trace.h | 2 +- 5 files changed, 34 insertions(+), 21 deletions(-)
Signature · 1 line
2.26.2