Logging the specific inode that the get_caps()
is waiting for helps during debugging of stuck waiters.
Signed-off-by: Sam Lang <sam.lang@inktank.com>
}
if (endoff >= 0 && endoff > (loff_t)in->max_size) {
- ldout(cct, 10) << "waiting on max_size, endoff " << endoff << " max_size " << in->max_size << dendl;
+ ldout(cct, 10) << "waiting on max_size, endoff " << endoff << " max_size " << in->max_size << " on " << *in << dendl;
} else if (!in->cap_snaps.empty() && in->cap_snaps.rbegin()->second->writing) {
ldout(cct, 10) << "waiting on cap_snap write to complete" << dendl;
} else {