Ceph pool support and Bug fixes.

Add high level comment, describing the function.  How does it work?