[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <CAHckoCzhJVAWFSYeCAMHZ+fVqzv_1XxvM97QmvCESnEcc5AQuQ@mail.gmail.com>
Date: Fri, 15 Jan 2021 11:30:06 +0800
From: Li Feng <fengli@...rtx.com>
To: Christoph Hellwig <hch@....de>
Cc: Sagi Grimberg <sagi@...mberg.me>,
Johannes Thumshirn <Johannes.Thumshirn@....com>,
"martin.petersen@...cle.com" <martin.petersen@...cle.com>,
Keith Busch <kbusch@...nel.org>, Jens Axboe <axboe@...com>,
"open list:NVM EXPRESS DRIVER" <linux-nvme@...ts.infradead.org>,
open list <linux-kernel@...r.kernel.org>,
"lifeng1519@...il.com" <lifeng1519@...il.com>
Subject: Re: [PATCH] nvme: reject the ns when the block size is smaller than a sector
Christoph Hellwig <hch@....de> 于2021年1月15日周五 上午1:43写道:
>
> On Wed, Jan 13, 2021 at 02:12:59PM -0800, Sagi Grimberg wrote:
> >> But this only catches a physical block size < 512 for NVMe, not any other block device.
> >>
> >> Please fix it for the general case in blk_queue_physical_block_size().
> >
> > We actually call that later and would probably be better to check here..
>
> We had a series for that a short while ago that got lost.
Where is the series? Or could you advise on how to fix this issue is acceptable?
This issue will generate an oops, check it here:
https://lkml.org/lkml/2021/1/12/1064
Thanks,
Feng Li
Powered by blists - more mailing lists