Skip to content

Commit bfd279a

Browse files
Hou Taoaxboe
authored andcommitted
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: Hou Tao <[email protected]> Signed-off-by: Jens Axboe <[email protected]>
1 parent dc5ff2b commit bfd279a

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

block/blk-throttle.c

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -145,11 +145,6 @@ struct throtl_data
145145
/* Total Number of queued bios on READ and WRITE lists */
146146
unsigned int nr_queued[2];
147147

148-
/*
149-
* number of total undestroyed groups
150-
*/
151-
unsigned int nr_undestroyed_grps;
152-
153148
/* Work for dispatching throttled bios */
154149
struct work_struct dispatch_work;
155150
};

0 commit comments

Comments
 (0)