Add test for tmpfs / O_DIRECT etc.
Fix keyslot device access for devices not supporting O_DIRECT.