When printing the vnode information from ddb, print the lengths of the
dirty and clean buffer queues. Sponsored by: The FreeBSD Foundation MFC after: 1 week Approved by: re (gjb)
This commit is contained in:
parent
1f27f9b50b
commit
d6498b153e
@ -2892,9 +2892,12 @@ vn_printf(struct vnode *vp, const char *fmt, ...)
|
||||
if (mtx_owned(VI_MTX(vp)))
|
||||
printf(" VI_LOCKed");
|
||||
if (vp->v_object != NULL)
|
||||
printf(" v_object %p ref %d pages %d\n",
|
||||
printf(" v_object %p ref %d pages %d "
|
||||
"cleanbuf %d dirtybuf %d\n",
|
||||
vp->v_object, vp->v_object->ref_count,
|
||||
vp->v_object->resident_page_count);
|
||||
vp->v_object->resident_page_count,
|
||||
vp->v_bufobj.bo_dirty.bv_cnt,
|
||||
vp->v_bufobj.bo_clean.bv_cnt);
|
||||
printf(" ");
|
||||
lockmgr_printinfo(vp->v_vnlock);
|
||||
if (vp->v_data != NULL)
|
||||
|
Loading…
x
Reference in New Issue
Block a user