]> git.baikalelectronics.ru Git - kernel.git/commit
ceph: defer flushing the capsnap if the Fb is used
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)
commit42fdb4e7f42daca972bc80b88307167fb897523a
tree07048dbf2929942fcb83a7994af1b5d7134d242a
parenta1aa53086f1f0a431ee81a6ce94ed12b066e0a0d
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