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

Resize ioctl #126

Merged
merged 7 commits into from
Jun 15, 2020
Merged

Resize ioctl #126

merged 7 commits into from
Jun 15, 2020

Conversation

prabirpaul
Copy link
Contributor

@prabirpaul prabirpaul commented Jun 3, 2020

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.

@prabirpaul prabirpaul requested a review from sulakshm June 3, 2020 21:30
Copy link
Contributor

@sulakshm sulakshm left a 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.

pxd.c Outdated Show resolved Hide resolved
Copy link
Contributor

@sulakshm sulakshm left a 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.

@prabirpaul prabirpaul merged commit c19e94f into master Jun 15, 2020
prabirpaul added a commit that referenced this pull request Jun 18, 2020
prabirpaul added a commit that referenced this pull request Jun 18, 2020
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

Successfully merging this pull request may close these issues.

2 participants