3089637461
usb-storage is for the most part just a wrapper around an internally created scsi-disk device. It uses DEFINE_BLOCK_PROPERTIES() to offer all of the usual block device properties to the user, but then only forwards a few select properties to the internal device while the rest is silently ignored. This changes scsi_bus_legacy_add_drive() to accept a whole BlockConf instead of some individual values inside of it so that usb-storage can now pass the whole configuration to the internal scsi-disk. This enables the remaining block device properties, e.g. logical/physical_block_size or discard_granularity. Buglink: https://issues.redhat.com/browse/RHEL-22375 Signed-off-by: Kevin Wolf <kwolf@redhat.com> Message-ID: <20240131130607.24117-1-kwolf@redhat.com> Signed-off-by: Kevin Wolf <kwolf@redhat.com> |
||
---|---|---|
.. | ||
bus.c | ||
canokey.c | ||
canokey.h | ||
ccid-card-emulated.c | ||
ccid-card-passthru.c | ||
ccid.h | ||
chipidea.c | ||
combined-packet.c | ||
core.c | ||
desc-msos.c | ||
desc.c | ||
desc.h | ||
dev-audio.c | ||
dev-hid.c | ||
dev-hub.c | ||
dev-mtp.c | ||
dev-network.c | ||
dev-serial.c | ||
dev-smartcard-reader.c | ||
dev-storage-bot.c | ||
dev-storage-classic.c | ||
dev-storage.c | ||
dev-uas.c | ||
dev-wacom.c | ||
hcd-dwc2.c | ||
hcd-dwc2.h | ||
hcd-dwc3.c | ||
hcd-ehci-pci.c | ||
hcd-ehci-sysbus.c | ||
hcd-ehci.c | ||
hcd-ehci.h | ||
hcd-musb.c | ||
hcd-ohci-pci.c | ||
hcd-ohci.c | ||
hcd-ohci.h | ||
hcd-uhci.c | ||
hcd-uhci.h | ||
hcd-xhci-nec.c | ||
hcd-xhci-pci.c | ||
hcd-xhci-pci.h | ||
hcd-xhci-sysbus.c | ||
hcd-xhci-sysbus.h | ||
hcd-xhci.c | ||
hcd-xhci.h | ||
host-libusb.c | ||
host.h | ||
imx-usb-phy.c | ||
Kconfig | ||
libhw.c | ||
meson.build | ||
pcap.c | ||
quirks-ftdi-ids.h | ||
quirks-pl2303-ids.h | ||
quirks.c | ||
quirks.h | ||
redirect.c | ||
trace-events | ||
trace.h | ||
tusb6010.c | ||
u2f-emulated.c | ||
u2f-passthru.c | ||
u2f.c | ||
u2f.h | ||
vt82c686-uhci-pci.c | ||
xen-usb.c | ||
xlnx-usb-subsystem.c | ||
xlnx-versal-usb2-ctrl-regs.c |