[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20221030082749.GA4949@lst.de>
Date: Sun, 30 Oct 2022 09:27:49 +0100
From: Christoph Hellwig <hch@....de>
To: Keith Busch <kbusch@...a.com>
Cc: linux-fsdevel@...r.kernel.org, linux-kernel@...r.kernel.org,
hch@....de, djwong@...nel.org, bvanassche@....org,
Keith Busch <kbusch@...nel.org>
Subject: Re: [PATCH] iomap: directly use logical block size
On Wed, Oct 26, 2022 at 09:51:33AM -0700, Keith Busch wrote:
> From: Keith Busch <kbusch@...nel.org>
>
> Don't transform the logical block size to a bit shift only to shift it
> back to the original block size. Just use the size.
This looks reasonable. But given that the blksz variable is only used
once, why not open code the bdev_logical_block_size in the conditional?
Powered by blists - more mailing lists