Whamcloud - gitweb
LU-10462 lod: Correct lfs --component-add striping 48/31048/3
authorGiuseppe Di Natale <dinatale2@llnl.gov>
Mon, 8 Jan 2018 16:50:39 +0000 (08:50 -0800)
committerJohn L. Hammond <john.hammond@intel.com>
Fri, 2 Feb 2018 19:19:45 +0000 (19:19 +0000)
commit50021977720a419f6df809ee43cdf687bc9f0877
tree90ab3ab85a393e739c3393b985dd10c4383c2713
parent0e38e97e2c4209ac31f3f6f9bc245da9a991006c
LU-10462 lod: Correct lfs --component-add striping

lfs --component-add -E <end> -c -1 would apply the default
stripe count to a file when it should be striping across
all OSTs. This was due to incorrect handling of sentinel
values in various portions of lod_object.

Lustre-change: https://review.whamcloud.com/30790
Lustre-commit: b7285d387c78fbd11579c577230593ba1b0be84e

Signed-off-by: Giuseppe Di Natale <dinatale2@llnl.gov>
Change-Id: I178f13be81ee546f44edcdadcf7086a1a57f7e9a
Reviewed-by: Andreas Dilger <andreas.dilger@intel.com>
Reviewed-by: Bobi Jam <bobijam@hotmail.com>
Signed-off-by: Minh Diep <minh.diep@intel.com>
Reviewed-on: https://review.whamcloud.com/31048
Tested-by: Jenkins
Tested-by: Maloo <hpdd-maloo@intel.com>
Reviewed-by: John L. Hammond <john.hammond@intel.com>
lustre/lod/lod_object.c