Thread (63 messages) 63 messages, 11 authors, 2021-10-18

Re: [PATCH 25/30] block: add a sb_bdev_nr_blocks helper

From: Chaitanya Kulkarni <hidden>
Date: 2021-10-18 05:48:46
Also in: dm-devel, linux-bcache, linux-block, linux-btrfs, linux-fsdevel, linux-nfs, linux-nvme, linux-raid, linux-scsi, ntfs3, target-devel

On 10/15/21 06:26, Christoph Hellwig wrote:
Add a helper to return the size of sb->s_bdev in sb->s_blocksize_bits
based unites.  Note that SECTOR_SHIFT has to be open coded due to
include dependency issues for now, but I have a plan to sort that out
eventually.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Looks good.

Reviewed-by: Chiatanya Kulkarni <kch@nvidia.com>

Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help