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

lustre/ChangeLog
lustre/llite/file.c

index 412dffb..c70fe4f 100644 (file)
@@ -782,6 +782,10 @@ Details    : llog_commit_thread_count should be synced between llog_commit
              when llog_commit threads being stopped to avoid accessing some 
              freed stuff.
      
+Severity   : enhancement
+Bugzilla   : 11721
+Description: Add printing inode info into message about error in writepage.
+
 --------------------------------------------------------------------------------
 
 2007-05-03  Cluster File Systems, Inc. <info@clusterfs.com>
index e55a184..b3cf253 100644 (file)
@@ -732,7 +732,8 @@ void ll_pgcache_remove_extent(struct inode *inode, struct lov_stripe_md *lsm,
                         lock_page(page);
                         wait_on_page_writeback(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);
 #if (LINUX_VERSION_CODE > KERNEL_VERSION(2,5,0))
                                 if (rc == -ENOSPC)