Files
linux-stable-mirror/drivers/scsi
Ming Lei a5760d3fb6 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 18:58:24 +02:00
..
2025-08-20 18:30:42 +02:00
2025-06-27 11:11:32 +01:00
2024-03-10 18:15:48 -04:00
2024-08-12 22:05:50 -04:00
2024-08-12 22:05:50 -04:00
2025-05-02 07:59:09 +02:00
2024-06-20 15:19:17 -06:00
2025-09-09 18:58:24 +02:00