Whamcloud - gitweb
LU-8998 tools: support negative flags 90/26490/7
authorNiu Yawei <yawei.niu@intel.com>
Fri, 31 Mar 2017 03:01:46 +0000 (23:01 -0400)
committerOleg Drokin <oleg.drokin@intel.com>
Tue, 16 May 2017 05:44:08 +0000 (05:44 +0000)
commit7a1c0f950f8733c3f44e28a3b96d579797e46e80
tree31f4dbda95bc06d53f3e7b1b3370108753bf5a11
parent64b2fad22a4eb4727315709e014d8f74c5a7f289
LU-8998 tools: support negative flags

- Make 'lfs setstripe --component-flags' support negative flags
  "^init".
- Change llapi_layout_file_comp_del() to accept both 'id' and
  'flags', 'id' must be real ID, 'flags' can be negative flags.
- Fix swab defect in lod_declare_layout_del().
- Update man pages and test scripts accordingly.

Signed-off-by: Niu Yawei <yawei.niu@intel.com>
Change-Id: I9b66492133f56eabc928dbbb41bb8eb5627be095
Reviewed-on: https://review.whamcloud.com/26490
Tested-by: Jenkins
Reviewed-by: Andreas Dilger <andreas.dilger@intel.com>
Tested-by: Maloo <hpdd-maloo@intel.com>
Reviewed-by: Jinshan Xiong <jinshan.xiong@intel.com>
lustre/doc/lfs-setstripe.1
lustre/doc/llapi_layout_file_comp_del.3
lustre/include/lustre/lustre_user.h
lustre/include/lustre/lustreapi.h
lustre/lod/lod_lov.c
lustre/lod/lod_object.c
lustre/tests/llapi_layout_test.c
lustre/tests/sanity-pfl.sh
lustre/utils/lfs.c
lustre/utils/liblustreapi_layout.c