Re: [PATCH 4/4] writeback: remove bdi->congested_fn

From: David Sterba
Date: Wed Jul 01 2020 - 10:48:28 EST


On Wed, Jul 01, 2020 at 11:06:22AM +0200, Christoph Hellwig wrote:
> Except for pktdvd, the only places setting congested bits are file
> systems that allocate their own backing_dev_info structures. And
> pktdvd is a deprecated driver that isn't useful in stack setup
> either. So remove the dead congested_fn stacking infrastructure.
>
> Signed-off-by: Christoph Hellwig <hch@xxxxxx>
> ---
> drivers/block/drbd/drbd_main.c | 59 --------------------------------
> drivers/md/bcache/request.c | 43 -----------------------
> drivers/md/bcache/super.c | 1 -
> drivers/md/dm-cache-target.c | 19 ----------
> drivers/md/dm-clone-target.c | 15 --------
> drivers/md/dm-era-target.c | 15 --------
> drivers/md/dm-raid.c | 12 -------
> drivers/md/dm-table.c | 37 +-------------------
> drivers/md/dm-thin.c | 16 ---------
> drivers/md/dm.c | 33 ------------------
> drivers/md/dm.h | 1 -
> drivers/md/md-linear.c | 24 -------------
> drivers/md/md-multipath.c | 23 -------------
> drivers/md/md.c | 23 -------------
> drivers/md/md.h | 4 ---
> drivers/md/raid0.c | 16 ---------
> drivers/md/raid1.c | 31 -----------------
> drivers/md/raid10.c | 26 --------------
> drivers/md/raid5.c | 25 --------------

For the btrfs bits

> fs/btrfs/disk-io.c | 23 -------------

Acked-by: David Sterba <dsterba@xxxxxxxx>