-
Notifications
You must be signed in to change notification settings - Fork 11
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
Resize ioctl #126
Resize ioctl #126
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Now I see what you meant yesterday. Given the IOCtl interface is tested and working, any reasons other requests from userspace go through fuseIO instead of IOCtl?
For this issue the changes look good... so porx pxdriver will use IOCtl to submit this instead of doing a write on fuse control dev.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ctx checks are done uninitialized.
This is to allow resize operation to be called from outside of px-storage. When resizing, revalidate_disk could be a long running operation. If px dies while the op is in progress, px-storage ends up in D state.