Whamcloud - gitweb
LU-6785 utils: compatibility fix for lfs migrate 38/16238/4
authorHenri Doreau <henri.doreau@cea.fr>
Fri, 4 Sep 2015 08:17:53 +0000 (10:17 +0200)
committerOleg Drokin <oleg.drokin@intel.com>
Thu, 10 Sep 2015 04:03:47 +0000 (04:03 +0000)
commita99e42c9fa47677cd2468abfa9378d776cc40803
tree465cd5932d2e72ed0232bc243c6e9de6b98e0442
parent091988499717c729f8870b331ab3774b249d5818
LU-6785 utils: compatibility fix for lfs migrate

Make lfs migrate able to operate against servers that support
file lease but not atomic swap/close (as added in LU-4840).

Make blocking mode the default and add a --non-block switch to
lfs accordingly.

Signed-off-by: Henri Doreau <henri.doreau@cea.fr>
Change-Id: I7d3cdccfcc5bec78e69c69615ee29cac11f6f31f
Reviewed-on: http://review.whamcloud.com/16238
Tested-by: Jenkins
Tested-by: Maloo <hpdd-maloo@intel.com>
Reviewed-by: John L. Hammond <john.hammond@intel.com>
Reviewed-by: Jinshan Xiong <jinshan.xiong@intel.com>
Reviewed-by: Oleg Drokin <oleg.drokin@intel.com>
lustre/utils/lfs.c