ceph: flush dirty caps of unlinked inode ASAP
authorZhi Zhang <zhang.david2011@gmail.com>
Wed, 24 Jan 2018 13:24:33 +0000 (21:24 +0800)
committerIlya Dryomov <idryomov@gmail.com>
Mon, 26 Feb 2018 15:19:16 +0000 (16:19 +0100)
commit6ef0bc6ddee1f62310877a1d53b1ea1d0d8e51a2
treea4657907e7179ff8d0ffe81c26cae5911790bc41
parent4a3928c6f8a53fa1aed28ccba227742486e8ddcb
ceph: flush dirty caps of unlinked inode ASAP

Client should release unlinked inode from its cache ASAP. But client
can't release inode with dirty caps.

Link: http://tracker.ceph.com/issues/22886
Signed-off-by: Zhi Zhang <zhang.david2011@gmail.com>
Reviewed-by: "Yan, Zheng" <zyan@redhat.com>
Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
fs/ceph/caps.c
fs/ceph/dir.c
fs/ceph/super.h