diff options
author | Ilya Dryomov <idryomov@gmail.com> | 2022-03-12 11:09:34 +0100 |
---|---|---|
committer | Ilya Dryomov <idryomov@gmail.com> | 2022-04-25 10:45:15 +0200 |
commit | dc9b0dc4561dedd44b2bf4b8e5ef1a8a040b2424 (patch) | |
tree | 2183bd2dd8359afac5ce26eb7cd02bf21c178671 | |
parent | af2d861d4cd2a4da5137f795ee3509e6f944a25b (diff) | |
download | linux-stable-dc9b0dc4561dedd44b2bf4b8e5ef1a8a040b2424.tar.gz linux-stable-dc9b0dc4561dedd44b2bf4b8e5ef1a8a040b2424.tar.bz2 linux-stable-dc9b0dc4561dedd44b2bf4b8e5ef1a8a040b2424.zip |
libceph: disambiguate cluster/pool full log message
Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
-rw-r--r-- | net/ceph/osd_client.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/net/ceph/osd_client.c b/net/ceph/osd_client.c index 1c5815530e0d..83eb97c94e83 100644 --- a/net/ceph/osd_client.c +++ b/net/ceph/osd_client.c @@ -2385,7 +2385,11 @@ again: if (ceph_test_opt(osdc->client, ABORT_ON_FULL)) { err = -ENOSPC; } else { - pr_warn_ratelimited("FULL or reached pool quota\n"); + if (ceph_osdmap_flag(osdc, CEPH_OSDMAP_FULL)) + pr_warn_ratelimited("cluster is full (osdmap FULL)\n"); + else + pr_warn_ratelimited("pool %lld is full or reached quota\n", + req->r_t.base_oloc.pool); req->r_t.paused = true; maybe_request_map(osdc); } |