Set the layout stateid from an open stateid in layoutget iff the layout stateid is zero. Get the layout stateid from the layout in the xdr layer for layoutget and layoutreturn so that the latest stateid is used. Fixes a bug where a retry due to NFS4ERR_OLD_STATEID (and any retry) will use the old stateid. 0001-SQUASHME-pnfs-submit-get-layoutget-stateid-from-layo.patch 0002-SQUASHME-pnfs-submit-get-layoutreturn-stateid-from-l.patch Remove unnecessary fields. 0003-SQUASHME-pnfs-submit-remove-unnecessary-layoutreturn.patch 0004-SQUASHME-pnfs-submit-remove-unnecessary-layoutget-fi.patch Tested CONFIG_NFS_V4_1 set Connectathon passes -->Andy -- 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