Skip to content

Commit

Permalink
bdi: remove enum wb_congested_state
Browse files Browse the repository at this point in the history
enum wb_congested_state and the member 'congested' in bdi_writeback are
useless since commit a88f209 ("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>
  • Loading branch information
Xiu Jianfeng authored and akpm committed Jul 27, 2022
1 parent 7c96d0a commit 65d24c6
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions include/linux/backing-dev-defs.h
Original file line number Diff line number Diff line change
Expand Up @@ -28,11 +28,6 @@ enum wb_state {
WB_start_all, /* nr_pages == 0 (all) work pending */
};

enum wb_congested_state {
WB_async_congested, /* The async (write) queue is getting full */
WB_sync_congested, /* The sync queue is getting full */
};

enum wb_stat_item {
WB_RECLAIMABLE,
WB_WRITEBACK,
Expand Down Expand Up @@ -122,8 +117,6 @@ struct bdi_writeback {
atomic_t writeback_inodes; /* number of inodes under writeback */
struct percpu_counter stat[NR_WB_STAT_ITEMS];

unsigned long congested; /* WB_[a]sync_congested flags */

unsigned long bw_time_stamp; /* last time write bw is updated */
unsigned long dirtied_stamp;
unsigned long written_stamp; /* pages written at bw_time_stamp */
Expand Down

0 comments on commit 65d24c6

Please sign in to comment.