Re: [PATCH] linux/blkdev.h: Use ilog2() directly in blksize_bits()

From: Bart Van Assche
Date: Sat May 23 2020 - 14:33:21 EST


On 2020-05-23 08:50, Kaitao Cheng wrote:
> blksize_bits() can be achieved through ilog2(), and ilog2() is
> more efficient.

If Jens agrees, how about removing the blksize_bits() function entirely
and to make all callers use ilog2() instead of blksize_bits()?

Thanks,

Bart.