Whamcloud - gitweb
LU-4928 utils: LLAPI helpers for file leases 22/10022/8
authorHenri Doreau <henri.doreau@cea.fr>
Fri, 18 Apr 2014 19:47:37 +0000 (21:47 +0200)
committerOleg Drokin <oleg.drokin@intel.com>
Fri, 5 Sep 2014 00:25:12 +0000 (00:25 +0000)
commite5f0eff4514adbfca7a7de6a6e4c1d0448089698
treefeeba420455510f098da439bd1b4eadbcfb8b098
parent9cb4e3fcfdd314cff77b89e36cb7138f4e409c41
LU-4928 utils: LLAPI helpers for file leases

Introduced llapi_lease_{get,check,put} functions to abstract the ioctl
implementation to manipulate file leases.

Signed-off-by: Henri Doreau <henri.doreau@cea.fr>
Change-Id: I956408defe550c1b432526e142825ea736d0e285
Reviewed-on: http://review.whamcloud.com/10022
Tested-by: Jenkins
Reviewed-by: Jinshan Xiong <jinshan.xiong@intel.com>
Reviewed-by: Andreas Dilger <andreas.dilger@intel.com>
Tested-by: Maloo <hpdd-maloo@intel.com>
lustre/include/lustre/lustreapi.h
lustre/utils/Makefile.am
lustre/utils/liblustreapi_lease.c [new file with mode: 0644]