From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from verein.lst.de (verein.lst.de [213.95.11.211]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id E668D330B2B; Wed, 21 Jan 2026 14:57:12 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=213.95.11.211 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1769007434; cv=none; b=E99kNLb1qXRGXXeobHg8xIfyhsGWcMCrO15/Me1K100YzWjzvQwdL6q/ie4TCMoO/IVb8XFt1DDv7r20BA9HyGQ7XhK3pnFoAa23FbKzDmPJACHGsV9Jiyk+GTDCHTCY+k4Wk4fVh//tWioosuDqQKAfqpCyBwyJIEFzDmRVdFY= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1769007434; c=relaxed/simple; bh=ceOlb/mlNBruqCDXStep/c8Nbx3gkhMatIGX7LDO06I=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=YoluAPVc476LsHWhi8T8LROUEmZO2/qJaQyTLRk5TDSEYOBcklf5KwbxRzfWVj24IX1hC0MXpoPjsr59kfk3po5OTyOvSf7aQtpwND2UgRAty2vYiP+IfJ0Pjs7K10SA1vIApDPFt3OsbkGLq942SpfpyxiRIEnTZqgoE1Tuem0= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=lst.de; spf=pass smtp.mailfrom=lst.de; arc=none smtp.client-ip=213.95.11.211 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=lst.de Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=lst.de Received: by verein.lst.de (Postfix, from userid 2407) id 8056F227AAC; Wed, 21 Jan 2026 15:57:03 +0100 (CET) Date: Wed, 21 Jan 2026 15:57:02 +0100 From: Christoph Hellwig To: Chuck Lever Cc: Christoph Hellwig , Jason Gunthorpe , Leon Romanovsky , NeilBrown , Jeff Layton , Olga Kornievskaia , Dai Ngo , Tom Talpey , linux-rdma@vger.kernel.org, linux-nfs@vger.kernel.org, Chuck Lever Subject: Re: [PATCH v2 1/4] RDMA/core: add bio_vec based RDMA read/write API Message-ID: <20260121145702.GA13953@lst.de> References: <20260120143124.1822121-1-cel@kernel.org> <20260120143124.1822121-2-cel@kernel.org> <20260121085641.GC16458@lst.de> <9bfdde0e-efe5-4e23-b95d-6f70836ed59c@kernel.org> Precedence: bulk X-Mailing-List: linux-nfs@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <9bfdde0e-efe5-4e23-b95d-6f70836ed59c@kernel.org> User-Agent: Mutt/1.5.17 (2007-11-01) On Wed, Jan 21, 2026 at 09:14:36AM -0500, Chuck Lever wrote: > > > > I'd much rather have the callers pass in the bvec_iter, as that's > > more useful. > > "The callers" -- Can you clarify whether you mean that the API > consumers would pass in a bvec_iter, or whether the iter is > entirely internal to rw.c ? I mean passing the iter from the API consumer into rw.c. In general that is the sanes way to deal with a collection of bvecs.