ceph: defer flushing the capsnap if the Fb is used ceph-for-5.12-rc1
authorXiubo Li <xiubli@redhat.com>
Tue, 2 Feb 2021 06:54:53 +0000 (14:54 +0800)
committerIlya Dryomov <idryomov@gmail.com>
Tue, 16 Feb 2021 11:09:52 +0000 (12:09 +0100)
commit558b4510f622a3d96cf9d95050a04e7793d343c7
tree07048dbf2929942fcb83a7994af1b5d7134d242a
parentd7ef2e59e3b908285fbbb815c4547bdba4299890
ceph: defer flushing the capsnap if the Fb is used

If the Fb cap is used it means the current inode is flushing the
dirty data to OSD, just defer flushing the capsnap.

URL: https://tracker.ceph.com/issues/48640
Signed-off-by: Xiubo Li <xiubli@redhat.com>
Reviewed-by: Jeff Layton <jlayton@kernel.org>
Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
fs/ceph/caps.c
fs/ceph/snap.c