]> git.karo-electronics.de Git - karo-tx-linux.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)
commit77310320c299b0dc050037ff8fc29fd1861fb005
tree04932e112c578f7f8dd982fd37df2366511b247e
parentd463a43d69f4af85887671d76182437775fd1631
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