Whamcloud - gitweb
LU-9351 pfl: setstripe to existing file 55/26655/2
authorNiu Yawei <yawei.niu@intel.com>
Mon, 17 Apr 2017 12:58:32 +0000 (08:58 -0400)
committerOleg Drokin <oleg.drokin@intel.com>
Wed, 26 Apr 2017 03:37:09 +0000 (03:37 +0000)
commit8e6c461eba6cb4210bb399180ce831788d78e003
tree66d4eefd508027f314190f6dcee0ec47bfc0e94e
parent9460ff5f13102c5981f71e0bbffd4485977517ac
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/26655
Tested-by: Jenkins
Reviewed-by: Andreas Dilger <andreas.dilger@intel.com>
Tested-by: Maloo <hpdd-maloo@intel.com>
Reviewed-by: Jinshan Xiong <jinshan.xiong@intel.com>
lustre/utils/lfs.c