Skip to content

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

@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?

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
Signed-off-by: chenjinhao <[email protected]>
@chen1195585098 chen1195585098 force-pushed the fix_shards_remove_failure branch from 25e0f8f to db73059 Compare August 5, 2025 03:08
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