]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
client: allow interrupting blocked file lock operation
authorYan, Zheng <zyan@redhat.com>
Mon, 13 Oct 2014 02:44:46 +0000 (10:44 +0800)
committerYan, Zheng <zyan@redhat.com>
Mon, 13 Oct 2014 06:43:00 +0000 (14:43 +0800)
commit4134c149d3759dd6a3aaa1a353b77bbfe8e9491b
tree198848b663cce829fd546c66c987e5fe345f6441
parent289e8b4a7efa1ae6427115af9bbe541c9e1f0e90
client: allow interrupting blocked file lock operation

This commit introduce two new types of setfilelock request. Unlike
setfilelock (UNLOCK) request, these two new types of setfilelock request
do not drop locks that have alread been acquired, they only interrupt
blocked setfilelock request.

Signed-off-by: Yan, Zheng <zyan@redhat.com>
src/client/Client.cc
src/client/Client.h
src/client/fuse_ll.cc
src/include/ceph_fs.h
src/mds/Server.cc