refcounting for dtree cache