blk-mq: defer to the normal submission path for post-flush requests
authorChristoph Hellwig <hch@lst.de>
Fri, 19 May 2023 04:40:48 +0000 (06:40 +0200)
committerJens Axboe <axboe@kernel.dk>
Sat, 20 May 2023 01:52:29 +0000 (19:52 -0600)
commit615939a2ae734e3e68c816d6749d1f5f79c62ab7
tree9071830638e153f97f940d75d45c7d85862bf14e
parentbe4c427809b0a746aff54dbb8ef663f0184291d0
blk-mq: defer to the normal submission path for post-flush requests

Requests with the FUA bit on hardware without FUA support need a post
flush before returning to the caller, but they can still be sent using
the normal I/O path after initializing the flush-related fields and
end I/O handler.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Bart Van Assche <bvanassche@acm.org>
Link: https://lore.kernel.org/r/20230519044050.107790-6-hch@lst.de
Signed-off-by: Jens Axboe <axboe@kernel.dk>
block/blk-flush.c