Sorry for chiming in so late, been extremely busy lately. >From quickly glacing over what the now finally described use case is (which contradicts the subject btw - it's not about flushing, it's about not removing block mapping under a MR) and the previous comments I think that mmap is simply the wrong kind of interface for this. What we want is support for a new kinds of userspace memory registration in the RDMA code that uses the pnfs export interface, both getting the block (or rather byte in this case) mapping, and also gets the FL_LAYOUT lease for the memory registration. That btw is exactly what I do for the pNFS RDMA layout, just in-kernel. -- 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