Ceph pool support and Bug fixes.

Can you explain why you need to loop in a comment?