block: kill deprecated BUG_ON() in the flush handling
authorJens Axboe <axboe@kernel.dk>
Wed, 28 Sep 2022 15:19:59 +0000 (09:19 -0600)
committerJens Axboe <axboe@kernel.dk>
Fri, 30 Sep 2022 13:48:00 +0000 (07:48 -0600)
commite73a625bc24880f1fe5abaa89bb63e0918fbd66c
tree95c4143f1744ff629599232d8e03abfaee538f0c
parent5853a7b5512c3017f64ca26494bd7361a12d6992
block: kill deprecated BUG_ON() in the flush handling

We've never had any useful reports from this BUG_ON(), and in fact a
number of the BUG_ON()'s in the flush handling need to be turned into
more graceful handling.

In preparation for allowing batched completions of the end_io handling,
where we can enter the flush completion with queuelist having been reused
for the batch, get rid of this BUG_ON().

Signed-off-by: Jens Axboe <axboe@kernel.dk>
block/blk-flush.c