dotnwat / gassyfs

gassyfs - distributed in-memory file system over RDMA
GNU Lesser General Public License v2.1
29 stars 6 forks source link

store policies in inode #48

Open michaelsevilla opened 8 years ago

michaelsevilla commented 8 years ago

We need to get the Lua script into the inode. The pNFS guys said that they defined the layout_hint on a create()... but I'm not sure how they did this without an ioctl.

dotnwat commented 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.

dotnwat commented 8 years ago

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

dotnwat commented 8 years ago

https://sourceforge.net/p/fuse/mailman/message/32424297/

dotnwat commented 8 years ago

https://sourceforge.net/p/fuse/mailman/message/32104960/

dotnwat commented 8 years ago

https://sourceforge.net/p/fuse/mailman/message/29532991/