diff options
author | Christoph Hellwig <hch@lst.de> | 2022-04-15 07:52:44 +0300 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2022-04-18 04:49:59 +0300 |
commit | a557e82e5a01826f902bd94fc925c03f253cb712 (patch) | |
tree | a16d28d2a576fbaba4934f21b163c1fc7c61f118 /mm/swapfile.c | |
parent | 08e688fdb8f7e862092ae64cee20bc8b463d1046 (diff) | |
download | linux-a557e82e5a01826f902bd94fc925c03f253cb712.tar.xz |
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>
Reviewed-by: Chaitanya Kulkarni <kch@nvidia.com>
Link: https://lore.kernel.org/r/20220415045258.199825-14-hch@lst.de
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'mm/swapfile.c')
0 files changed, 0 insertions, 0 deletions