Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

bdi: remove enum wb_congested_state

enum wb_congested_state and the member 'congested' in bdi_writeback are
useless since commit a88f2096d5a2 ("remove congestion tracking
framework"), so remove it.

Link: https://lkml.kernel.org/r/20220719083349.87547-1-xiujianfeng@huawei.com
Signed-off-by: Xiu Jianfeng <xiujianfeng@huawei.com>
Reviewed-by: Jan Kara <jack@suse.cz>
Cc: NeilBrown <neilb@suse.de>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>

authored by

Xiu Jianfeng and committed by
akpm
fa7d574b 591c32bd

-7
-7
include/linux/backing-dev-defs.h
··· 28 28 WB_start_all, /* nr_pages == 0 (all) work pending */ 29 29 }; 30 30 31 - enum wb_congested_state { 32 - WB_async_congested, /* The async (write) queue is getting full */ 33 - WB_sync_congested, /* The sync queue is getting full */ 34 - }; 35 - 36 31 enum wb_stat_item { 37 32 WB_RECLAIMABLE, 38 33 WB_WRITEBACK, ··· 116 121 117 122 atomic_t writeback_inodes; /* number of inodes under writeback */ 118 123 struct percpu_counter stat[NR_WB_STAT_ITEMS]; 119 - 120 - unsigned long congested; /* WB_[a]sync_congested flags */ 121 124 122 125 unsigned long bw_time_stamp; /* last time write bw is updated */ 123 126 unsigned long dirtied_stamp;