Re: UAS error optimal I/O size is obscene

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 





On 26.03.23 15:39, Stephen Samuel wrote:
Disk /dev/sdc: 74.52 GiB, 80000000000 bytes, 156250000 sectors
Disk model:
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 4096 bytes / *33553920* bytes
Disklabel type: dos
Disk identifier: 0xb66b1d61

33553920 comes to 65535 512 byte sectors. I believe that there is an attempt to assign -1 to  what ends up being a 16 bit unsigned.  This number breaks things.
assigning zero instead of -1 would be consistent with what happens when UAS is disabled.

Hi,

that's plausible, but we need to know why that happens.
Please provide the full dmesg.

	Regards
		Oliver




[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [SCSI Target Devel]     [Linux SCSI Target Infrastructure]     [Kernel Newbies]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Linux IIO]     [Samba]     [Device Mapper]

  Powered by Linux