I think that's intended. You're creating a file and you're requesting it to be opened with O_DIRECT but if the underlying filesystem doesn't support O_DIRECT then you fail the open. So that the file is created is fine.
I think that's intended. You're creating a file and you're requesting it to be opened with O_DIRECT but if the underlying filesystem doesn't support O_DIRECT then you fail the open. So that the file is created is fine.