Skip to content

shard: correct file-size xattr in fallocate request failure #4523

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

Open
wants to merge 1 commit into
base: devel
Choose a base branch
from

Conversation

chen1195585098
Copy link
Contributor

When the fallocate request to a file returns a failure, there may actually be data written to the backend bricks. So, we do need to refresh file-size xattr for such a file, in that case.

Fixes: #4522

When the fallocate request to a file returns a failure,
there may actually be data written to the backend bricks.
So, we do need to refresh file-size xattr for such a file,
in that case.

Fixes: gluster#4522
@gluster-ant
Copy link
Collaborator

Can one of the admins verify this patch?

1 similar comment
@gluster-ant
Copy link
Collaborator

Can one of the admins verify this patch?

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.

trusted.glusterfs.shard.file-size may not be updated correctly
2 participants