Whamcloud - gitweb
LU-9206 llite: access striped directory with missing stripe 31/45631/7
authorLai Siyao <lai.siyao@whamcloud.com>
Fri, 19 Nov 2021 19:50:34 +0000 (14:50 -0500)
committerOleg Drokin <green@whamcloud.com>
Thu, 6 Jan 2022 22:03:07 +0000 (22:03 +0000)
commitc0fa6f7a10d1162f8d49d40ab4f5aba80e72157e
tree53c2520f1cd895d331b3e23dd753845b5d0a089b
parent38c4c538f53fb5f0c7f6db6d4970c491184e81a0
LU-9206 llite: access striped directory with missing stripe

This patch allows acessing striped directory with missing stripes:
* lmv_revalidate_slave() skip error if one stripe returns -ESHUTDOWN.
* add ll_dir_flush(), which will return error found in reading
  stripe dir pages, thus 'ls' can list dirents on other stripes, and
  return an error in the end.

Add sanity 33i, update 60g because now ls may fail.

Signed-off-by: Lai Siyao <lai.siyao@whamcloud.com>
Change-Id: I16efd34e02b9855756cc93556e9e52550178f203
Reviewed-on: https://review.whamcloud.com/45631
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
Reviewed-by: Yingjin Qian <qian@ddn.com>
Reviewed-by: Oleg Drokin <green@whamcloud.com>
lustre/include/obd.h
lustre/include/obd_class.h
lustre/llite/dir.c
lustre/llite/llite_internal.h
lustre/llite/llite_nfs.c
lustre/llite/statahead.c
lustre/lmv/lmv_intent.c
lustre/lmv/lmv_obd.c
lustre/mdc/mdc_request.c
lustre/tests/sanity.sh