Skip to content

Commit bccdfcd

Browse files
Tang Yizhouaxboe
authored andcommitted
blk-wbt: Eliminate ambiguity in the comments of struct rq_wb
In the current implementation, the last_issue and last_comp members of struct rq_wb are used only by read requests and not by non-throttled write requests. Therefore, eliminate the ambiguity here. Signed-off-by: Tang Yizhou <[email protected]> Reviewed-by: Jan Kara <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Jens Axboe <[email protected]>
1 parent d8b96a7 commit bccdfcd

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

block/blk-wbt.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -85,8 +85,8 @@ struct rq_wb {
8585
u64 sync_issue;
8686
void *sync_cookie;
8787

88-
unsigned long last_issue; /* last non-throttled issue */
89-
unsigned long last_comp; /* last non-throttled comp */
88+
unsigned long last_issue; /* issue time of last read rq */
89+
unsigned long last_comp; /* completion time of last read rq */
9090
unsigned long min_lat_nsec;
9191
struct rq_qos rqos;
9292
struct rq_wait rq_wait[WBT_NUM_RWQ];

0 commit comments

Comments
 (0)