Commit f1aac3cf authored by John Garry's avatar John Garry Committed by Bart Van Assche
Browse files

UPSTREAM: 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.

Change-Id: Ia4eca604290e7cdb4dcd0057ab6d2b4aa1d7d973
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>
(cherry picked from commit 8d3fd059)
Signed-off-by: default avatarBart Van Assche <bvanassche@google.com>
parent 02cf5139
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment