diff options
author | John Garry <[email protected]> | 2024-10-19 12:51:08 +0000 |
---|---|---|
committer | Jens Axboe <[email protected]> | 2024-10-19 16:48:22 -0600 |
commit | 1eadb157947163ca72ba8963b915fdc099ce6cca (patch) | |
tree | b5573cf301810cc4de1326ea7486bda7f7a1be42 /scripts/generate_rust_analyzer.py | |
parent | c3be7ebbbce5201e151f17e28a6c807602f369c9 (diff) |
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 <[email protected]>
Reviewed-by: Christoph Hellwig <[email protected]>
Reviewed-by: Darrick J. Wong <[email protected]>
Signed-off-by: John Garry <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Jens Axboe <[email protected]>
Diffstat (limited to 'scripts/generate_rust_analyzer.py')
0 files changed, 0 insertions, 0 deletions