diff options
| author | Chen Cheng <chencheng@fnnas.com> | 2026-10-30 17:21:28 +0800 |
|---|---|---|
| committer | Mikulas Patocka <mpatocka@redhat.com> | 2026-11-03 19:39:38 +0100 |
| commit | 4fe2c2baad01da64d47f1a0c8fc093df994bcef5 (patch) | |
| tree | d67e0200f092a92cfa53020b25b2fa297662b958 /rust/kernel/alloc | |
| parent | d7216d7be2bbfdf3312695b6e41a4fc7c5e22902 (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')
0 files changed, 0 insertions, 0 deletions
