Whamcloud - gitweb
- put it more consistent debug message that track pages through llite.
authorzab <zab>
Thu, 30 Oct 2003 01:44:55 +0000 (01:44 +0000)
committerzab <zab>
Thu, 30 Oct 2003 01:44:55 +0000 (01:44 +0000)
  Hopefully it will shed some light on bug 2192.

lustre/llite/llite_internal.h

index 3ae02b0..75e0cc4 100644 (file)
@@ -69,6 +69,10 @@ struct ll_async_page {
         struct page     *llap_page;
 };
 
+#define LL_CDEBUG_PAGE(page, STR)                                       \
+        CDEBUG(D_PAGE, "page %p map %p ind %lu priv %0lx: " STR,        \
+               page, page->mapping, page->index, page->private)
+
 /* llite/lproc_llite.c */
 int lprocfs_register_mountpoint(struct proc_dir_entry *parent,
                                 struct super_block *sb, char *osc, char *mdc);