commit | b0060903d8a3c7f77bcd2d93f46dd494c3b97489 | [log] [tgz] |
---|---|---|
author | Martijn Coenen <maco@google.com> | Thu Oct 04 10:14:39 2018 +0200 |
committer | Martijn Coenen <maco@google.com> | Thu Oct 04 10:14:39 2018 +0200 |
tree | 72c66fb2e023985e31978687cb2bca033d553fbe | |
parent | 7b5faf9af566825820222fa6b1f03d8225ee9b04 [diff] |
Properly enable Direct I/O on loopback device. This requires setting the block size correctly. Also fixed the ioctl to enable DIO itself - it takes a value, not an address (even though that also works :)). Test: loop device is in DIO mode on kernel that supports it. Bug: 112455435 Change-Id: I35532dfc6d196d3db871d8b21772afec9f53b833