summaryrefslogtreecommitdiff
path: root/fs/read_write.c
diff options
context:
space:
mode:
authorJohn Garry <john.g.garry@oracle.com>2024-10-19 12:51:08 +0000
committerJens Axboe <axboe@kernel.dk>2024-10-19 16:48:22 -0600
commit1eadb157947163ca72ba8963b915fdc099ce6cca (patch)
treeb5573cf301810cc4de1326ea7486bda7f7a1be42 /fs/read_write.c
parentc3be7ebbbce5201e151f17e28a6c807602f369c9 (diff)
downloadlwn-1eadb157947163ca72ba8963b915fdc099ce6cca.tar.gz
lwn-1eadb157947163ca72ba8963b915fdc099ce6cca.zip
block: Add bdev atomic write limits helpers
Add helpers to get atomic write limits for a bdev, so that we don't access request_queue helpers outside the block layer. We check if the bdev can actually atomic write in these helpers, so we can avoid users missing using this check. Suggested-by: Christoph Hellwig <hch@lst.de> Reviewed-by: Christoph Hellwig <hch@lst.de> Reviewed-by: Darrick J. Wong <djwong@kernel.org> Signed-off-by: John Garry <john.g.garry@oracle.com> Link: https://lore.kernel.org/r/20241019125113.369994-4-john.g.garry@oracle.com Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'fs/read_write.c')
0 files changed, 0 insertions, 0 deletions