]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
client: register callback for fuse interrupt
authorYan, Zheng <zyan@redhat.com>
Thu, 9 Oct 2014 01:42:08 +0000 (09:42 +0800)
committerGreg Farnum <gfarnum@redhat.com>
Fri, 13 Feb 2015 22:41:09 +0000 (14:41 -0800)
commit875e2fcb060554941d94714ad48ebbc0cbbf8077
tree0aa1679a1b6c787beedc38943ea4c924ccb7d5db
parentc96aabbd54b24a0273af21a450cd6f517fe4ada0
client: register callback for fuse interrupt

libfuse allows program to reigster a callback for interrupt. When a file
system operation is interrupted, the fuse kernel driver sends interupt
request to libfuse. libfuse calls the interrupt callback when receiving
interrupt request.

Signed-off-by: Yan, Zheng <zyan@redhat.com>
(cherry picked from commit 289e8b4a7efa1ae6427115af9bbe541c9e1f0e90)
src/client/Client.cc
src/client/Client.h
src/client/fuse_ll.cc