Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit bfd279a8 authored by Hou Tao's avatar Hou Tao Committed by Jens Axboe
Browse files

blkcg: kill unused field nr_undestroyed_grps



'nr_undestroyed_grps' in struct throtl_data was used to count
the number of throtl_grp related with throtl_data, but now
throtl_grp is tracked by blkcg_gq, so it is useless anymore.

Signed-off-by: default avatarHou Tao <houtao1@huawei.com>
Signed-off-by: default avatarJens Axboe <axboe@fb.com>
parent dc5ff2b1
Loading
Loading
Loading
Loading
+0 −5
Original line number Diff line number Diff line
@@ -145,11 +145,6 @@ struct throtl_data
	/* Total Number of queued bios on READ and WRITE lists */
	unsigned int nr_queued[2];

	/*
	 * number of total undestroyed groups
	 */
	unsigned int nr_undestroyed_grps;

	/* Work for dispatching throttled bios */
	struct work_struct dispatch_work;
};