Whamcloud - gitweb
LU-9371 tools: handle component options properly 66/26766/13
authorNiu Yawei <yawei.niu@intel.com>
Fri, 21 Apr 2017 01:44:09 +0000 (21:44 -0400)
committerOleg Drokin <oleg.drokin@intel.com>
Sat, 3 Jun 2017 03:55:12 +0000 (03:55 +0000)
commit8e02647def0d806023cb3bb4b91c5b1e38ee2872
tree376f4e929d21397c279d03728a1b45633bfdaed1
parente711370e13dcbe059e2551aa575c41d62cbcfca9
LU-9371 tools: handle component options properly

'lfs find' should match the file when any individual component of
the file matches all criteria. The component options should be
combined checking against individual component are:
--component-start, --component-end and --component-flags.

Fixed man page and usage message for 'lfs find':
'+N' actually means more than N, but not 'AT LEAST'
'-N' actually means less than N, but not 'AT MOST'

Test-Parameters: testlist=sanity-pfl
Signed-off-by: Niu Yawei <yawei.niu@intel.com>
Change-Id: Ibdcd3167eb4b2de6d1754b9de563d3ec46828379
Reviewed-on: https://review.whamcloud.com/26766
Reviewed-by: Andreas Dilger <andreas.dilger@intel.com>
Reviewed-by: Emoly Liu <emoly.liu@intel.com>
Tested-by: Jenkins
Tested-by: Maloo <hpdd-maloo@intel.com>
Reviewed-by: Oleg Drokin <oleg.drokin@intel.com>
lustre/doc/lfs.1
lustre/tests/sanity-pfl.sh
lustre/utils/lfs.c
lustre/utils/liblustreapi.c