On Jul. 13, 2010, 5:05 +0300, quanli gui <gqlxj1987@xxxxxxxxx> wrote: > I use > #define dprintk printk You don't have to modify the kernel to see the debug prints... You can turn the debug prints on and off in run time by writing the numeric bitmask (in ASCII) into /proc/sys/sunrpc/nfs_debug for example: # echo 32767 > /proc/sys/sunrpc/nfs_debug > to show some messages in the pnfs process. In the pnfs process, the > client would use some functions in nfs4filelayoutdev.c to connect with > ds. But from the printk messages, I found that the functions that > connect to the ds printk the ip message, which is belong to the mds. Do > the client only connect to the mds? Do the mds become the storage server > which connect to the client? This conficts the pnfs architecture.Please > give me some answers. The client should communicate with the DS for I/O operations. If the MSD has dual function, both as a DS and a MDS, the DS ip address may be the same as the MDS's. Can you give an example of a particular message you're worried about? What do you have running on the server side? Benny -- 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