mirror of
https://gitee.com/bianbu-linux/linux-6.6
synced 2025-04-24 14:07:52 -04:00
libceph: disambiguate cluster/pool full log message
Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
This commit is contained in:
parent
af2d861d4c
commit
dc9b0dc456
1 changed files with 5 additions and 1 deletions
|
@ -2385,7 +2385,11 @@ again:
|
||||||
if (ceph_test_opt(osdc->client, ABORT_ON_FULL)) {
|
if (ceph_test_opt(osdc->client, ABORT_ON_FULL)) {
|
||||||
err = -ENOSPC;
|
err = -ENOSPC;
|
||||||
} else {
|
} 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;
|
req->r_t.paused = true;
|
||||||
maybe_request_map(osdc);
|
maybe_request_map(osdc);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue