]> git.baikalelectronics.ru Git - kernel.git/commit
ceph: renew caps for read/write if mds session got killed.
authorYan, Zheng <zyan@redhat.com>
Fri, 8 Apr 2016 07:27:16 +0000 (15:27 +0800)
committerIlya Dryomov <idryomov@gmail.com>
Wed, 25 May 2016 23:15:31 +0000 (01:15 +0200)
commitfcab8967a301f01abc112669eecc2ef62360dcd0
tree04932e112c578f7f8dd982fd37df2366511b247e
parenta27ed7297a464c931d39246bb6cf891df060ce3f
ceph: renew caps for read/write if mds session got killed.

When mds session gets killed, read/write operation may hang.
Client waits for Frw caps, but mds does not know what caps client
wants. To recover this, client sends an open request to mds. The
request will tell mds what caps client wants.

Signed-off-by: Yan, Zheng <zyan@redhat.com>
fs/ceph/caps.c
fs/ceph/file.c
fs/ceph/mds_client.c
fs/ceph/super.h