From 50ccfb5802ada595e2db7208638418d8c26c110a Mon Sep 17 00:00:00 2001 From: shadow <shadow> Date: Fri, 10 Aug 2007 06:52:46 +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 412dffbfa2..c70fe4f962 100644 --- a/lustre/ChangeLog +++ b/lustre/ChangeLog @@ -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> diff --git a/lustre/llite/file.c b/lustre/llite/file.c index e55a184cc4..b3cf253451 100644 --- a/lustre/llite/file.c +++ b/lustre/llite/file.c @@ -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) -- GitLab