[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20160622133809.GA29657@infradead.org>
Date: Wed, 22 Jun 2016 06:38:09 -0700
From: Christoph Hellwig <hch@...radead.org>
To: Arnd Bergmann <arnd@...db.de>
Cc: "Nicholas A. Bellinger" <nab@...ux-iscsi.org>,
Jens Axboe <axboe@...com>, Mike Christie <mchristi@...hat.com>,
Andy Grover <agrover@...hat.com>,
Hannes Reinecke <hare@...e.com>, linux-scsi@...r.kernel.org,
target-devel@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH] target/iblock: use ilog2 to compute block size
This doesn't compute the block size, it computes the number of block
in a block device. I think it would be useful to add a generic helper
(e.g. in blkdev.h) as this calculation seems to be open coded in various
places.
Powered by blists - more mailing lists