From e6e0d59bb3af2cad16495059aa23675e6a3cffb0 Mon Sep 17 00:00:00 2001 From: James Nunez Date: Wed, 17 May 2017 09:55:23 -0600 Subject: [PATCH] LU-9522 test: sanity 27z fix update local variable sanity test_27z is failing for servers running ZFS. The problem is that filter_fid is not being updated for each stripe of the file being reviewed in check_seq_oid(). For each stripe, the variable that holds the filter_fid, ff, needs to be reinitialized. Test-Parameters: trivial testgroup=review-zfs-part-1 Signed-off-by: James Nunez Change-Id: I550720a0a2bad22c4ffa98ca84b5f085eb220051 Reviewed-on: https://review.whamcloud.com/27163 Tested-by: Jenkins Reviewed-by: John L. Hammond Reviewed-by: Andreas Dilger --- lustre/tests/sanity.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lustre/tests/sanity.sh b/lustre/tests/sanity.sh index fb4539d..83f8305 100755 --- a/lustre/tests/sanity.sh +++ b/lustre/tests/sanity.sh @@ -1881,7 +1881,7 @@ check_seq_oid() fi local obj_file="O/$seq/d$((oid %32))/$oid_hex" - local ff + local ff="" # # Don't unmount/remount the OSTs if we don't need to do that. # LU-2577 changes filter_fid to be smaller, so debugfs needs -- 1.8.3.1