Whamcloud - gitweb
b=1228
authorpschwan <pschwan>
Fri, 6 Jun 2003 06:16:31 +0000 (06:16 +0000)
committerpschwan <pschwan>
Fri, 6 Jun 2003 06:16:31 +0000 (06:16 +0000)
Add generation numbers and inode pointers to the "VFS Op" debug statements

lustre/llite/iod.c

index 5c11df1..f88ed87 100644 (file)
@@ -151,9 +151,9 @@ static void ll_writeback(struct inode *inode, struct ll_writeback_pages *llwp)
         struct ptlrpc_request_set *set;
         ENTRY;
 
-        CDEBUG(D_VFSTRACE, "VFS Op:inode=%lu,bytes=%u\n",
-               inode->i_ino, ((llwp->npgs-1) << PAGE_SHIFT) +
-                             llwp->pga[llwp->npgs-1].count);
+        CDEBUG(D_VFSTRACE, "VFS Op:inode=%lu/%u(%p),bytes=%u\n",
+               inode->i_ino, inode->i_generation, inode,
+               ((llwp->npgs-1) << PAGE_SHIFT) + llwp->pga[llwp->npgs-1].count);
 
         set = ptlrpc_prep_set();
         if (set == NULL) {