uweseimet / scsi2pi

Advanced performant SCSI/SASI emulation and tools for the PiSCSI/RaSCSI board
https://www.scsi2pi.net
BSD 3-Clause "New" or "Revised" License
9 stars 2 forks source link

Optimize reading sector sequences from an image file #61

Closed uweseimet closed 8 months ago

uweseimet commented 8 months ago

When several sectors are requested in a SCSI READ command, the PiSCSI compatibe cache implementation reads the requested sectors from an image file one by one. This shall be changed for the new caching modes, so that as many sectors as requested are read in a single go. This caching mode shall be called "linux-optimized".