Flush the RaSCSI write cache on SYNCHRONIZE CACHE (#645)

This commit is contained in:
Uwe Seimet 2022-02-06 20:43:50 +01:00 committed by GitHub
parent afb23586d0
commit 36cadd78fc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -517,7 +517,8 @@ void Disk::PreventAllowMediumRemoval(SASIDEV *controller)
void Disk::SynchronizeCache10(SASIDEV *controller) void Disk::SynchronizeCache10(SASIDEV *controller)
{ {
// Nothing to do // Flush the RaSCSI cache
disk.dcache->Save();
controller->Status(); controller->Status();
} }