Message ID | 1456596631-19418-7-git-send-email-hch@lst.de (mailing list archive) |
---|---|
State | Superseded |
Headers | show |
> This is the first step toward moving MR invalidation decisions > to the core. It will be needed by the upcoming RW API. This makes sense even before the rdma rw stuff. We can add this bit and get rid of the iser flagging (and when nfs/srp will support remote invalidate they will use it too) -- To unsubscribe from this list: send the line "unsubscribe linux-rdma" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
On Sun, Feb 28, 2016 at 05:10:26PM +0200, Sagi Grimberg wrote: >> This is the first step toward moving MR invalidation decisions >> to the core. It will be needed by the upcoming RW API. > > This makes sense even before the rdma rw stuff. We can > add this bit and get rid of the iser flagging (and when > nfs/srp will support remote invalidate they will use it too) If someone else has a use for it ASAP feel free to send it along with that. The R/W code currently is my priority project because the NVMe target driver will need it. Once that and a few other urgent items are off my plate I'll happily help out with various cleanups on the client side MR API again. -- To unsubscribe from this list: send the line "unsubscribe linux-rdma" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
diff --git a/include/rdma/ib_verbs.h b/include/rdma/ib_verbs.h index 1e68dae..2b94cea 100644 --- a/include/rdma/ib_verbs.h +++ b/include/rdma/ib_verbs.h @@ -1431,6 +1431,7 @@ struct ib_mr { u64 iova; u32 length; unsigned int page_size; + bool need_inval; union { struct ib_uobject *uobject; /* user */ struct list_head qp_entry; /* FR */