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

sw.prabhu6@gmail.com posted 2 patches 1 month, 1 week ago
drivers/scsi/scsi_debug.c |  8 +---
drivers/scsi/sd.c         | 80 +++++++++++++++++++++++++++++++++------
2 files changed, 69 insertions(+), 19 deletions(-)
[PATCH v4 0/2] enable sector size > PAGE_SIZE for scsi
Posted by sw.prabhu6@gmail.com 1 month, 1 week ago
From: Swarna Prabhu <sw.prabhu6@gmail.com>

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@gmail.com/ [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
Re: [PATCH v4 0/2] enable sector size > PAGE_SIZE for scsi
Posted by Swarna Prabhu 1 month ago
On Wed, Feb 18, 2026 at 08:37:40PM -0800, sw.prabhu6@gmail.com wrote:
> From: Swarna Prabhu <sw.prabhu6@gmail.com>
> 
> 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@gmail.com/ [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
>

Gentle ping. 

Just wanted to make sure it didn't get lost. 

Please let me know if any updates are needed.

Thank you, 
Swarna Prabhu
Re: (subset) [PATCH v4 0/2] enable sector size > PAGE_SIZE for scsi
Posted by Martin K. Petersen 3 weeks, 1 day ago
On Wed, 18 Feb 2026 20:37:40 -0800, sw.prabhu6@gmail.com wrote:

> 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.
> 
> [...]

Applied to 7.1/scsi-queue, thanks!

[1/2] scsi: sd: enable sector size > PAGE_SIZE in scsi sd driver
      https://git.kernel.org/mkp/scsi/c/7179e626b76e

-- 
Martin K. Petersen