From e5ba0e4088bbd773f440b686964521d512fa147d Mon Sep 17 00:00:00 2001 From: Brad Hubbard Date: Sun, 14 Jan 2018 09:00:44 +1000 Subject: [PATCH] mon/OSDMonitor: Better prepare_command_pool_set E2BIG error message Signed-off-by: Brad Hubbard (cherry picked from commit d2c0fe9b5319a4404965c40ec92e291802ef30f6) --- src/mon/OSDMonitor.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/mon/OSDMonitor.cc b/src/mon/OSDMonitor.cc index 9ce27c1362932..2d755ce159115 100644 --- a/src/mon/OSDMonitor.cc +++ b/src/mon/OSDMonitor.cc @@ -6589,8 +6589,8 @@ int OSDMonitor::prepare_command_pool_set(map &cmdmap, if (new_pgs > g_conf->mon_osd_max_split_count * expected_osds) { ss << "specified pg_num " << n << " is too large (creating " << new_pgs << " new PGs on ~" << expected_osds - << " OSDs exceeds per-OSD max of " << g_conf->mon_osd_max_split_count - << ')'; + << " OSDs exceeds per-OSD max with mon_osd_max_split_count of " + << g_conf->mon_osd_max_split_count << ')'; return -E2BIG; } p.set_pg_num(n); -- 2.39.5