Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

store policies in inode #48

Open
michaelsevilla opened this issue Feb 18, 2016 · 5 comments
Open

store policies in inode #48

michaelsevilla opened this issue Feb 18, 2016 · 5 comments
Assignees
Milestone

Comments

@michaelsevilla
Copy link
Collaborator

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
Copy link
Owner

dotnwat commented Feb 18, 2016

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
Copy link
Owner

dotnwat commented Feb 18, 2016

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
Copy link
Owner

dotnwat commented Feb 19, 2016

@dotnwat
Copy link
Owner

dotnwat commented Feb 19, 2016

@dotnwat
Copy link
Owner

dotnwat commented Feb 19, 2016

@dotnwat dotnwat added this to the v0.0.3 milestone Feb 28, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants