All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v2 0/2] Fix bio splitting in the crypto fallback code
@ 2025-07-11 17:18 Bart Van Assche
  2025-07-11 17:18 ` [PATCH v2 1/2] block: Split blk_crypto_fallback_split_bio_if_needed() Bart Van Assche
                   ` (3 more replies)
  0 siblings, 4 replies; 16+ messages in thread
From: Bart Van Assche @ 2025-07-11 17:18 UTC (permalink / raw)
  To: Jens Axboe; +Cc: linux-block, Christoph Hellwig, Eric Biggers, Bart Van Assche

Hi Jens,

When using the crypto fallback code, large bios are split twice. A first
time by bio_split_to_limits() and a second time by the crypto fallback
code. This causes bios not to be submitted in LBA error and hence triggers
write errors for zoned block devices. This patch series fixes this by
splitting bios once. Please consider this patch series for the next merge
window.

Thanks,

Bart.

Changes compared to v1:
 - Dropped support for bio-based drivers that do not call bio_split_to_limits().
 - Removed the BLK_FEAT_CALLS_BIO_SPLIT_TO_LIMITS and BIO_HAS_BEEN_SPLIT flags.

Bart Van Assche (2):
  block: Split blk_crypto_fallback_split_bio_if_needed()
  block: Rework splitting of encrypted bios

 block/blk-core.c            |  3 ---
 block/blk-crypto-fallback.c | 36 ++++++++++++++----------------------
 block/blk-crypto-internal.h |  7 +++++++
 block/blk-merge.c           | 12 ++++++++++--
 4 files changed, 31 insertions(+), 27 deletions(-)


^ permalink raw reply	[flat|nested] 16+ messages in thread

end of thread, other threads:[~2025-07-16  1:39 UTC | newest]

Thread overview: 16+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-07-11 17:18 [PATCH v2 0/2] Fix bio splitting in the crypto fallback code Bart Van Assche
2025-07-11 17:18 ` [PATCH v2 1/2] block: Split blk_crypto_fallback_split_bio_if_needed() Bart Van Assche
2025-07-14 11:29   ` Christoph Hellwig
2025-07-14 13:48   ` John Garry
2025-07-14 15:35     ` Bart Van Assche
2025-07-15  5:40       ` Christoph Hellwig
2025-07-11 17:18 ` [PATCH v2 2/2] block: Rework splitting of encrypted bios Bart Van Assche
2025-07-15  2:18   ` Eric Biggers
2025-07-15  5:37     ` Christoph Hellwig
2025-07-15  6:11       ` Eric Biggers
2025-07-15  6:21         ` Christoph Hellwig
2025-07-16  1:39           ` Damien Le Moal
2025-07-15  5:44   ` Christoph Hellwig
2025-07-14 11:35 ` [PATCH v2 0/2] Fix bio splitting in the crypto fallback code Christoph Hellwig
2025-07-14 15:37   ` Bart Van Assche
2025-07-15  2:05 ` Martin K. Petersen

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.