Files
linux-stable-mirror/include/uapi/linux
Mike Snitzer 06961c487a dm: split discards further if target sets max_discard_granularity
The block core (bio_split_discard) will already split discards based
on the 'discard_granularity' and 'max_discard_sectors' queue_limits.
But the DM thin target also needs to ensure that it doesn't receive a
discard that spans a 'max_discard_sectors' boundary.

Introduce a dm_target 'max_discard_granularity' flag that if set will
cause DM core to split discard bios relative to 'max_discard_sectors'.
This treats 'discard_granularity' as a "min_discard_granularity" and
'max_discard_sectors' as a "max_discard_granularity".

Requested-by: Joe Thornber <ejt@redhat.com>
Signed-off-by: Mike Snitzer <snitzer@kernel.org>
2023-03-30 15:57:50 -04:00
..
2023-02-10 17:54:45 -08:00
2023-01-20 09:33:22 +00:00
2023-01-18 17:12:37 -08:00
2023-03-16 21:20:32 -07:00
2023-02-16 13:50:50 +01:00
2022-10-19 09:01:44 +02:00
2022-12-01 20:06:06 -08:00
2023-03-16 21:20:32 -07:00
2023-01-04 14:44:13 -07:00
2023-01-26 10:52:18 +01:00
2022-11-17 11:04:23 -08:00
2023-02-20 19:26:56 -05:00
2022-12-05 10:30:47 +01:00