Re: [v1 0/2] enable sector size > PAGE_SIZE for scsi
From: Swarna Prabhu
Date: Thu Dec 11 2025 - 19:18:36 EST
On Tue, Dec 09, 2025 at 05:56:05PM -0800, Damien Le Moal wrote:
> On 2025/12/09 17:41, sw.prabhu6@xxxxxxxxx wrote:
> > From: Swarna Prabhu <sw.prabhu6@xxxxxxxxx>
> >
> > Hi All,
> >
> > This is non RFC v1 series sent based on the feedback received on RFC
> > v2 [1] and RFC v1 [2]. 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.
> >
> > Motivation:
> > - While enabling LBS on ZoneFS, zonefs-tools tests were being skipped
> > for conventional zones when tested on nvme block device emulated using
> > QEMU. Hence there was a need to enable scsi with higher sector sizes
> > to run zonefs tests for conventional zones as well.
>
> This is super confusing: there are no conventional zones with NVMe. And why
> would a problem with NVMe require scsi patches ?
>
Agree with you. NVME Zoned Namespace require sequential writes.
Our initial goal was to enable LBS on Zonefs. Running zonefs tests
on a scsi device covered both conventional and sequential zone based
tests. So we had to enable higher sector sizes on scsi device and while
doing so fix the issue seen with WRITE SAME commands with higher sector
sizes.
Thanks
Swarna