Whamcloud - gitweb
LU-17713 mdd: validate the length of mdd append_pool name 91/54691/6
authorEmoly Liu <emoly@whamcloud.com>
Wed, 10 Apr 2024 09:18:03 +0000 (09:18 +0000)
committerOleg Drokin <green@whamcloud.com>
Tue, 23 Apr 2024 19:57:18 +0000 (19:57 +0000)
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.

Signed-off-by: Emoly Liu <emoly@whamcloud.com>
Change-Id: Id7083fab60e9a18af4d8eedfa3d55f37544ba15d
Reviewed-on: https://review.whamcloud.com/c/fs/lustre-release/+/54691
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: Oleg Drokin <green@whamcloud.com>
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
Reviewed-by: Zhenyu Xu <bobijam@hotmail.com>

No differences found