Whamcloud - gitweb
Add printing inode info into message about error in writepage.
authorshadow <shadow>
Fri, 10 Aug 2007 07:44:34 +0000 (07:44 +0000)
committershadow <shadow>
Fri, 10 Aug 2007 07:44:34 +0000 (07:44 +0000)
b=11721
i=green
i=wangdi

lustre/ChangeLog
lustre/llite/file.c

index 1a9d540..337ed2f 100644 (file)
@@ -58,6 +58,10 @@ Bugzilla   : 12955
 Description: jbd statistics
 Details    : Port older jbd statistics patch for sles10
 
+Severity   : enhancement
+Bugzilla   : 11721
+Description: Add printing inode info into message about error in writepage.
+
 --------------------------------------------------------------------------------
 
 2007-08-10         Cluster File Systems, Inc. <info@clusterfs.com>
index e7798c3..2f75521 100644 (file)
@@ -837,7 +837,8 @@ void ll_pgcache_remove_extent(struct inode *inode, struct lov_stripe_md *lsm,
                 if (!discard && clear_page_dirty_for_io(page)) {
                         rc = ll_call_writepage(inode, page);
                         if (rc != 0)
-                                CERROR("writepage of page %p failed: %d\n",
+                                CERROR("writepage inode %lu(%p) of page %p "
+                                       "failed: %d\n", inode->i_ino, inode,
                                        page, rc);
                         /* either waiting for io to complete or reacquiring
                          * the lock that the failed writepage released */