Whamcloud - gitweb
LU-11482 flr: Inherit flags from template 26/33326/10
authorPatrick Farrell <paf@cray.com>
Thu, 11 Oct 2018 11:55:42 +0000 (06:55 -0500)
committerOleg Drokin <green@whamcloud.com>
Tue, 23 Oct 2018 05:19:07 +0000 (05:19 +0000)
commit1eeb1455c2770edc92b2d127d5a2a22efe213773
tree14904bbf4fada9d49158da399d061c45bab9e549
parentd614ff561cb6bd9a9b35310c99dd991c55797d97
LU-11482 flr: Inherit flags from template

New files created in directories with a default layout
should inherit the per-component layout flags.

This allows us to set the prefer or nosync flags in a
default layout and apply them to files created in that
directory.

Cray-bug-id: LUS-6574
Signed-off-by: Patrick Farrell <paf@cray.com>
Change-Id: I053ca0f3db3e0967799f469feeb4f1f12b144be7
Reviewed-on: https://review.whamcloud.com/33326
Tested-by: Jenkins
Tested-by: Maloo <hpdd-maloo@intel.com>
Reviewed-by: Bobi Jam <bobijam@hotmail.com>
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
Reviewed-by: Oleg Drokin <green@whamcloud.com>
lustre/include/uapi/linux/lustre/lustre_user.h
lustre/lod/lod_object.c
lustre/tests/sanity-flr.sh