ceph: use rbtree for mds requests
authorSage Weil <sage@newdream.net>
Mon, 15 Feb 2010 20:08:46 +0000 (12:08 -0800)
committerSage Weil <sage@newdream.net>
Wed, 17 Feb 2010 06:01:08 +0000 (22:01 -0800)
commit44ca18f2682eb1cfbed153849adedb79e3e19790
tree063dd8382179e65717ec10dc1ffc135950050abd
parent91e45ce38946a8efa21fefbc65d023ca3c0b434f
ceph: use rbtree for mds requests

The rbtree is a more appropriate data structure than a radix_tree.  It
avoids extra memory usage and simplifies the code.

It also fixes a bug where the debugfs 'mdsc' file wasn't including the
most recent mds request.

Signed-off-by: Sage Weil <sage@newdream.net>
fs/ceph/debugfs.c
fs/ceph/mds_client.c
fs/ceph/mds_client.h