From 53bbfe18aefb2ab3e6738e50718dd31a25b4eddf Mon Sep 17 00:00:00 2001 From: phil Date: Sat, 11 Oct 2003 21:55:51 +0000 Subject: [PATCH] b=2104 - make sure to clear all pointers when various structures are freed - if mdc_close can't find the mdc_open_data, then it should expect the close RPC to fail; if it doesn't, print a stern warning - Adds replay-single test 32, testing both the case where the close() is the RPC that detects the eviction (-EIO) and the case where the close() runs afterwards (-ESTALE) --- lustre/tests/test-framework.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/lustre/tests/test-framework.sh b/lustre/tests/test-framework.sh index 3ba7402..f96a5a3 100644 --- a/lustre/tests/test-framework.sh +++ b/lustre/tests/test-framework.sh @@ -34,6 +34,10 @@ replay_barrier() { lctl mark "REPLAY BARRIER" } +mds_evict_client() { + cat /proc/fs/lustre/mdc/*_MNT_*/uuid > /proc/fs/lustre/mds/mds1/evict_client +} + fail() { local facet=$1 stop $facet --force --failover --nomod -- 1.8.3.1