linux-stable/drivers/scsi
Ming Lei 28cd1a1938 scsi: sr: Reinstate rotational media flag
[ Upstream commit 708e2371f7 ]

Reinstate the rotational media flag for the CD-ROM driver. The flag has
been cleared since commit bd4a633b6f ("block: move the nonrot flag to
queue_limits") and this breaks some applications.

Move queue limit configuration from get_sectorsize() to
sr_revalidate_disk() and set the rotational flag.

Cc: Christoph Hellwig <hch@lst.de>
Fixes: bd4a633b6f ("block: move the nonrot flag to queue_limits")
Signed-off-by: Ming Lei <ming.lei@redhat.com>
Link: https://lore.kernel.org/r/20250827113550.2614535-1-ming.lei@redhat.com
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2025-09-09 19:02:37 +02:00
..
aacraid scsi: aacraid: Stop using PCI_IRQ_AFFINITY 2025-08-20 18:41:30 +02:00
aic7xxx treewide, timers: Rename from_timer() to timer_container_of() 2025-06-08 09:07:37 +02:00
aic94xx treewide, timers: Rename from_timer() to timer_container_of() 2025-06-08 09:07:37 +02:00
arcmsr treewide, timers: Rename from_timer() to timer_container_of() 2025-06-08 09:07:37 +02:00
arm treewide, timers: Rename from_timer() to timer_container_of() 2025-06-08 09:07:37 +02:00
be2iscsi treewide, timers: Rename from_timer() to timer_container_of() 2025-06-08 09:07:37 +02:00
bfa scsi: bfa: Double-free fix 2025-08-20 18:41:23 +02:00
bnx2fc treewide, timers: Rename from_timer() to timer_container_of() 2025-06-08 09:07:37 +02:00
bnx2i treewide, timers: Rename from_timer() to timer_container_of() 2025-06-08 09:07:37 +02:00
csiostor treewide, timers: Rename from_timer() to timer_container_of() 2025-06-08 09:07:37 +02:00
cxgbi treewide, timers: Rename from_timer() to timer_container_of() 2025-06-08 09:07:37 +02:00
device_handler
elx scsi: elx: efct: Fix dma_unmap_sg() nents value 2025-08-15 16:39:08 +02:00
esas2r treewide, timers: Rename from_timer() to timer_container_of() 2025-06-08 09:07:37 +02:00
fcoe treewide, timers: Rename from_timer() to timer_container_of() 2025-06-08 09:07:37 +02:00
fnic scsi: fnic: Fix missing DMA mapping error in fnic_send_frame() 2025-06-19 23:07:57 -04:00
hisi_sas treewide, timers: Rename from_timer() to timer_container_of() 2025-06-08 09:07:37 +02:00
ibmvscsi treewide, timers: Rename from_timer() to timer_container_of() 2025-06-08 09:07:37 +02:00
ibmvscsi_tgt scsi: ibmvscsi_tgt: Fix dma_unmap_sg() nents value 2025-08-15 16:39:08 +02:00
isci scsi: isci: Fix dma_unmap_sg() nents value 2025-08-15 16:39:08 +02:00
libfc treewide, timers: Rename from_timer() to timer_container_of() 2025-06-08 09:07:37 +02:00
libsas treewide, timers: Rename from_timer() to timer_container_of() 2025-06-08 09:07:37 +02:00
lpfc scsi: lpfc: Fix buffer free/clear order in deferred receive path 2025-09-09 19:02:33 +02:00
megaraid scsi: megaraid_sas: Fix invalid node index 2025-06-19 22:47:46 -04:00
mpi3mr scsi: mpi3mr: Serialize admin queue BAR writes on 32-bit systems 2025-08-28 16:34:37 +02:00
mpt3sas scsi: mpt3sas: Correctly handle ATA device errors 2025-08-20 18:41:26 +02:00
mvsas scsi: mvsas: Fix dma_unmap_sg() nents value 2025-08-15 16:39:08 +02:00
pcmcia
pm8001 scsi: pm80xx: Free allocated tags after failure 2025-08-20 18:41:26 +02:00
qedf scsi: qedf: Use designated initializer for struct qed_fcoe_cb_ops 2025-05-08 09:42:06 -07:00
qedi
qla2xxx scsi: qla2xxx: Fix DMA mapping test in qla24xx_get_port_database() 2025-06-23 13:21:59 -04:00
qla4xxx scsi: qla4xxx: Prevent a potential error pointer dereference 2025-08-28 16:34:44 +02:00
smartpqi treewide, timers: Rename from_timer() to timer_container_of() 2025-06-08 09:07:37 +02:00
snic
sym53c8xx_2 treewide, timers: Rename from_timer() to timer_container_of() 2025-06-08 09:07:37 +02:00
.gitignore
3w-9xxx.c
3w-9xxx.h
3w-sas.c
3w-sas.h
3w-xxxx.c
3w-xxxx.h
53c700_d.h_shipped
53c700.c
53c700.h
53c700.scr
a100u2w.c
a100u2w.h
a2091.c
a2091.h
a3000.c
a3000.h
a4000t.c
advansys.c
aha152x.c
aha152x.h
aha1542.c
aha1542.h
aha1740.c
aha1740.h
am53c974.c
atari_scsi.c
atp870u.c
atp870u.h
BusLogic.c
BusLogic.h
bvme6000_scsi.c
ch.c
constants.c
dc395x.c treewide, timers: Rename from_timer() to timer_container_of() 2025-06-08 09:07:37 +02:00
dc395x.h
dmx3191d.c
esp_scsi.c
esp_scsi.h
fdomain_isa.c
fdomain_pci.c
fdomain.c
fdomain.h
FlashPoint.c
g_NCR5380.c
gvp11.c
gvp11.h
hosts.c scsi: core: Enforce unlimited max_segment_size when virt_boundary_mask is set 2025-06-24 21:20:58 -04:00
hpsa_cmd.h
hpsa.c
hpsa.h
hptiop.c
hptiop.h
imm.c
imm.h
initio.c
initio.h
ipr.c treewide, timers: Rename from_timer() to timer_container_of() 2025-06-08 09:07:37 +02:00
ipr.h
ips.c
ips.h
iscsi_boot_sysfs.c
iscsi_tcp.c
iscsi_tcp.h
jazz_esp.c
Kconfig scsi: make ppa depend on !HIGHMEM 2025-05-05 13:22:39 -06:00
lasi700.c
libiscsi_tcp.c
libiscsi.c scsi: libiscsi: Initialize iscsi_conn->dd_data only if memory is allocated 2025-08-20 18:41:22 +02:00
mac53c94.c
mac53c94.h
mac_esp.c
mac_scsi.c
Makefile
megaraid.c
megaraid.h
mesh.c
mesh.h
mvme16x_scsi.c
mvme147.c
mvme147.h
mvumi.c
mvumi.h
myrb.c
myrb.h
myrs.c
myrs.h
ncr53c8xx.c treewide, timers: Rename from_timer() to timer_container_of() 2025-06-08 09:07:37 +02:00
ncr53c8xx.h
NCR5380.c
NCR5380.h
nsp32_debug.c
nsp32_io.h
nsp32.c
nsp32.h
pmcraid.c treewide, timers: Rename from_timer() to timer_container_of() 2025-06-08 09:07:37 +02:00
pmcraid.h
ppa.c scsi: make ppa depend on !HIGHMEM 2025-05-05 13:22:39 -06:00
ppa.h
ps3rom.c
qla1280.c treewide, timers: Rename from_timer() to timer_container_of() 2025-06-08 09:07:37 +02:00
qla1280.h
qlogicfas408.c
qlogicfas408.h
qlogicfas.c
qlogicpti.c
qlogicpti.h
raid_class.c
script_asm.pl
scsi_bsg.c
scsi_common.c
scsi_debug.c scsi: scsi_debug: Reduce DEF_ATOMIC_WR_MAX_LENGTH 2025-05-05 22:08:35 -04:00
scsi_debugfs.c
scsi_debugfs.h
scsi_devinfo.c scsi: core: devinfo: Fix typo in comment 2025-05-27 21:59:33 -04:00
scsi_dh.c
scsi_error.c scsi: error: alua: I/O errors for ALUA state transitions 2025-06-09 22:02:13 -04:00
scsi_ioctl.c block: remove the q argument from blk_rq_map_kern 2025-05-07 07:31:07 -06:00
scsi_lib_dma.c
scsi_lib_test.c
scsi_lib.c for-6.16/block-20250523 2025-05-26 11:39:36 -07:00
scsi_logging.c
scsi_logging.h
scsi_netlink.c
scsi_pm.c
scsi_priv.h scsi: core: Remove unused scsi_dev_info_list_del_keyed() 2025-05-12 22:11:55 -04:00
scsi_proc.c
scsi_proto_test.c
scsi_sas_internal.h
scsi_scan.c scsi: Fix sas_user_scan() to handle wildcard and multi-channel scans 2025-08-20 18:41:30 +02:00
scsi_sysctl.c
scsi_sysfs.c scsi: core: sysfs: Correct sysfs attributes access rights 2025-09-04 16:55:30 +02:00
scsi_trace.c
scsi_transport_api.h
scsi_transport_fc.c
scsi_transport_iscsi.c scsi: Revert "scsi: iscsi: Fix HW conn removal use after free" 2025-08-15 16:39:20 +02:00
scsi_transport_sas.c scsi: Fix sas_user_scan() to handle wildcard and multi-channel scans 2025-08-20 18:41:30 +02:00
scsi_transport_spi.c
scsi_transport_srp.c
scsi.c scsi: core: Fix kernel doc for scsi_track_queue_full() 2025-08-15 16:39:08 +02:00
scsicam.c
sd_dif.c
sd_trace.h
sd_zbc.c scsi: sd_zbc: block: Respect bio vector limits for REPORT ZONES buffer 2025-05-12 22:35:48 -04:00
sd.c scsi: sd: Make sd shutdown issue START STOP UNIT appropriately 2025-08-15 16:39:21 +02:00
sd.h
sense_codes.h
ses.c
sg.c scsi: sg: Remove unnecessary NULL check before unregister_sysctl_table() 2025-05-20 21:59:44 -04:00
sgiwd93.c
sim710.c
sni_53c710.c
sr_ioctl.c
sr_vendor.c
sr.c scsi: sr: Reinstate rotational media flag 2025-09-09 19:02:37 +02:00
sr.h
st_options.h
st.c
st.h
stex.c
storvsc_drv.c scsi: storvsc: Increase the timeouts to storvsc_timeout 2025-06-09 21:50:26 -04:00
sun3_scsi_vme.c
sun3_scsi.c
sun3x_esp.c
sun_esp.c
virtio_scsi.c
vmw_pvscsi.c
vmw_pvscsi.h
wd33c93.c
wd33c93.h
wd719x.c
wd719x.h
xen-scsifront.c
zalon.c
zorro7xx.c
zorro_esp.c