Hi all, I was chasing a quota accounting bug in the reflink code and wondered if we're supposed to call xfs_break_layouts before we start reflinking. We do it for fallocate, and since the point of pnfs appears to be clients (leased) unmediated access to the storage media, I would surmise that we ought to be doing it. So the first patch (tested only on xfstests and not at all with pnfs) does that. The second patch fixes the pnfs exporter to find and unshare blocks if the client wants write access instead of just refusing. I do not have pnfs set up and and Know Nothing(tm) about pnfs, so I have no idea if it behaves correctly. :P --D -- To unsubscribe from this list: send the line "unsubscribe linux-xfs" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html