Whamcloud - gitweb
LU-10462 lod: Correct lfs --component-add striping 90/30790/4
authorGiuseppe Di Natale <dinatale2@llnl.gov>
Mon, 8 Jan 2018 16:50:39 +0000 (08:50 -0800)
committerOleg Drokin <oleg.drokin@intel.com>
Thu, 25 Jan 2018 04:48:01 +0000 (04:48 +0000)
commitb7285d387c78fbd11579c577230593ba1b0be84e
tree48fd8aa9259e577dd3b2ad803bba681bb12fe0dd
parent6beda4e18a26ae7d3e3ac3e4375a77c331c3baa8
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.

Signed-off-by: Giuseppe Di Natale <dinatale2@llnl.gov>
Change-Id: I178f13be81ee546f44edcdadcf7086a1a57f7e9a
Reviewed-on: https://review.whamcloud.com/30790
Tested-by: Jenkins
Tested-by: Maloo <hpdd-maloo@intel.com>
Reviewed-by: Andreas Dilger <andreas.dilger@intel.com>
Reviewed-by: Bobi Jam <bobijam@hotmail.com>
Reviewed-by: Oleg Drokin <oleg.drokin@intel.com>
lustre/lod/lod_object.c
lustre/tests/sanity-flr.sh