]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
mon/MDSMonitor: prevent pool 0 from being used as a data pool
authorSage Weil <sage@redhat.com>
Mon, 1 Feb 2016 18:01:32 +0000 (13:01 -0500)
committerSage Weil <sage@redhat.com>
Tue, 1 Mar 2016 16:18:17 +0000 (11:18 -0500)
commit9c7669b95ad7468376e8618f1c508bfbba3fe061
tree3a69f3612a9751319ccf54fed838441386b25dde
parenta2d42d5572d9e1fe694740505e87c9a203df302b
mon/MDSMonitor: prevent pool 0 from being used as a data pool

Pool 0 means no change or default in the legacy ceph_file_layout in the
layout ioctl and file create arguments. Prevent it from being used to avoid
putting users in an awkward situation later.

Signed-off-by: Sage Weil <sage@redhat.com>
src/mon/MDSMonitor.cc