[PATCH v4 0/2] enable sector size > PAGE_SIZE for scsi

From: sw . prabhu6

Date: Wed Feb 18 2026 - 23:39:13 EST


From: Swarna Prabhu <sw.prabhu6@xxxxxxxxx>

Hi All,

This is v4 series sent based on the review comments received on v3 [1].
This patchset enables sector sizes > PAGE_SIZE for
sd driver and scsi_debug driver since block layer can support block
size > PAGE_SIZE. There was one issue with write_same16 and write_same10
command, which is fixed as a part of the series.

Changes since v2:
- Added reviewed by tag for scsi sd driver and scsi_debug patch.
- Modified the helper function name used for safe creation and destruction
of the large page mempool.
- No functional changes.

Thanks to Damien for review.

Testing:
Testing results are same as v3 since no functional changes introduced in v4.

Link to v3: https://lore.kernel.org/all/20260214011829.508272-1-sw.prabhu6@xxxxxxxxx/ [1]

Swarna Prabhu (2):
scsi: sd: enable sector size > PAGE_SIZE in scsi sd driver
scsi: scsi_debug: enable sdebug_sector_size > PAGE_SIZE

drivers/scsi/scsi_debug.c | 8 +---
drivers/scsi/sd.c | 80 +++++++++++++++++++++++++++++++++------
2 files changed, 69 insertions(+), 19 deletions(-)

--
2.39.5