From 1cff80a52505ec2fce4d8462cddc6eb3c429962d Mon Sep 17 00:00:00 2001 From: Dmitry Eremin Date: Fri, 4 Oct 2013 13:10:07 +0400 Subject: [PATCH] LU-4050 llite: NFS reexport issue Suppress erroneous/confusing messages when NFS is out of sync and requests old data. Signed-off-by: Dmitry Eremin Change-Id: Idf382769fe3b5b502ca6f545fab6b72fcc62527c Reviewed-on: http://review.whamcloud.com/7850 Tested-by: Hudson Reviewed-by: Andreas Dilger Reviewed-by: Bob Glossman Tested-by: Maloo --- lustre/llite/llite_nfs.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/lustre/llite/llite_nfs.c b/lustre/llite/llite_nfs.c index 2df61f6..916c0fc 100644 --- a/lustre/llite/llite_nfs.c +++ b/lustre/llite/llite_nfs.c @@ -101,8 +101,10 @@ struct inode *search_inode_for_lustre(struct super_block *sb, rc = md_getattr(sbi->ll_md_exp, op_data, &req); OBD_FREE_PTR(op_data); if (rc) { - CERROR("can't get object attrs, fid "DFID", rc %d\n", - PFID(fid), rc); + /* Suppress erroneous/confusing messages when NFS + * is out of sync and requests old data. */ + CDEBUG(D_INFO, "can't get object attrs, fid "DFID", rc %d\n", + PFID(fid), rc); RETURN(ERR_PTR(rc)); } rc = ll_prep_inode(&inode, req, sb, NULL); -- 1.8.3.1