[PATCH 5/5] nvme: enable logical block size > PAGE_SIZE
Luis Chamberlain
mcgrof at kernel.org
Sat May 11 16:11:22 PDT 2024
On Fri, May 10, 2024 at 11:37:22PM +0100, Matthew Wilcox wrote:
> On Fri, May 10, 2024 at 12:29:06PM +0200, hare at kernel.org wrote:
> > From: Pankaj Raghav <p.raghav at samsung.com>
> >
> > Don't set the capacity to zero for when logical block size > PAGE_SIZE
> > as the block device with iomap aops support allocating block cache with
> > a minimum folio order.
>
> It feels like this should be something the block layer does rather than
> something an individual block driver does. Is there similar code to
> rip out of sd.c? Or other block drivers?
Each block driver must be tested and set a max if its below what the page
cache supports.
Luis
More information about the Linux-nvme
mailing list