Whamcloud - gitweb
LU-11773 utils: add PFL flags support to YAML API 54/34454/3
authorPatrick Farrell <paf@cray.com>
Thu, 13 Dec 2018 20:21:31 +0000 (14:21 -0600)
committerOleg Drokin <green@whamcloud.com>
Mon, 1 Apr 2019 06:19:13 +0000 (06:19 +0000)
commit69ac96aade233bfbf75a59c62581b6f1df5456bc
tree79745eeb5985c72b8365c36d49cf93d1b5f83329
parente0440439285402ab9fcfb7a566cd0812b9bcbaf2
LU-11773 utils: add PFL flags support to YAML API

The setstripe YAML interface currently ignores the
lcme_flags field. This means it doesn't work correctly with
some FLR layouts.

Fixing this is a trivial matter of making the YAML layout
generator read & use the lcme_flags field.

Lustre-change: https://review.whamcloud.com/33852
Lustre-commit: b71766311daa0faf3560a2435778f7b2de1e3ad6

Signed-off-by: Patrick Farrell <paf@cray.com>
Change-Id: If15999aa58ac3e31da677bd5d1ef8b063b46b1e5
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
Reviewed-by: Jian Yu <yujian@whamcloud.com>
Signed-off-by: Minh Diep <mdiep@whamcloud.com>
Reviewed-on: https://review.whamcloud.com/34454
Tested-by: Jenkins
Tested-by: Maloo <maloo@whamcloud.com>
lustre/tests/sanity-flr.sh
lustre/tests/sanity-pfl.sh
lustre/tests/test-framework.sh
lustre/utils/lfs.c