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
It seems that PattenStomper doesn't submit IOs directly to the target device because it goes through page cache. It should because we are testing block device.
The second arg of the initializer is set sectors(1) (meaning 1 sector) but the actual IOs to the device is 4KB large.
I think it should be specified flags for direct IOs.
I attempted to do so by changing the flag in verify_blocks to logical-or of File::RDONLY, BINARY and DIRECT but causes runtime error at io.read in read_block. I am not really familiar with Ruby so please give me advice.
The text was updated successfully, but these errors were encountered:
It seems that PattenStomper doesn't submit IOs directly to the target device because it goes through page cache. It should because we are testing block device.
The second arg of the initializer is set
sectors(1)
(meaning 1 sector) but the actual IOs to the device is 4KB large.I think it should be specified flags for direct IOs.
I attempted to do so by changing the flag in
verify_blocks
to logical-or of File::RDONLY, BINARY and DIRECT but causes runtime error atio.read
inread_block
. I am not really familiar with Ruby so please give me advice.The text was updated successfully, but these errors were encountered: