diff options
author | Christoph Hellwig <hch@lst.de> | 2024-02-13 08:34:16 +0100 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2024-02-13 08:56:59 -0700 |
commit | 4f563a64732dabb2677c7d1232a8f714a18b41b3 (patch) | |
tree | 5b697ef500875bf3bf7776dba05c14cebbb48590 /drivers/memstick/core/mspro_block.c | |
parent | 0327ca9d53bfbb0918867313049bba7046900f73 (diff) | |
download | linux-4f563a64732dabb2677c7d1232a8f714a18b41b3.tar.gz linux-4f563a64732dabb2677c7d1232a8f714a18b41b3.tar.bz2 linux-4f563a64732dabb2677c7d1232a8f714a18b41b3.zip |
block: add a max_user_discard_sectors queue limit
Add a new max_user_discard_sectors limit that mirrors max_user_sectors
and stores the value that the user manually set. This now allows
updates of the max_hw_discard_sectors to not worry about the user
limit.
Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Keith Busch <kbusch@kernel.org>
Reviewed-by: Chaitanya Kulkarni <kch@nvidia.com>
Reviewed-by: Ming Lei <ming.lei@redhat.com>
Reviewed-by: Martin K. Petersen <martin.petersen@oracle.com>
Reviewed-by: Hannes Reinecke <hare@suse.de>
Link: https://lore.kernel.org/r/20240213073425.1621680-7-hch@lst.de
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'drivers/memstick/core/mspro_block.c')
0 files changed, 0 insertions, 0 deletions