Whamcloud - gitweb
LU-16218 utils: add component flags "prefrd" and "prefwr" 08/52508/2
authorJian Yu <yujian@whamcloud.com>
Tue, 26 Sep 2023 19:45:07 +0000 (12:45 -0700)
committerJian Yu <yujian@whamcloud.com>
Tue, 26 Sep 2023 19:45:07 +0000 (12:45 -0700)
commita4cd76c790c46b4bf6d85e386b1054d4b925e095
treed9ec314fdb50c4c0aba64e91c7bedfa57acdb814
parent1aec91ac64039330dc2325cf3f2527b140fd60f4
LU-16218 utils: add component flags "prefrd" and "prefwr"

The initial implementation of "lfs setstripe ... --comp-flags=prefer"
only allowed specifying a single "prefer" argument for a given
mirror component, which would set both the "LCME_FL_PREF_RD" and
"LCME_FL_PREF_WR" flags at the same time.

This patch adds the separated component flags "prefrd" and "prefwr"
to allow setting the individual flags on a component.

Test-Parameters: trivial testlist=sanity-flr

Change-Id: I3e413cb37fab7ab2834946536705ce61a3feeed4
Signed-off-by: Jian Yu <yujian@whamcloud.com>
lustre/doc/lfs-find.1
lustre/doc/lfs-getstripe.1
lustre/doc/lfs-setstripe.1
lustre/include/lustre/lustreapi.h
lustre/tests/sanity-flr.sh
lustre/utils/lfs.c
lustre/utils/liblustreapi.c