On Wednesday, 14 January 2026 at 16:17, Niklas Cassel <[email protected]> wrote:
>
>
> Hello Salvatore,
>
> On Wed, Jan 14, 2026 at 12:47:45PM +0100, Salvatore Bonaccorso wrote:
>
> > A user reported a regression affecting his devices after 9b8b84879d4a
> > ("block: Increase BLK_DEF_MAX_SECTORS_CAP") which maybe needs a
> > similar quirk like 2e9832713631 ("ata: libata-core: Quirk DELLBOSS VD
> > max_sectors").
>
>
> The drive:
>
> > Dec 10 18:56:03 kernel: ata1.00: Model 'INTEL SSDSC2KG480G8', rev
> > 'XCV10120', applying quirks: zeroaftertrim
> > Dec 10 18:56:03 kernel: ata1.00: ATA-10: INTEL SSDSC2KG480G8, XCV10120, max
> > UDMA/133
>
>
> The SATA controller:
> 00:17.0 SATA controller [0106]: Intel Corporation Cannon Lake Mobile PCH SATA
> AHCI Controller [8086:a353] (rev 10) (prog-if 01 [AHCI 1.0])
> DeviceName: Onboard - SATA
> Subsystem: Dell Device [1028:0924]
>
>
> Perhaps the user could run:
> https://github.com/floatious/max-sectors-quirk/blob/master/find-max-sectors.sh
>
> So we could find which max sectors value we should quirk the device with,
> since while the drive obviously chokes on a command of size 4 MiB / 8192
> sectors, it might be able to handle something larger than 1280 KiB / 2560
> sectors.
>
>
> Kind regard,
> Niklas
Hi,
Here is find-max-sectors.sh output:
Drive model:
INTEL SSDSC2KG480G8
Drive firmware:
XCV10120
SATA / AHCI controller:
00:17.0 SATA controller [0106]: Intel Corporation Cannon Lake Mobile PCH SATA
AHCI Controller [8086:a353] (rev 10)
Drive values before running the test:
/sys/block/sda/queue/max_hw_sectors_kb:32767
/sys/block/sda/queue/max_sectors_kb:1280
/sys/block/sda/queue/read_ahead_kb:128
Running test with max_sectors 128 KiB
Test: PASS
Running test with max_sectors 1024 KiB
Test: PASS
Running test with max_sectors 2048 KiB
Test: PASS
Running test with max_sectors 3072 KiB
Test: PASS
Running test with max_sectors 4095 KiB
Test: PASS
Running test with max_sectors 4096 KiB
Test: PASS
Regards,
Wolf