]> www.infradead.org Git - users/hch/block.git/commit
block: add a bdev_fua helper
authorChristoph Hellwig <hch@lst.de>
Tue, 15 Feb 2022 09:33:53 +0000 (10:33 +0100)
committerChristoph Hellwig <hch@lst.de>
Sun, 10 Apr 2022 06:26:10 +0000 (08:26 +0200)
commit8b94e74df158c3ff486566efc92489bce13c668f
tree519f465673f1853e5d802d118aab022bafe2a8a0
parent70bed0d5447e08702c7595d26c88ca37e8eb88b4
block: add a bdev_fua helper

Add a helper to check the FUA flag based on the block_device instead of
having to poke into the block layer internal request_queue.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/block/rnbd/rnbd-srv.c
drivers/target/target_core_iblock.c
fs/iomap/direct-io.c
include/linux/blkdev.h