Looks like i was doing something stupid, the aligned size apparently needs to be a multiple of block size.
** Changed in: libaio (Ubuntu) Status: New => Invalid -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to libaio in Ubuntu. https://bugs.launchpad.net/bugs/1223400 Title: libaio with O_DIRECT doesn't seem to work To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/libaio/+bug/1223400/+subscriptions -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs