You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello,
I am writing sort of disk cache using WinSpd. At the moment I am just mirroring real volume with virtual WinSpd volume. It means all reads/writes are just redirected to real volume. For example my WinSpd write callback contains
_sectorSize is 512 bytes, _sourceVolume is HANDLE to testing volume on VHDX disk.
When writing 60 MB of data some of the data is not correctly written (content doesn't match). It's usually about 10 blocks of size SPD_IOCTL_STORAGE_UNIT_PARAMS::MaxTransferLength which I have set to 65 kB.
I found out when I set SpdStorageUnitStartDispatcher to 1 thread all data are correctly written. It could be somehow connected to #10 .
The text was updated successfully, but these errors were encountered:
Hello,
I am writing sort of disk cache using WinSpd. At the moment I am just mirroring real volume with virtual WinSpd volume. It means all reads/writes are just redirected to real volume. For example my WinSpd write callback contains
_sectorSize is 512 bytes, _sourceVolume is HANDLE to testing volume on VHDX disk.
When writing 60 MB of data some of the data is not correctly written (content doesn't match). It's usually about 10 blocks of size SPD_IOCTL_STORAGE_UNIT_PARAMS::MaxTransferLength which I have set to 65 kB.
I found out when I set SpdStorageUnitStartDispatcher to 1 thread all data are correctly written. It could be somehow connected to #10 .
The text was updated successfully, but these errors were encountered: