Whamcloud - gitweb
LU-11753 utils: print out DNE2 directory hash flags 43/33843/2
authorAndreas Dilger <adilger@whamcloud.com>
Thu, 13 Dec 2018 00:37:50 +0000 (17:37 -0700)
committerOleg Drokin <green@whamcloud.com>
Mon, 17 Dec 2018 19:34:53 +0000 (19:34 +0000)
commit795eea12271f5c1bab3414803db3538d7c266d66
tree23665f851b560b00daba7c973f02548ffe4a8722
parentdb0592145574c5ad22a7b7372b06ba2da7d85a60
LU-11753 utils: print out DNE2 directory hash flags

There may be flags stored in the lmv_hash_type field, such as
"LMV_HASH_FLAG_MIGRATION" that is set while the directory is
being migrated.  Print out the flag from "lfs getdirstripe".

This is still missing support for "lfs find" to find directories
that have incomplete migration.

Test-Parameters: trivial
Signed-off-by: Andreas Dilger <adilger@whamcloud.com>
Change-Id: Ib6b362f9eb993b5fa0562b3a51b54eaee1ccab07
Reviewed-on: https://review.whamcloud.com/33843
Reviewed-by: Stephan Thiell <sthiell@stanford.edu>
Tested-by: Jenkins
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: Alex Zhuravlev <bzzz@whamcloud.com>
Reviewed-by: Lai Siyao <lai.siyao@whamcloud.com>
Reviewed-by: Oleg Drokin <green@whamcloud.com>
lustre/utils/liblustreapi.c