summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSage Weil <sage@inktank.com>2013-09-12 07:20:02 -0700
committerSage Weil <sage@inktank.com>2013-09-12 07:20:02 -0700
commit46337296949b330cbbe88474ae0c2ad16b1512ef (patch)
treecdb9ae599aa0d149c015b1d76513267e181abb66
parent73e626ccea957a7ecca8ee872c6a6350cdcc7cf2 (diff)
downloadceph-46337296949b330cbbe88474ae0c2ad16b1512ef.tar.gz
mon/OSDMonitor: make busy creating pgs message more explicit
Fixes: #6287 Signed-off-by: Sage Weil <sage@inktank.com>
-rw-r--r--src/mon/OSDMonitor.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mon/OSDMonitor.cc b/src/mon/OSDMonitor.cc
index 8eb88a829b1..73d24c9f05c 100644
--- a/src/mon/OSDMonitor.cc
+++ b/src/mon/OSDMonitor.cc
@@ -3598,7 +3598,7 @@ done:
ss << "specified pg_num " << n << " <= current " << p->get_pg_num();
err = -EINVAL;
} else if (!mon->pgmon()->pg_map.creating_pgs.empty()) {
- ss << "currently creating pgs, wait";
+ ss << "busy creating pgs; try again later";
err = -EAGAIN;
} else {
pending_inc.get_new_pool(pool, p)->set_pg_num(n);
@@ -3608,7 +3608,7 @@ done:
if (n > p->get_pg_num()) {
ss << "specified pgp_num " << n << " > pg_num " << p->get_pg_num();
} else if (!mon->pgmon()->pg_map.creating_pgs.empty()) {
- ss << "still creating pgs, wait";
+ ss << "busy creating pgs; try again later";
err = -EAGAIN;
} else {
pending_inc.get_new_pool(pool, p)->set_pgp_num(n);