Skip to contentSkip to conversation

bdi-remove-enum-wb_congested_state.patch removed from -mm tree

merged mm-nonmm-stable Andrew Morton 1 participant 1 message Jul 30, 2022

lore
Share & tools
lore

Andrew Morton

author tree notice Applied
#0 lore raw

The quilt patch titled
Subject: bdi: remove enum wb_congested_state
has been removed from the -mm tree. Its filename was
bdi-remove-enum-wb_congested_state.patch

This patch was dropped because it was merged into the mm-nonmm-stable branch of git://git.kernel.org/pub/scm/linux/kernel/git/akpm/mm

------------------------------------------------------
From: Xiu Jianfeng <[email protected]>
Subject: bdi: remove enum wb_congested_state
Date: Tue, 19 Jul 2022 16:33:49 +0800

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

---

 include/linux/backing-dev-defs.h |    7 -------
 1 file changed, 7 deletions(-)
include/linux/backing-dev-defs.h renamed from include/linux/backing-dev-defs.h~bdi-remove-enum-wb_congested_state +0 -7
@@ -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,
@@ -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 */

_

Patches currently in -mm which might be from [email protected] are