linux/drivers/md/dm-vdo
Bruce Johnston d5cfecfe7f dm vdo: replace max_discard_sectors with max_hw_discard_sectors
Commit 4f563a6473 ("block: add a max_user_discard_sectors queue
limit") changed block core to set max_discard_sectors to:
min(lim->max_hw_discard_sectors, lim->max_user_discard_sectors)

Commit 825d8bbd2f ("dm: always manage discard support in terms
of max_hw_discard_sectors") fixed most dm targetss to deal with
this, by replacing max_discard_sectors with max_hw_discard_sectors.
Unfortunately, dm-vdo did not get fixed at that time.

Fixes: 825d8bbd2f ("dm: always manage discard support in terms of max_hw_discard_sectors")
Signed-off-by: Bruce Johnston <bjohnsto@redhat.com>
Signed-off-by: Matthew Sakai <msakai@redhat.com>
Signed-off-by: Mikulas Patocka <mpatocka@redhat.com>
2024-07-11 21:24:41 +02:00
..
indexer dm vdo logger: change from uds_ to vdo_ namespace 2024-03-04 15:07:57 -05:00
action-manager.c dm vdo permassert: audit all of ASSERT to test for VDO_SUCCESS 2024-03-04 15:07:56 -05:00
action-manager.h dm vdo: add administrative state and action manager 2024-02-20 13:43:14 -05:00
admin-state.c dm vdo logger: change from uds_ to vdo_ namespace 2024-03-04 15:07:57 -05:00
admin-state.h dm vdo: add administrative state and action manager 2024-02-20 13:43:14 -05:00
block-map.c dm vdo block-map: Remove stray semicolon 2024-03-04 15:07:57 -05:00
block-map.h dm vdo: cleanup style for comments in structs 2024-02-20 13:43:19 -05:00
completion.c dm vdo permassert: audit all of ASSERT to test for VDO_SUCCESS 2024-03-04 15:07:56 -05:00
completion.h dm vdo permassert: audit all of ASSERT to test for VDO_SUCCESS 2024-03-04 15:07:56 -05:00
constants.h dm vdo: cleanup style for comments in structs 2024-02-20 13:43:19 -05:00
cpu.h dm vdo: add specialized request queueing functionality 2024-02-20 13:43:13 -05:00
data-vio.c dm vdo logger: change from uds_ to vdo_ namespace 2024-03-04 15:07:57 -05:00
data-vio.h dm vdo permassert: audit all of ASSERT to test for VDO_SUCCESS 2024-03-04 15:07:56 -05:00
dedupe.c dm vdo logger: change from uds_ to vdo_ namespace 2024-03-04 15:07:57 -05:00
dedupe.h dm vdo: remove all sysfs interfaces 2024-03-04 15:07:56 -05:00
dm-vdo-target.c dm vdo: replace max_discard_sectors with max_hw_discard_sectors 2024-07-11 21:24:41 +02:00
dump.c dm vdo logger: change from uds_ to vdo_ namespace 2024-03-04 15:07:57 -05:00
dump.h dm vdo: add debugging support 2024-02-20 13:43:15 -05:00
encodings.c dm vdo logger: change from uds_ to vdo_ namespace 2024-03-04 15:07:57 -05:00
encodings.h dm vdo: remove unnecessary indexer.h includes 2024-03-04 15:07:55 -05:00
errors.c dm vdo string-utils: change from uds_ to vdo_ namespace 2024-03-04 15:07:57 -05:00
errors.h dm vdo logger: change from uds_ to vdo_ namespace 2024-03-04 15:07:57 -05:00
flush.c dm vdo logger: change from uds_ to vdo_ namespace 2024-03-04 15:07:57 -05:00
flush.h dm vdo wait-queue: add proper namespace to interface 2024-02-20 13:43:16 -05:00
funnel-queue.c dm vdo funnel-queue: change from uds_ to vdo_ namespace 2024-03-04 15:07:57 -05:00
funnel-queue.h dm vdo funnel-queue: change from uds_ to vdo_ namespace 2024-03-04 15:07:57 -05:00
funnel-workqueue.c dm vdo logger: change from uds_ to vdo_ namespace 2024-03-04 15:07:57 -05:00
funnel-workqueue.h dm vdo: add specialized request queueing functionality 2024-02-20 13:43:13 -05:00
int-map.c dm vdo logger: change from uds_ to vdo_ namespace 2024-03-04 15:07:57 -05:00
int-map.h dm vdo int-map: remove unused parameter from vdo_int_map_create 2024-02-20 13:43:16 -05:00
io-submitter.c dm vdo logger: change from uds_ to vdo_ namespace 2024-03-04 15:07:57 -05:00
io-submitter.h dm vdo: fix various blk_opf_t sparse warnings 2024-02-20 13:43:18 -05:00
Kconfig dm vdo: use a proper Makefile for dm-vdo 2024-02-20 13:43:17 -05:00
logger.c dm vdo logger: change from uds_ to vdo_ namespace 2024-03-04 15:07:57 -05:00
logger.h dm vdo logger: change from uds_ to vdo_ namespace 2024-03-04 15:07:57 -05:00
logical-zone.c dm vdo string-utils: change from uds_ to vdo_ namespace 2024-03-04 15:07:57 -05:00
logical-zone.h dm vdo: add flush support 2024-02-20 13:43:14 -05:00
Makefile dm vdo: remove all sysfs interfaces 2024-03-04 15:07:56 -05:00
memory-alloc.c dm vdo logger: change from uds_ to vdo_ namespace 2024-03-04 15:07:57 -05:00
memory-alloc.h dm vdo memory-alloc: return VDO_SUCCESS on success 2024-03-04 15:07:56 -05:00
message-stats.c dm vdo logger: change from uds_ to vdo_ namespace 2024-03-04 15:07:57 -05:00
message-stats.h dm vdo: add statistics reporting 2024-02-20 13:43:15 -05:00
murmurhash3.c dm vdo murmurhash: remove unneeded semicolon 2024-04-10 11:46:40 -04:00
murmurhash3.h
numeric.h dm vdo: add deduplication index storage interface 2024-02-20 13:43:14 -05:00
packer.c dm vdo logger: change from uds_ to vdo_ namespace 2024-03-04 15:07:57 -05:00
packer.h dm vdo: remove internal ticket references 2024-03-04 15:07:55 -05:00
permassert.c dm vdo logger: change from uds_ to vdo_ namespace 2024-03-04 15:07:57 -05:00
permassert.h dm vdo indexer: update ASSERT and ASSERT_LOG_ONLY usage 2024-03-04 15:07:56 -05:00
physical-zone.c dm vdo logger: change from uds_ to vdo_ namespace 2024-03-04 15:07:57 -05:00
physical-zone.h dm vdo: add the block allocators and physical zones 2024-02-20 13:43:15 -05:00
priority-table.c dm vdo permassert: audit all of ASSERT to test for VDO_SUCCESS 2024-03-04 15:07:56 -05:00
priority-table.h dm vdo: add basic hash map data structures 2024-02-20 13:43:13 -05:00
recovery-journal.c dm vdo logger: change from uds_ to vdo_ namespace 2024-03-04 15:07:57 -05:00
recovery-journal.h dm vdo: cleanup style for comments in structs 2024-02-20 13:43:19 -05:00
repair.c dm vdo logger: change from uds_ to vdo_ namespace 2024-03-04 15:07:57 -05:00
repair.h dm vdo: add repair of damaged vdo volumes 2024-02-20 13:43:15 -05:00
slab-depot.c dm vdo string-utils: change from uds_ to vdo_ namespace 2024-03-04 15:07:57 -05:00
slab-depot.h dm vdo memory-alloc: change from uds_ to vdo_ namespace 2024-03-04 15:07:56 -05:00
statistics.h dm vdo: cleanup style for comments in structs 2024-02-20 13:43:19 -05:00
status-codes.c dm vdo: remove vdo_perform_once 2024-03-04 23:11:11 -05:00
status-codes.h dm vdo: remove all sysfs interfaces 2024-03-04 15:07:56 -05:00
string-utils.c dm vdo string-utils: change from uds_ to vdo_ namespace 2024-03-04 15:07:57 -05:00
string-utils.h dm vdo string-utils: change from uds_ to vdo_ namespace 2024-03-04 15:07:57 -05:00
thread-device.c dm vdo thread-device: rename all methods to reflect vdo-only use 2024-03-01 09:26:24 -05:00
thread-device.h dm vdo thread-device: rename all methods to reflect vdo-only use 2024-03-01 09:26:24 -05:00
thread-registry.c dm vdo permassert: audit all of ASSERT to test for VDO_SUCCESS 2024-03-04 15:07:56 -05:00
thread-registry.h dm vdo thread-registry: rename all methods to reflect vdo-only use 2024-03-01 09:26:20 -05:00
thread-utils.c dm vdo: remove vdo_perform_once 2024-03-04 23:11:11 -05:00
thread-utils.h dm vdo: remove vdo_perform_once 2024-03-04 23:11:11 -05:00
time-utils.h dm vdo: add basic logging and support utilities 2024-02-20 13:43:13 -05:00
types.h dm vdo data-vio: rename is_trim flag to is_discard 2024-02-20 13:43:17 -05:00
vdo.c dm vdo logger: change from uds_ to vdo_ namespace 2024-03-04 15:07:57 -05:00
vdo.h dm vdo: remove all sysfs interfaces 2024-03-04 15:07:56 -05:00
vio.c dm vdo logger: change from uds_ to vdo_ namespace 2024-03-04 15:07:57 -05:00
vio.h dm vdo permassert: audit all of ASSERT to test for VDO_SUCCESS 2024-03-04 15:07:56 -05:00
wait-queue.c dm vdo wait-queue: rename to vdo_waitq_dequeue_waiter 2024-02-20 13:43:16 -05:00
wait-queue.h dm vdo wait-queue: rename to vdo_waitq_dequeue_waiter 2024-02-20 13:43:16 -05:00