]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commit - fs/ceph/inode.c
ceph: use list instead of rbtree to track cap flushes
authorYan, Zheng <zyan@redhat.com>
Wed, 6 Jul 2016 03:12:56 +0000 (11:12 +0800)
committerIlya Dryomov <idryomov@gmail.com>
Thu, 28 Jul 2016 01:00:42 +0000 (03:00 +0200)
commite4500b5e35c213e0f97be7cb69328c0877203a79
tree67ce2673600daf716923ac9b8675796bbd5127b1
parent3609404f8c782c01fe626a03949641dddbc65c34
ceph: use list instead of rbtree to track cap flushes

We don't have requirement of searching cap flush by TID. In most cases,
we just need to know TID of the oldest cap flush. List is ideal for this
usage.

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