version_t CDentry::pre_dirty(version_t min)
{
projected_version = dir->pre_dirty(min);
- dout(10) << " pre_dirty " << *this << dendl;
+ dout(10) << __func__ << " " << *this << dendl;
return projected_version;
}
void CDentry::mark_dirty(version_t pv, LogSegment *ls)
{
- dout(10) << " mark_dirty " << *this << dendl;
+ dout(10) << __func__ << " " << *this << dendl;
// i now live in this new dir version
assert(pv <= projected_version);
void CDentry::mark_clean()
{
- dout(10) << " mark_clean " << *this << dendl;
+ dout(10) << __func__ << " " << *this << dendl;
assert(is_dirty());
// not always true for recalc_auth_bits during resolve finish
void CDentry::mark_new()
{
- dout(10) << " mark_new " << *this << dendl;
+ dout(10) << __func__ << " " << *this << dendl;
state_set(STATE_NEW);
}
{
nested_auth_pins += adjustment;
- dout(35) << "adjust_nested_auth_pins by " << by
+ dout(35) << __func__ << " by " << by
<< ", change " << adjustment << " yields "
<< auth_pins << "+" << nested_auth_pins
<< dendl;
::decode(newfirst, p);
if (!is_auth() && newfirst != first) {
- dout(10) << "decode_lock_state first " << first << " -> " << newfirst << dendl;
+ dout(10) << __func__ << " first " << first << " -> " << newfirst << dendl;
assert(newfirst > first);
first = newfirst;
}
// newly linked?
if (linkage.is_null() && !is_auth()) {
// force trim from cache!
- dout(10) << "decode_lock_state replica dentry null -> non-null, must trim" << dendl;
+ dout(10) << __func__ << " replica dentry null -> non-null, must trim" << dendl;
//assert(get_num_ref() == 0);
} else {
// verify?
if (client_lease_map.count(c))
l = client_lease_map[c];
else {
- dout(20) << "add_client_lease client." << c << " on " << lock << dendl;
+ dout(20) << __func__ << " client." << c << " on " << lock << dendl;
if (client_lease_map.empty()) {
get(PIN_CLIENTLEASE);
lock.get_client_lease();
bool gather = false;
- dout(20) << "remove_client_lease client." << l->client << " on " << lock << dendl;
+ dout(20) << __func__ << " client." << l->client << " on " << lock << dendl;
client_lease_map.erase(l->client);
l->item_lease.remove_myself();