Whamcloud - gitweb
LU-9351 pfl: setstripe to existing file 55/26755/2
authorNiu Yawei <yawei.niu@intel.com>
Mon, 17 Apr 2017 12:58:32 +0000 (08:58 -0400)
committerJinshan Xiong <jinshan.xiong@intel.com>
Thu, 4 May 2017 21:11:22 +0000 (21:11 +0000)
commitb68f34c912696fc241ec5819e45f59954e3ce8b2
treefe368164f582f7bc99e5c9804d638da98df560db
parentecbef199d2feebb49bca56553707c71a6f789144
LU-9351 pfl: setstripe to existing file

It's ok to setstripe to an existing file when the file has no
LOVEA created yet, so we should not use exlusive open for the
'lfs setstripe'.

Signed-off-by: Niu Yawei <yawei.niu@intel.com>
Change-Id: I2090ba2940b391f7853cc06ccdb9cd842ad6f984
Reviewed-on: https://review.whamcloud.com/26755
Tested-by: Jenkins
Tested-by: Maloo <hpdd-maloo@intel.com>
Reviewed-by: Andreas Dilger <andreas.dilger@intel.com>
lustre/utils/lfs.c