Ago,  From the name of the file "/host/ubuntu/disks/swap.disk" I assume
this is a swap file.

I also suspect that opening the swap with O_DIRECT is a bit of an over
kill for two reasons:

1. Loss of power before data is written back to this is not critical since it's 
swap
2. You probably want it to be as fast as possible 

So removing the O_DIRECT flag is in fact beneficial to performance and
does not impact on file system consistency.

-- 
open(filename, O_DIRECT) on ntfs fails
https://bugs.launchpad.net/bugs/269946
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to