Open michaelsevilla opened 8 years ago
I'm not sure how they used create() to do that either. I think we should use ioctl, though either way. https://github.com/libfuse/libfuse/blob/master/include/fuse_lowlevel.h#L868 I've never tried to use ioctl with fuse so I'm not sure what all is possible.
Sweet... looks like there is an example of Ceph of them using ioctl in FUSE for reference https://github.com/ceph/ceph/blob/master/src/client/fuse_ll.cc#L498
We need to get the Lua script into the inode. The pNFS guys said that they defined the
layout_hint
on acreate()
... but I'm not sure how they did this without an ioctl.