seq_printf(m, "pool:\n"
" id: %u\n"
" type: %s\n"
- " ref: %d\n"
- " least qunit: %lu\n",
+ " refcount: %d\n"
+ " least_qunit: %lu\n",
0,
RES_NAME(pool->qpi_rtype),
atomic_read(&pool->qpi_ref),
for (type = 0; type < LL_MAXQUOTAS; type++)
seq_printf(m, " %s:\n"
- " #slv: %d\n"
- " #lqe: %d\n",
+ " quota_servers: %d\n"
+ " quota_entries: %d\n",
qtype_name(type),
qpi_slv_nr(pool, type),
atomic_read(&pool->qpi_site[type]->lqs_hash->hs_count));
rc = add ? qmt_sarr_pool_add(qpi, idx, 32) :
qmt_sarr_pool_rem(qpi, idx);
if (rc) {
- CERROR("%s: can't %s %s pool %s: rc = %d\n",
- add ? "add to" : "remove", obd->obd_name,
- slavename, poolname, rc);
+ /* message is checked in sanity-quota test_1b */
+ CERROR("%s: can't %s %s pool '%s': rc = %d\n",
+ obd->obd_name, add ? "add to" : "remove", slavename,
+ poolname, rc);
GOTO(out_putref, rc);
}
qmt_pool_slv_nr_change(&env, qpi, idx, add);