From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mx1.manguebit.org (mx1.manguebit.org [143.255.12.172]) (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 43C432AE78; Sat, 28 Mar 2026 18:39:07 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=143.255.12.172 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1774723148; cv=none; b=igBmGZ8lNSgpY7j6oh1Sg/dOVVTNj8MQkFDN6EfCJ+iTDFYrD/1S4mdC0Soimi5wQ1K2b+KSufcaF0j+Iqw3yBXTfMiW9l7DXTuyyFarquSiviomj/oWiIwLHIassS0KS6K0bRSJxvbFjDydScm67fDbBtF2X3oqWamSd/lhj4U= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1774723148; c=relaxed/simple; bh=YCgLD2ftGHcnME0iDvGm7+dZi7I+VxIF5dfHY4bPWuM=; h=Message-ID:From:To:Cc:Subject:In-Reply-To:References:Date: MIME-Version:Content-Type; b=DIJzB0ObuDnVJ5lRV7szhZz1RYU0WAM5kWRTiIosfaHuaXuHhccui3GaIyEeceb7009BtMjlSTPxLTgXEunWkhwgsaqkvnvgxl6VEJPsq1SV9zemZXT/Yzy3IwrVi0YtjvH7KvT1LrATCwhngNGwtZZXDnPbz/gg3tW4jrAhTLk= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=fail (p=quarantine dis=none) header.from=manguebit.com; spf=pass smtp.mailfrom=manguebit.org; dkim=pass (2048-bit key) header.d=manguebit.org header.i=@manguebit.org header.b=MuZX7p6p; arc=none smtp.client-ip=143.255.12.172 Authentication-Results: smtp.subspace.kernel.org; dmarc=fail (p=quarantine dis=none) header.from=manguebit.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=manguebit.org Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=manguebit.org header.i=@manguebit.org header.b="MuZX7p6p" DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=manguebit.org; s=dkim; h=Sender:Content-Type:MIME-Version:Date:References: In-Reply-To:Subject:Cc:To:From:Message-ID:Reply-To:Content-Transfer-Encoding: Content-ID:Content-Description; bh=573aDEoyqmB61T/dYpePm3T63TSWPVNoRFziOtXONZk=; b=MuZX7p6pzKIlQ3I0kaGk10H+pA Gazy/lgHL4MMCy5gdYvuHCReAEsbI5h46iNkJk1M6vOsIdWP9H7my0T4BhALIgC6Lqp42Hhluw3sv gWyZIZ3xyQTVb/Y6Ps23tLcy/xOBhkBcgoMoqdMAYJ8arztBwiNprhtee5vVVI76BcwY3aA/E9Tyc hpBcRfyzKF1H4va+eua/rAfChu37qKLnGNFGjon2IWifvopnUl1EVx+kL+HxflKvCyVuYslSa2/dA Kw79773RJd+cafugBKuLkMwxMocSCrZKGEZUSP4peyWDjZAr05StLW/oYivnEqmQO4wwoPX+aZwV5 VQdMT1ZA==; Received: from pc by mx1.manguebit.org with local (Exim 4.99.1) id 1w6YYr-00000001nqE-1oex; Sat, 28 Mar 2026 15:39:05 -0300 Message-ID: <73421f900b67a945faf33887ae581759@manguebit.com> From: Paulo Alcantara To: David Howells , Christian Brauner , Matthew Wilcox , Christoph Hellwig Cc: David Howells , Jens Axboe , Leon Romanovsky , Steve French , ChenXiaoSong , Marc Dionne , Eric Van Hensbergen , Dominique Martinet , Ilya Dryomov , Trond Myklebust , netfs@lists.linux.dev, linux-afs@lists.infradead.org, linux-cifs@vger.kernel.org, linux-nfs@vger.kernel.org, ceph-devel@vger.kernel.org, v9fs@lists.linux.dev, linux-erofs@lists.ozlabs.org, linux-fsdevel@vger.kernel.org, linux-kernel@vger.kernel.org, linux-block@vger.kernel.org Subject: Re: [PATCH 11/26] Add a function to kmap one page of a multipage bio_vec In-Reply-To: <20260326104544.509518-12-dhowells@redhat.com> References: <20260326104544.509518-1-dhowells@redhat.com> <20260326104544.509518-12-dhowells@redhat.com> Date: Sat, 28 Mar 2026 15:39:05 -0300 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain Sender: pc@manguebit.org David Howells writes: > Add a function to kmap one page of a multipage bio_vec by offset (which is > added to the offset in the bio_vec internally). The caller is responsible > for calculating how much of the page is then available. > > Signed-off-by: David Howells > cc: Paulo Alcantara > cc: Matthew Wilcox > cc: Christoph Hellwig > cc: Jens Axboe > cc: linux-block@vger.kernel.org > cc: netfs@lists.linux.dev > cc: linux-fsdevel@vger.kernel.org > --- > include/linux/bvec.h | 21 +++++++++++++++++++++ > 1 file changed, 21 insertions(+) Acked-by: Paulo Alcantara (Red Hat)