Commit 8d3fd059 authored by John Garry's avatar John Garry Committed by Jens Axboe
Browse files

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: default avatarJohn Garry <john.g.garry@oracle.com>
Link: https://lore.kernel.org/r/20241030111900.3981223-1-john.g.garry@oracle.com


Signed-off-by: default avatarJens Axboe <axboe@kernel.dk>
parent 2f5a65ef
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment