[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <0384e51b-0938-dccb-8c70-caa1f2b35d34@kernel.dk>
Date: Mon, 1 Nov 2021 14:51:37 -0600
From: Jens Axboe <axboe@...nel.dk>
To: "Matthew Wilcox (Oracle)" <willy@...radead.org>,
"Darrick J. Wong" <djwong@...nel.org>
Cc: linux-xfs@...r.kernel.org, linux-fsdevel@...r.kernel.org,
linux-kernel@...r.kernel.org, linux-block@...r.kernel.org,
Christoph Hellwig <hch@...radead.org>
Subject: Re: [PATCH 02/21] block: Add bio_add_folio()
On 11/1/21 2:39 PM, Matthew Wilcox (Oracle) wrote:
> This is a thin wrapper around bio_add_page(). The main advantage here
> is the documentation that stupidly large folios are not supported.
> It's not currently possible to allocate stupidly large folios, but if
> it ever becomes possible, this function will fail gracefully instead of
> doing I/O to the wrong bytes.
Might be better with UINT_MAX instead of stupidly here, because then
it immediately makes sense. Can you make a change to that effect?
With that:
Reviewed-by: Jens Axboe <axboe@...nel.dk>
--
Jens Axboe
Powered by blists - more mailing lists