[PATCH 11/20] nvme: clean up the check for too large logic block sizes

Christoph Hellwig hch at lst.de
Tue Sep 29 14:34:00 EDT 2020


On Tue, Sep 29, 2020 at 01:50:28AM -0700, Sagi Grimberg wrote:
>> Use a single statement to set both the capacity and fake block size
>> instead of two.
>
> I have some vague recollection why these needed to be split, but
> can't remember why...

Well, capacity isn't used between the old and the new assignment,
so I can't see how this makes a difference.  Might have been different
in the past, though.



More information about the Linux-nvme mailing list