Re: [PATCH for-6.10 1/2] dm-crypt: stop constraining max_segment_size to PAGE_SIZE

2024-04-23 Thread Ming Lei
On Thu, Apr 11, 2024 at 04:15:28PM -0400, Mike Snitzer wrote: > This change effectively reverts commit 586b286b110e ("dm crypt: > constrain crypt device's max_segment_size to PAGE_SIZE") and relies on > block core's late bio-splitting to ensure that dm-crypt's encryption > bios are split

Re: [PATCH for-6.10 1/2] dm-crypt: stop constraining max_segment_size to PAGE_SIZE

2024-04-15 Thread Mikulas Patocka
On Thu, 11 Apr 2024, Mike Snitzer wrote: > This change effectively reverts commit 586b286b110e ("dm crypt: > constrain crypt device's max_segment_size to PAGE_SIZE") and relies on > block core's late bio-splitting to ensure that dm-crypt's encryption > bios are split accordingly if they exceed

Re: [PATCH for-6.10 1/2] dm-crypt: stop constraining max_segment_size to PAGE_SIZE

2024-04-12 Thread Christoph Hellwig
Yes, this is the right thing to to: Reviewed-by: Christoph Hellwig

[PATCH for-6.10 1/2] dm-crypt: stop constraining max_segment_size to PAGE_SIZE

2024-04-11 Thread Mike Snitzer
This change effectively reverts commit 586b286b110e ("dm crypt: constrain crypt device's max_segment_size to PAGE_SIZE") and relies on block core's late bio-splitting to ensure that dm-crypt's encryption bios are split accordingly if they exceed the underlying device's limits (e.g.