]> www.infradead.org Git - users/jedix/linux-maple.git/commit
blk-mq: add missing unplug trace event
authorKeith Busch <kbusch@kernel.org>
Fri, 6 Sep 2024 19:45:40 +0000 (12:45 -0700)
committerJens Axboe <axboe@kernel.dk>
Sat, 7 Sep 2024 13:41:12 +0000 (07:41 -0600)
commitacc8c0a9887558966295e3c0881e633154c239a9
treef02426d1690d20263391b26ff3391802605c685e
parenta02e98bebc15f1d973c2a62005be9456a657e2b6
blk-mq: add missing unplug trace event

The single-queue optimized list flush doesn't have an unplug trace event
to pair with the plug event. Add one.

In the unlikely event an error occurs and falls back to the less
optimized plug flush path, it's possible a 2nd unplug trace event will
be logged, but it will show the remainig count that weren't previously
handled.

Signed-off-by: Keith Busch <kbusch@kernel.org>
Link: https://lore.kernel.org/r/20240906194540.3719642-1-kbusch@meta.com
Signed-off-by: Jens Axboe <axboe@kernel.dk>
block/blk-mq.c