Whamcloud - gitweb
LU-17713 mdd: validate the length of mdd append_pool name
authorEmoly Liu <emoly@whamcloud.com>
Wed, 10 Apr 2024 09:18:03 +0000 (09:18 +0000)
committerAndreas Dilger <adilger@whamcloud.com>
Sat, 27 Apr 2024 22:30:02 +0000 (22:30 +0000)
commitfab27d6cec2a5669ac35f399b90c3f203237a57a
tree19677dee48b88c58bf3973810c6a231a31e57d61
parent16c36bc62ddae782588bf3a64ff079010065e331
LU-17713 mdd: validate the length of mdd append_pool name

Validate the length of mdd append_pool name (<= LOV_MAXPOOLNAME)
before saving it in function append_pool_store().
Also, sanity.sh test_27M is improved a little to verify this fix.

Lustre-change: https://review.whamcloud.com/54691
Lustre-commit: 509a7cf9778968f796794c3743e62bc6b2a71592

Signed-off-by: Emoly Liu <emoly@whamcloud.com>
Change-Id: Id7083fab60e9a18af4d8eedfa3d55f37544ba15d
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
Reviewed-by: Zhenyu Xu <bobijam@hotmail.com>
Reviewed-on: https://review.whamcloud.com/c/ex/lustre-release/+/54889
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
lustre/mdd/mdd_lproc.c
lustre/tests/sanity.sh