Whamcloud - gitweb
LU-14507 mdt: handle default stripe_count=-1 properly 83/41983/6
authorAndreas Dilger <adilger@whamcloud.com>
Wed, 10 Mar 2021 16:57:44 +0000 (09:57 -0700)
committerOleg Drokin <green@whamcloud.com>
Tue, 30 Mar 2021 04:16:44 +0000 (04:16 +0000)
commitd9753b5ba6ad29fd8958a47b462d2fa594ba1145
tree6bae5e280589c78b8eafd0c755a2a446edad46d6
parentea964031d7bdc6f31fccb7f136591b682eb35087
LU-14507 mdt: handle default stripe_count=-1 properly

If the default LMV stripe_count=-1 print it as a signed value
instead of unsigned, to better match how it is set with "-c -1".

Signed-off-by: Andreas Dilger <adilger@whamcloud.com>
Change-Id: I106f266c33e2c2cf0f5bcc1491e4bc5ac93ebbe5
Reviewed-on: https://review.whamcloud.com/41983
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: Jian Yu <yujian@whamcloud.com>
Reviewed-by: Lai Siyao <lai.siyao@whamcloud.com>
Reviewed-by: Oleg Drokin <green@whamcloud.com>
lustre/include/lustre_lmv.h
lustre/mdt/mdt_lib.c
lustre/tests/sanity.sh
lustre/utils/liblustreapi.c