Whamcloud - gitweb
LU-8653 lod: use stripe_count instead of stripe_nr 42/29142/4
authorAndreas Dilger <andreas.dilger@intel.com>
Sat, 1 Oct 2016 00:07:17 +0000 (18:07 -0600)
committerJohn L. Hammond <john.hammond@intel.com>
Fri, 2 Feb 2018 17:17:28 +0000 (17:17 +0000)
commit0e3d4c768892b308c9682c00772045900a5566d0
tree7a42385b47710750702e38aa265f584ea16b7fdd
parentc6bcf75d2a2abea4a3c9eb4aa5e33aeb938e00f1
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
Lustre-change: https://review.whamcloud.com/26681
Lustre-commit: 53d3890f16e4c6e5717c4d020ef213897a36c2b7

Signed-off-by: Andreas Dilger <andreas.dilger@intel.com>
Change-Id: I6056aebc1a381b09c1a436fb4a7986a51f3ebbe5
Reviewed-by: Lai Siyao <lai.siyao@intel.com>
Reviewed-by: Steve Guminski <stephenx.guminski@intel.com>
Signed-off-by: Minh Diep <minh.diep@intel.com>
Reviewed-on: https://review.whamcloud.com/29142
Tested-by: Jenkins
Tested-by: Maloo <hpdd-maloo@intel.com>
Reviewed-by: John L. Hammond <john.hammond@intel.com>
16 files changed:
lustre/include/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