Peng Tao wrote: Asking for layout in pg_init will always make client ask for only 4KB layout in every layoutget. This way, client drops the IO size information that is meaningful for MDS in handing out layout. In stead, if layout is not find in cache, do not send layoutget at once. Wait until before issuing IO in pnfs_do_multiple_reads/writes because that is where we know the real size of current IO. By telling the real IO size to MDS, MDS will have a better chance to give proper layout. Signed-off-by: Peng Tao <peng_tao@xxxxxxx> --- Resend to fix patch title. Sorry for the noise... You may want to fix the patch date too, on this series and the other series you sent earlier (later?). I know China is in a later timezone but I don't think it's that much later. -- 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