From 86835fab01b12ba25f4a7736386a1accd27d57ab Mon Sep 17 00:00:00 2001 From: shadow Date: Fri, 10 Aug 2007 07:44:34 +0000 Subject: [PATCH] Add printing inode info into message about error in writepage. b=11721 i=green i=wangdi --- lustre/ChangeLog | 4 ++++ lustre/llite/file.c | 3 ++- 2 files changed, 6 insertions(+), 1 deletion(-) 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 */ -- 1.8.3.1