squash me to : "base: lock meta data allocator in ram-session"

Issue #549