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
Currently, PatternStomper#verify_blocks opens the device with "rb" mode but it results in 4KB reads through page cache even if we use @block_size less than 4KB (e.g. 1 sector).
We should fix. Let's make it direct.
I tried using File::RDONLY | File::BINARY | File::DIRECT as the 2nd arg of File.open but it ends in error "Errno::EINVAL: Invalid argument -". I don't know why. Do you have a idea, Joe?
I am writing a new test to check unlikely path (RAM buffer read). But, it fails because of the issue above. I want to solve this
The text was updated successfully, but these errors were encountered:
Currently, PatternStomper#verify_blocks opens the device with "rb" mode but it results in 4KB reads through page cache even if we use @block_size less than 4KB (e.g. 1 sector).
We should fix. Let's make it direct.
I tried using
File::RDONLY | File::BINARY | File::DIRECT
as the 2nd arg of File.open but it ends in error "Errno::EINVAL: Invalid argument -". I don't know why. Do you have a idea, Joe?I am writing a new test to check unlikely path (RAM buffer read). But, it fails because of the issue above. I want to solve this
The text was updated successfully, but these errors were encountered: