diff --git a/lustre/ChangeLog b/lustre/ChangeLog index 412dffbfa2f0ddd8b42864be0b64043fa8f19df3..c70fe4f9627fcae5e365673fefd3a29e080e602a 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 e55a184cc4714d28b42526a044d941f84081b402..b3cf253451bb1db10e1f6286648d3b8114654907 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)