log as INFO level why pnfs client falled back to IO through MDS. example: NFS: filelayout_async_handle_error: Retry through MDS. DS [2001:638:700:10bf::1:8d]:32049 error -5 Signed-off-by: Tigran Mkrtchyan <tigran.mkrtchyan@xxxxxxx> --- fs/nfs/filelayout/filelayout.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/fs/nfs/filelayout/filelayout.c b/fs/nfs/filelayout/filelayout.c index 02ec079..0838b62 100644 --- a/fs/nfs/filelayout/filelayout.c +++ b/fs/nfs/filelayout/filelayout.c @@ -206,8 +206,8 @@ static int filelayout_async_handle_error(struct rpc_task *task, /* fall through */ default: reset: - dprintk("%s Retry through MDS. Error %d\n", __func__, - task->tk_status); + printk(KERN_INFO "NFS: %s: Retry through MDS. DS %pISpc error %d\n", __func__, + &task->tk_client->cl_xprt->addr, task->tk_status); return -NFS4ERR_RESET_TO_MDS; } out: -- 2.5.0 -- To unsubscribe from this list: send the line "unsubscribe linux-nfs" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html