From: shadow Date: Fri, 10 Aug 2007 07:44:34 +0000 (+0000) Subject: Add printing inode info into message about error in writepage. X-Git-Tag: 1.6.1~10 X-Git-Url: https://git.whamcloud.com/gitweb?a=commitdiff_plain;h=86835fab01b12ba25f4a7736386a1accd27d57ab;p=fs%2Flustre-release.git Add printing inode info into message about error in writepage. b=11721 i=green i=wangdi --- diff --git a/lustre/ChangeLog b/lustre/ChangeLog index 1a9d540..337ed2f 100644 --- a/lustre/ChangeLog +++ b/lustre/ChangeLog @@ -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. diff --git a/lustre/llite/file.c b/lustre/llite/file.c index e7798c3..2f75521 100644 --- a/lustre/llite/file.c +++ b/lustre/llite/file.c @@ -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 */