diff options
author | Vinayakswami Hariharmath <vharihar@redhat.com> | 2020-06-03 18:58:56 +0530 |
---|---|---|
committer | Vinayakswami Hariharmath <vharihar@redhat.com> | 2020-06-11 16:50:41 +0530 |
commit | 71dd19f710b81136f318b3a95ae430971198ee70 (patch) | |
tree | 193c1cab28f9f025a38d86307f27aea0932539e4 /glusterfsd | |
parent | fda036e79e9e49f15e238295a883807416d26feb (diff) |
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 'glusterfsd')
0 files changed, 0 insertions, 0 deletions