summaryrefslogtreecommitdiff
path: root/rust/kernel/alloc/kvec/errors.rs
diff options
context:
space:
mode:
authorChen Cheng <chencheng@fnnas.com>2026-10-30 17:21:28 +0800
committerMikulas Patocka <mpatocka@redhat.com>2026-11-03 19:39:38 +0100
commit4fe2c2baad01da64d47f1a0c8fc093df994bcef5 (patch)
treed67e0200f092a92cfa53020b25b2fa297662b958 /rust/kernel/alloc/kvec/errors.rs
parentd7216d7be2bbfdf3312695b6e41a4fc7c5e22902 (diff)
dm snapshot: split discards on chunk boundaries
dm-snapshot did not set ti->max_discard_granularity when it allows discards, so a discard could reach the target unaligned, or spanning several chunks. Set the flag, so dm splits discards on chunk boundaries. Fixes: 2e6023850e17 ("dm snapshot: add optional discard support features") Cc: stable@vger.kernel.org Signed-off-by: Chen Cheng <chencheng@fnnas.com> Signed-off-by: Mikulas Patocka <mpatocka@redhat.com>
Diffstat (limited to 'rust/kernel/alloc/kvec/errors.rs')
0 files changed, 0 insertions, 0 deletions