Linux NILFS development
 help / color / mirror / Atom feed
* [PATCH 0/2] Remove some 'congested' tests
@ 2021-12-13  4:14 NeilBrown
  2021-12-13  4:14 ` [PATCH 1/2] Remove inode_congested() NeilBrown
       [not found] ` <163936868317.23860.5037433897004720387.stgit-KMjKAoDPBoBHWa5fdsenEw@public.gmane.org>
  0 siblings, 2 replies; 7+ messages in thread
From: NeilBrown @ 2021-12-13  4:14 UTC (permalink / raw)
  To: Andrew Morton, Mel Gorman, Philipp Reisner, Lars Ellenberg,
	Jan Kara, Ryusuke Konishi, Darrick J. Wong
  Cc: linux-xfs, linux-ext4, linux-nilfs, linux-mm, linux-fsdevel,
	linux-kernel

The framework for reporting congestion for "bdi"s is no longer widely
used.  bdis for block devices don't report congestion at all.
bdis for nfs, ceph, and fuse do, but any code which depends on that
is not going to work for most filesystems.

So we should remove it.

These two patches remove {inode,bdi,wb}_congested() and related
functions, and change all call site to assume the result was "false",
which it (almost) always is.

NeilBrown
---

NeilBrown (2):
      Remove inode_congested()
      Remove bdi_congested() and wb_congested() and related functions


 drivers/block/drbd/drbd_int.h |  3 ---
 drivers/block/drbd/drbd_req.c |  3 +--
 fs/ext2/ialloc.c              |  2 --
 fs/nilfs2/segbuf.c            | 11 -----------
 fs/xfs/xfs_buf.c              |  3 ---
 include/linux/backing-dev.h   | 26 --------------------------
 mm/vmscan.c                   |  4 +---
 7 files changed, 2 insertions(+), 50 deletions(-)

--
Signature


^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2021-12-13  7:04 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-12-13  4:14 [PATCH 0/2] Remove some 'congested' tests NeilBrown
2021-12-13  4:14 ` [PATCH 1/2] Remove inode_congested() NeilBrown
     [not found]   ` <163936886725.23860.2403757518009677424.stgit-KMjKAoDPBoBHWa5fdsenEw@public.gmane.org>
2021-12-13  4:22     ` Matthew Wilcox
     [not found]       ` <YbbKjjFzIzSBJWCn-FZi0V3Vbi30CUdFEqe4BF2D2FQJk+8+b@public.gmane.org>
2021-12-13  4:59         ` NeilBrown
     [not found] ` <163936868317.23860.5037433897004720387.stgit-KMjKAoDPBoBHWa5fdsenEw@public.gmane.org>
2021-12-13  4:14   ` [PATCH 2/2] Remove bdi_congested() and wb_congested() and related functions NeilBrown
2021-12-13  5:07     ` Dave Chinner
2021-12-13  7:04       ` NeilBrown

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox