On Thu, Sep 11, 2014 at 11:02:32PM +0800, Peng Tao wrote: > Both blocks layout and objects layout want to use it to avoid CB_LAYOUTRECALL > but that should only happen if client is doing chown or truncate. So change > PNFS_LAYOUTRET_ON_SETATTR to follow the logic and not to send layoutreturn > unnecessarily. We should defintively reduce the amount of returns, but why do we even bother and chown and a truncate to a larger size? -- 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