Following are three patches to fix layout_return wire format and use of return_type (vs. layout_type), a rather cosmetic change (but important IMHO) to add an enumerated type for pnfs iomode, and finally implement return_on_close. Benny