Ceph pool support and Bug fixes.

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