]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
block: Move a misplaced comment in queue_wb_lat_store()
authorBart Van Assche <bvanassche@acm.org>
Mon, 25 Aug 2025 15:14:24 +0000 (08:14 -0700)
committerJens Axboe <axboe@kernel.dk>
Mon, 25 Aug 2025 20:43:29 +0000 (14:43 -0600)
commitf5d10e6915d80f7f4c4ed445a8b8ba4a5ee79318
tree9fe0fb0244f8b29593bac2f0141c3f2245043543
parent94ce55046c3625380afd2a612237619c11dae6ad
block: Move a misplaced comment in queue_wb_lat_store()

blk_mq_quiesce_queue() does not wait for pending I/O to finish. Freezing
a queue waits for pending I/O to finish. Hence move the comment that
refers to waiting for pending I/O above the call that freezes the
request queue. This patch moves this comment back to the position where
it was when this comment was introduced. See also commit c125311d96b1
("blk-wbt: don't maintain inflight counts if disabled").

Cc: Christoph Hellwig <hch@lst.de>
Cc: Nilay Shroff <nilay@linux.ibm.com>
Signed-off-by: Bart Van Assche <bvanassche@acm.org>
Reviewed-by: Martin K. Petersen <martin.petersen@oracle.com>
Link: https://lore.kernel.org/r/20250825151424.1653910-1-bvanassche@acm.org
Signed-off-by: Jens Axboe <axboe@kernel.dk>
block/blk-sysfs.c