From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from casper.infradead.org (casper.infradead.org [90.155.50.34]) (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 410FADF61; Tue, 2 Jan 2024 09:15:23 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=infradead.org Authentication-Results: smtp.subspace.kernel.org; spf=none smtp.mailfrom=infradead.org Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=infradead.org header.i=@infradead.org header.b="HAUtDYOW" DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=casper.20170209; h=In-Reply-To:Content-Type:MIME-Version: References:Message-ID:Subject:Cc:To:From:Date:Sender:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description; bh=uPWAKkXOKfryzl9yN1UKKSOG50U5J8qvhPQ1ksSNgUo=; b=HAUtDYOWMfKlLCC7XMD7oOKxjw cnguEIKvS62b8o0SlmshYVvIvr8OZE35XKI2L4ALaq4zgHnVxp2HQ9nllfD3QzqtllRTclMAJq34h P5Tx3LDtMmTBLGZHqbXvrx1zF38bIFPiXm/Ru4jtDIdUNmLU07AZA3iBq2hZVUGPO6W3HprNSkclv eMWzu8qu4hTW1LLtWxRyIAZ4ChuIRJ2uRfqaVdKG6kCGTodIDsZJkkGEd/OuOYouXApBmCJPH/aQk UZQfJyMk5hvlGJiCXF+BFcB5rjB9547OPEyLPE7z/XifJEDJgvjEYPQilGkFcfnjND5DOdvm6pJu2 ZyKNt1zA==; Received: from willy by casper.infradead.org with local (Exim 4.94.2 #2 (Red Hat Linux)) id 1rKaro-009pvp-PQ; Tue, 02 Jan 2024 09:15:20 +0000 Date: Tue, 2 Jan 2024 09:15:20 +0000 From: Matthew Wilcox To: David Howells Cc: Christoph Hellwig , linux-fsdevel@vger.kernel.org, linux-mm@kvack.org, linux-kernel@vger.kernel.org Subject: Re: bio_vec, bv_page and folios Message-ID: References: <3490948.1704185806@warthog.procyon.org.uk> Precedence: bulk X-Mailing-List: linux-fsdevel@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: <3490948.1704185806@warthog.procyon.org.uk> On Tue, Jan 02, 2024 at 08:56:46AM +0000, David Howells wrote: > Hi Christoph, Willy, > > Will bv_page in struct bio_vec ever become a folio pointer rather than I page > pointer? I'm guessing not as it still presumably needs to be able to point to > non-folio pages. My plan for bio_vec is that it becomes phyr -- a physical address + length. No more page or folio reference.