Skip to contentSkip to conversation

About 9pfs support "O_DIRECT + aio"?

RFC jiangyiwen 2 participants 2 messages Mar 30, 2018 – Apr 2, 2018

lore
Share & tools
lore

jiangyiwen

author
#0 lore raw

Hi everyone,

Currently, I found virtio-9p in VirtFS don't support "O_DIRECT + aio" mode, both v9fs and qemu. So when user use "O_DIRECT + aio" mode and increase iodepths, they can't get higher IOPS.

I want to know why v9fs don't implement this mode? And I will try to implement this mode from now on.

Thanks,
Yiwen.

#1 lore raw
Quoted 6 lines · jiangyiwen

Currently, I found virtio-9p in VirtFS don't support "O_DIRECT + aio" mode, both v9fs and qemu. So when user use "O_DIRECT + aio" mode and increase iodepths, they can't get higher IOPS.

I want to know why v9fs don't implement this mode? And I will try to implement this mode from now on.

Can you explain? I think 9p has support for direct I/O in Linux. See v9fs_direct_IO in fs/9p/vfs_addr.c.

Paolo