diff options
author | Vinayakswami Hariharmath <vharihar@redhat.com> | 2020-06-03 18:58:56 +0530 |
---|---|---|
committer | gluster-ant <bugzilla-bot@gluster.org> | 2020-06-03 18:58:56 +0530 |
commit | 5d042a6bd19a0f49db47f2685363adcbacc054d8 (patch) | |
tree | 193c1cab28f9f025a38d86307f27aea0932539e4 /cli/src/cli-xml-output.c | |
parent | 166afdd8cb6901362a0e8d2f1954060483d9c54b (diff) | |
download | glusterfs-5d042a6bd19a0f49db47f2685363adcbacc054d8.tar.gz glusterfs-5d042a6bd19a0f49db47f2685363adcbacc054d8.tar.xz glusterfs-5d042a6bd19a0f49db47f2685363adcbacc054d8.zip |
features/shard: Use fd lookup post file open
Issue:
When a process has the open fd and the same file is
unlinked in middle of the operations, then file based
lookup fails with ENOENT or stale file
Solution:
When the file already open and fd is available, use fstat
to get the file attributes
Change-Id: I0e83aee9f11b616dcfe13769ebfcda6742e4e0f4
Fixes: #1281
Signed-off-by: Vinayakswami Hariharmath <vharihar@redhat.com>
Diffstat (limited to 'cli/src/cli-xml-output.c')
0 files changed, 0 insertions, 0 deletions