RASCSI/cpp/devices
Klaus Kämpf dd9a3296d4
Don't ResizeCache on sector change if no filename is defined (#1438)
* Add tests for issue#1426

Signed-off-by: Klaus Kämpf <kkaempf@gmail.com>

* add test without medium

Signed-off-by: Klaus Kämpf <kkaempf@gmail.com>

* Don't resize DiskCache without a file

DiskCache computes its size from a file.
Skip ResizeCache Without file (i.e. 'empty' CD)

Fixes #1426

Signed-off-by: Klaus Kämpf <kkaempf@gmail.com>
2024-02-27 11:20:22 +09:00
..
interfaces Issues 1179 and 1182 (#1232) 2023-10-15 08:38:15 +02:00
cd_track.cpp Rebrand project to PiSCSI (#1016) 2022-12-05 09:58:23 -08:00
cd_track.h Issues 1179 and 1182 (#1232) 2023-10-15 08:38:15 +02:00
cfilesystem.cpp Issues 1179 and 1182 (#1232) 2023-10-15 08:38:15 +02:00
cfilesystem.h Issues 1179 and 1182 (#1232) 2023-10-15 08:38:15 +02:00
ctapdriver.cpp Fix daynaport emulation regression (#1306) (#1318) 2023-11-09 00:39:00 +01:00
ctapdriver.h Move default device parameters from DeviceFactory to the respective devices #1257 (#1259) 2023-10-30 11:24:18 +01:00
device.cpp Move default device parameters from DeviceFactory to the respective devices #1257 (#1259) 2023-10-30 11:24:18 +01:00
device.h Move default device parameters from DeviceFactory to the respective devices #1257 (#1259) 2023-10-30 11:24:18 +01:00
device_factory.cpp Move sector sizes lists from DeviceFactory to the respective devices (#1323) 2023-11-14 15:32:46 +01:00
device_factory.h Recognize .cdr and .toast as CD-ROM image file endings 2024-01-27 07:22:19 +09:00
device_logger.cpp Fix missing logging for a LUN when the LUN is explicitly specified (#1379) 2023-11-26 13:25:54 +09:00
device_logger.h Issues 1179 and 1182 (#1232) 2023-10-15 08:38:15 +02:00
disk.cpp Honor sector size change via ModeSelect6 in scsicd (#1406) 2024-01-10 06:36:24 +09:00
disk.h Honor sector size change via ModeSelect6 in scsicd (#1406) 2024-01-10 06:36:24 +09:00
disk_cache.cpp Add statistics and make scsictl accept generic key/value parameters (#1237/#1238) (#1262) 2023-10-30 13:32:45 +01:00
disk_cache.h Honor sector size change via ModeSelect6 in scsicd (#1406) 2024-01-10 06:36:24 +09:00
disk_track.cpp Add statistics and make scsictl accept generic key/value parameters (#1237/#1238) (#1262) 2023-10-30 13:32:45 +01:00
disk_track.h Add statistics and make scsictl accept generic key/value parameters (#1237/#1238) (#1262) 2023-10-30 13:32:45 +01:00
host_services.cpp Issues 1179 and 1182 (#1232) 2023-10-15 08:38:15 +02:00
host_services.h Issues 1179 and 1182 (#1232) 2023-10-15 08:38:15 +02:00
mode_page_device.cpp Honor sector size change via ModeSelect6 in scsicd (#1406) 2024-01-10 06:36:24 +09:00
mode_page_device.h Honor sector size change via ModeSelect6 in scsicd (#1406) 2024-01-10 06:36:24 +09:00
primary_device.cpp Issues 1179 and 1182 (#1232) 2023-10-15 08:38:15 +02:00
primary_device.h Add statistics and make scsictl accept generic key/value parameters (#1237/#1238) (#1262) 2023-10-30 13:32:45 +01:00
scsi_command_util.cpp Multiple fixes for ModeSelect (#1405) 2024-01-07 15:06:35 +09:00
scsi_command_util.h Issues 1179 and 1182 (#1232) 2023-10-15 08:38:15 +02:00
scsi_daynaport.cpp NetBSD compatibility: Increase daynaport minimum packet size to 128 bytes (#1334) (#1335) 2023-11-14 16:13:14 +01:00
scsi_daynaport.h NetBSD compatibility: Increase daynaport minimum packet size to 128 bytes (#1334) (#1335) 2023-11-14 16:13:14 +01:00
scsi_host_bridge.cpp Move default device parameters from DeviceFactory to the respective devices #1257 (#1259) 2023-10-30 11:24:18 +01:00
scsi_host_bridge.h Move default device parameters from DeviceFactory to the respective devices #1257 (#1259) 2023-10-30 11:24:18 +01:00
scsi_printer.cpp Properly close file to be printed (#1428) 2024-02-03 07:51:44 +09:00
scsi_printer.h Add statistics and make scsictl accept generic key/value parameters (#1237/#1238) (#1262) 2023-10-30 13:32:45 +01:00
scsicd.cpp Don't ResizeCache on sector change if no filename is defined (#1438) 2024-02-27 11:20:22 +09:00
scsicd.h Honor sector size change via ModeSelect6 in scsicd (#1406) 2024-01-10 06:36:24 +09:00
scsihd.cpp Add ModeSense page 0x25 (DEC special function control page) (#1412) 2024-01-18 16:55:38 -08:00
scsihd.h Add ModeSense page 0x25 (DEC special function control page) (#1412) 2024-01-18 16:55:38 -08:00
scsihd_nec.cpp Issues 1179 and 1182 (#1232) 2023-10-15 08:38:15 +02:00
scsihd_nec.h Move sector sizes lists from DeviceFactory to the respective devices (#1323) 2023-11-14 15:32:46 +01:00
scsimo.cpp Honor sector size change via ModeSelect6 in scsicd (#1406) 2024-01-10 06:36:24 +09:00
scsimo.h Honor sector size change via ModeSelect6 in scsicd (#1406) 2024-01-10 06:36:24 +09:00
storage_device.cpp Issues 1179 and 1182 (#1232) 2023-10-15 08:38:15 +02:00
storage_device.h Issues 1179 and 1182 (#1232) 2023-10-15 08:38:15 +02:00