Re: RIP on discard, JMicron USB adaptor

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

 



On 28.02.24 17:01, Alan Stern wrote:

In the code comments above the WARN, this condition indicates "the
discard granularity isn't set by buggy device driver". The block layer
needs this set if your driver also sets the max_discard_sectors limit.

The usb-storage and uas drivers do not set any of these; however, the
SCSI sd driver does.  Maybe that's where the problem lies.  Adding more
CC's.

Hi,

that seems to be conditional on READ_CAPACITY_16 being used.
From the cropped dmesg we cannot tell. We need more.

	Regards
		Oliver





[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux