uint64_t adjust_used)
{
*pratio =
- ((float)new_stat.statfs.get_used()) / ((float)new_stat.statfs.total);
+ ((float)new_stat.statfs.get_used_raw()) / ((float)new_stat.statfs.total);
if (adjust_used) {
dout(20) << __func__ << " Before kb_used() " << new_stat.statfs.kb_used() << dendl;
if (backfill_adjusted) {
dout(20) << __func__ << " backfill adjusted " << new_stat << dendl;
}
- return ((float)new_stat.statfs.get_used()) / ((float)new_stat.statfs.total);
+ return ((float)new_stat.statfs.get_used_raw()) / ((float)new_stat.statfs.total);
}
void OSDService::send_message_osd_cluster(int peer, Message *m, epoch_t from_epoch)