From 8277f4e4a4e92543ac139ef63d0ad82add397de7 Mon Sep 17 00:00:00 2001 From: vmallika Date: Thu, 20 Nov 2014 20:36:00 +0530 Subject: gluster/uss: Handle ESTALE in snapview client when NFS server restarted When NFS server is restarted inode-context is lost. Nameless lookup will be sent to regular volume. If the gfid is from virtual graph, lookup will fail with ESTALE. We need to send a lookup to snapview server Change-Id: I22920614f0d14cb90b53653fce95b6b70023eba6 BUG: 1166197 Signed-off-by: vmallika Reviewed-on: http://review.gluster.org/9153 Tested-by: Gluster Build System Reviewed-by: Sachin Pandit Reviewed-by: Vijay Bellur --- tests/include.rc | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'tests/include.rc') diff --git a/tests/include.rc b/tests/include.rc index 000005a4e33..dc6fc6e25dc 100644 --- a/tests/include.rc +++ b/tests/include.rc @@ -826,3 +826,9 @@ function UMOUNT_LOOP () ;; esac } + +function STAT() +{ + stat $1 + echo $? +} -- cgit