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
1 changed files with 2 additions and 1 deletions

View File

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