O_DIRECT requires filesystem support. What’s the underlying fs? If it’s zfs then it won’t do O_DIRECT (correctly).
zfs
O_DIRECT