summaryrefslogtreecommitdiff
path: root/fs/btrfs/transaction.c
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2022-06-21 10:49:44 +0300
committerDavid Sterba <dsterba@suse.com>2022-07-25 18:45:37 +0300
commitf3e90c1ca93d18d03188ea2c2ca9c2ccc7ffad04 (patch)
tree6108a181b3629aa782d021f3b517e525207d85da /fs/btrfs/transaction.c
parent9555e1f1887f4ac2c106f2ea8b8b7f4c93a91b9b (diff)
downloadlinux-f3e90c1ca93d18d03188ea2c2ca9c2ccc7ffad04.tar.xz
btrfs: remove extent writepage address space operation
Same as in commit 21b4ee7029c9 ("xfs: drop ->writepage completely"): we can remove the callback as it's only used in one place - single page writeback from memory reclaim and is not called for cgroup writeback at all. We only allow such writeback from kswapd, not from direct memory reclaim, and so it is rarely used. When it comes from kswapd, it is effectively random dirty page shoot-down, which is horrible for IO patterns. We can rely on background writeback to clean all dirty pages in an efficient way and not let it be interrupted by kswapd. Suggested-by: Johannes Weiner <hannes@cmpxchg.org> Signed-off-by: Christoph Hellwig <hch@lst.de> Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'fs/btrfs/transaction.c')
0 files changed, 0 insertions, 0 deletions