Home
last modified time | relevance | path

Searched hist:d4347d50 (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/block/
H A Dbio.cd4347d50 Tue Oct 18 14:50:55 CDT 2022 Pavel Begunkov <asml.silence@gmail.com> bio: safeguard REQ_ALLOC_CACHE bio put

bio_put() with REQ_ALLOC_CACHE assumes that it's executed not from
an irq context. Let's add a warning if the invariant is not respected,
especially since there is a couple of places removing REQ_POLLED by hand
without also clearing REQ_ALLOC_CACHE.

Signed-off-by: Pavel Begunkov <asml.silence@gmail.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Link: https://lore.kernel.org/r/558d78313476c4e9c233902efa0092644c3d420a.1666122465.git.asml.silence@gmail.com
Signed-off-by: Jens Axboe <axboe@kernel.dk>