mirror of
https://github.com/ceph/ceph
synced 2025-01-03 01:22:53 +00:00
librgw: move ObjUnref trace print ahead of...unref
Signed-off-by: Matt Benjamin <mbenjamin@redhat.com>
This commit is contained in:
parent
1f2ec092f7
commit
eaf156397a
@ -673,13 +673,12 @@ namespace rgw {
|
||||
public:
|
||||
ObjUnref(RGWLibFS* fs) : fs(fs) {}
|
||||
void operator()(RGWFileHandle* fh) const {
|
||||
fs->fh_lru.unref(fh, cohort::lru::FLAG_NONE);
|
||||
|
||||
lsubdout(fs->get_context(), rgw, 5)
|
||||
<< __func__
|
||||
<< fh->name
|
||||
<< " refs=" << fh->get_refcnt()
|
||||
<< " before ObjUnref refs=" << fh->get_refcnt()
|
||||
<< dendl;
|
||||
fs->fh_lru.unref(fh, cohort::lru::FLAG_NONE);
|
||||
}
|
||||
};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user