Whamcloud - gitweb
LU-14975 dne: dir migration in non-recursive mode 02/44802/10
authorLai Siyao <lai.siyao@whamcloud.com>
Thu, 26 Aug 2021 11:37:09 +0000 (07:37 -0400)
committerOleg Drokin <green@whamcloud.com>
Mon, 13 Dec 2021 03:53:39 +0000 (03:53 +0000)
commit5604a6d270b8be13a8aacd72a105fc72b5e16976
tree2b0575368feaaf2bf77e2f537ec51cd11cc5083c
parentbc6a7c36cab621de7f2a1522dc986923cb29c18e
LU-14975 dne: dir migration in non-recursive mode

Add an option "-d|--directory" option for "lfs migrate -m" to
migrate specified directory only, which is similar to "ls -d".

Add sanity 230w.

Signed-off-by: Lai Siyao <lai.siyao@whamcloud.com>
Change-Id: Ib97949e3840a3b49f7074b16e259582a9bf16e3b
Reviewed-on: https://review.whamcloud.com/44802
Tested-by: jenkins <devops@whamcloud.com>
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: Yingjin Qian <qian@ddn.com>
Reviewed-by: Oleg Drokin <green@whamcloud.com>
14 files changed:
lustre/doc/lfs-migrate.1
lustre/include/uapi/linux/lustre/lustre_idl.h
lustre/llite/dir.c
lustre/llite/file.c
lustre/llite/llite_internal.h
lustre/lmv/lmv_obd.c
lustre/mdt/mdt_lib.c
lustre/ptlrpc/wiretest.c
lustre/tests/sanity.sh
lustre/tests/sanityn.sh
lustre/utils/lfs.c
lustre/utils/liblustreapi.c
lustre/utils/wirecheck.c
lustre/utils/wiretest.c