Return-Path: Received: from bombadil.infradead.org ([198.137.202.9]:42505 "EHLO bombadil.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S933061AbbGHIN1 (ORCPT ); Wed, 8 Jul 2015 04:13:27 -0400 Date: Wed, 8 Jul 2015 01:13:20 -0700 From: "'Christoph Hellwig'" To: Sagi Grimberg Cc: Jason Gunthorpe , Steve Wise , "'Christoph Hellwig'" , dledford@redhat.com, sagig@mellanox.com, ogerlitz@mellanox.com, roid@mellanox.com, linux-rdma@vger.kernel.org, eli@mellanox.com, target-devel@vger.kernel.org, linux-nfs@vger.kernel.org, trond.myklebust@primarydata.com, bfields@fieldses.org, Oren Duer Subject: Re: [PATCH V3 1/5] RDMA/core: Transport-independent access flags Message-ID: <20150708081320.GB24203@infradead.org> References: <559A340E.9000000@dev.mellanox.co.il> <001601d0b7f9$3e1d6d40$ba5847c0$@opengridcomputing.com> <559AAA22.1000608@dev.mellanox.co.il> <20150707090001.GB11736@infradead.org> <559B9891.8060907@dev.mellanox.co.il> <000b01d0b8bd$f2bfcc10$d83f6430$@opengridcomputing.com> <20150707161751.GA623@obsidianresearch.com> <559BFE03.4020709@dev.mellanox.co.il> <20150707213628.GA5661@obsidianresearch.com> <559CD174.4040901@dev.mellanox.co.il> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii In-Reply-To: <559CD174.4040901@dev.mellanox.co.il> Sender: linux-nfs-owner@vger.kernel.org List-ID: On Wed, Jul 08, 2015 at 10:29:56AM +0300, Sagi Grimberg wrote: > I don't necessarily agree. The API we'd want is a single API at all > the call sites to all types of MRs. We have different QP types, and > still we don't have an allocation API for each and every one. > I honestly don't see why we have that for MRs. > > If we can converge to a single API for MR allocation we can just get it > right once. That sounds even better in the long run, but sorting out one problem at a time seems like the easier way forward.