ceph: put unused osd connections on lru
authorYehuda Sadeh <yehuda@hq.newdream.net>
Wed, 3 Feb 2010 19:00:26 +0000 (11:00 -0800)
committerSage Weil <sage@newdream.net>
Thu, 11 Feb 2010 19:48:48 +0000 (11:48 -0800)
Instead of removing osd connection immediately when the
requests list is empty, put the osd connection on an lru.
Only if that osd has not been used for more than a specified
time, will it be removed.

Signed-off-by: Yehuda Sadeh <yehuda@hq.newdream.net>
Signed-off-by: Sage Weil <sage@newdream.net>

No differences found