https://bugzilla.kernel.org/show_bug.cgi?id=205107 --- Comment #23 from Dmitry Baranov (reagentoo@xxxxxxxxx) --- (In reply to Li Jiajun from comment #22) > Inspired by #21, we could solve this by add a new udev rule. > I think this is a common issue for those people using usb2sata adapter. Also discards should not be forgotten. provisioning_mode=unmap is not enabled by default for external USB devices. My current rules file for kernel 6.6: --- $ cat /etc/genkernel.d/etc/udev/rules.d/10-usb-storage.rules # ASMedia Technology Inc. ASM236X series ACTION=="add", SUBSYSTEM=="scsi_disk", ATTRS{idVendor}=="174c", ATTRS{idProduct}=="2364", ENV{LABEL}="edisk" # JMicron Technology Corp. / JMicron USA Technology Corp. USB 3.1 Storage Device ACTION=="add", SUBSYSTEM=="scsi_disk", ATTRS{idVendor}=="152d", ATTRS{idProduct}=="0580", ENV{LABEL}="edisk" ENV{LABEL}=="edisk", DRIVERS=="uas", ATTR{provisioning_mode}="unmap" ENV{LABEL}=="edisk", DRIVERS=="usb", ATTR{manage_system_start_stop}="1" --- Can be mixed with ATTRS{serial}=="XXXXXXXXXXXXXX" to enable discards / start_stop on unique devices. -- You may reply to this email to add a comment. You are receiving this mail because: You are watching the assignee of the bug.