loop: Use bdev limit helpers for configuring discard
Instead of directly looking at the request_queue limits, use the bdev limits helpers, which is preferable. Signed-off-by:John Garry <john.g.garry@oracle.com> Link: https://lore.kernel.org/r/20241030111900.3981223-1-john.g.garry@oracle.com Signed-off-by:
Jens Axboe <axboe@kernel.dk>
Loading
Please sign in to comment