Whamcloud - gitweb
LU-10418 flr: revise lease API 63/30363/11
authorJinshan Xiong <jinshan.xiong@intel.com>
Sat, 20 Jan 2018 19:45:50 +0000 (19:45 +0000)
committerOleg Drokin <oleg.drokin@intel.com>
Tue, 6 Feb 2018 04:25:48 +0000 (04:25 +0000)
commit8f1c7c1e44a4cc8870eb2b2a71da323e265881b4
treee3f5b2c00d29b6bdf5e61dceb081a62c4af436a8
parentb6e718def348c53759a12afee9450207fc7ab56f
LU-10418 flr: revise lease API

Introduce two lease API llapi_lease_{acquire,release}() to replace
confusing llapi_lease_{get,put}(). Rename llapi_lease_ext_get() to
llapi_lease_set(). Implement new mirror_extend_layout() to separate
lfs_migrate().

Signed-off-by: Jinshan Xiong <jinshan.xiong@intel.com>
Change-Id: I88ab1f7f27aa81c44418aecf31c9e89e494fc01e
Reviewed-on: https://review.whamcloud.com/30363
Tested-by: Jenkins
Reviewed-by: Bobi Jam <bobijam@hotmail.com>
Tested-by: Maloo <hpdd-maloo@intel.com>
Reviewed-by: Andreas Dilger <andreas.dilger@intel.com>
lustre/include/lustre/lustreapi.h
lustre/include/uapi/linux/lustre/lustre_user.h
lustre/llite/file.c
lustre/tests/mirror_io.c
lustre/tests/multiop.c
lustre/tests/swap_lock_test.c
lustre/utils/lfs.c
lustre/utils/liblustreapi_lease.c