Whamcloud - gitweb
LU-8653 lod: use stripe_count instead of stripe_nr 81/26681/6
authorAndreas Dilger <andreas.dilger@intel.com>
Sat, 1 Oct 2016 00:07:17 +0000 (18:07 -0600)
committerOleg Drokin <oleg.drokin@intel.com>
Thu, 31 Aug 2017 19:17:26 +0000 (19:17 +0000)
commit53d3890f16e4c6e5717c4d020ef213897a36c2b7
treead7c7dbf16e21086635204f8cf4f9a92d2549fe5
parent5bbe836fe53a3c2f7d7ff245d0b3b6122827f755
LU-8653 lod: use stripe_count instead of stripe_nr

Replace the use of stripenr and stripecnt in the code with
stripe_count to be consistent the rest of the code.

Introduce LOV_PATTERN_NONE instead of using "0" around the
code to indicate no layout has been specified.

Introduce LOV_PATTERN_DEFAULT to indicate the entire layout
is unset, instead of using "0xffffffff" in the code.

Test-Parameters: trivial
Signed-off-by: Andreas Dilger <andreas.dilger@intel.com>
Change-Id: I6056aebc1a381b09c1a436fb4a7986a51f3ebbe5
Reviewed-on: https://review.whamcloud.com/26681
Tested-by: Jenkins
Tested-by: Maloo <hpdd-maloo@intel.com>
Reviewed-by: Lai Siyao <lai.siyao@intel.com>
Reviewed-by: Steve Guminski <stephenx.guminski@intel.com>
Reviewed-by: Oleg Drokin <oleg.drokin@intel.com>
16 files changed:
lustre/include/uapi/linux/lustre/lustre_user.h
lustre/llite/file.c
lustre/lod/lod_internal.h
lustre/lod/lod_lov.c
lustre/lod/lod_object.c
lustre/lod/lod_qos.c
lustre/lov/lov_ea.c
lustre/lov/lov_internal.h
lustre/lov/lov_obd.c
lustre/lov/lov_pack.c
lustre/lov/lov_request.c
lustre/mdc/mdc_lib.c
lustre/obdecho/echo_client.c
lustre/tests/sanity.sh
lustre/tests/sanityn.sh
lustre/utils/liblustreapi.c