Whamcloud - gitweb
LU-14507 mdt: handle default stripe_count=-1 properly
authorAndreas Dilger <adilger@whamcloud.com>
Wed, 10 Mar 2021 16:57:44 +0000 (09:57 -0700)
committerLi Xi <lixi@ddn.com>
Wed, 28 Apr 2021 13:42:46 +0000 (13:42 +0000)
commitd59f9360c6af6523cdb8753f9c0aa515b7bb547a
treec3a01ceefdfff27e74fce9dfcc5ea5e72435117b
parentc10f91a704c98cc4e396072be76a2d358ee487d2
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".

Lustre-commit: d9753b5ba6ad29fd8958a47b462d2fa594ba1145
Lustre-change: https://review.whamcloud.com/41983

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