Skip to content

block: move the SECTOR_SIZE related definitions to blk_types.h

Christoph Hellwig dm-devel drbd-dev linux-bcache linux-block linux-btrfs linux-ext4 linux-fsdevel linux-nfs linux-nilfs linux-nvme linux-raid linux-scsi ntfs3 reiserfs-devel target-devel 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest30 patches 32 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/30block: move the SECTOR_SIZE related definitions to blk_types.hinclude/linux/blk_types.h include/linux/blkdev.h+17 -173 replies
2/30block: add a bdev_nr_bytes helperinclude/linux/genhd.h+6 -14 replies
3/30bcache: remove bdev_sectorsdrivers/md/bcache/super.c drivers/md/bcache/util.h drivers/md/bcache/writeback.c+2 -61 reply
4/30drbd: use bdev_nr_sectors instead of open coding itdrivers/block/drbd/drbd_int.h+1 -21 reply
5/30dm: use bdev_nr_sectors and bdev_nr_bytes instead of open coding themdrivers/md/dm-bufio.c drivers/md/dm-cache-metadata.c drivers/md/dm-cache-target.c +19 more+28 -330 replies
6/30md: use bdev_nr_sectors instead of open coding itdrivers/md/md.c+11 -150 replies
7/30nvmet: use bdev_nr_bytes instead of open coding itdrivers/nvme/target/io-cmd-bdev.c+2 -21 reply
8/30target/iblock: use bdev_nr_bytes instead of open coding itdrivers/target/target_core_iblock.c+2 -21 reply
9/30fs: use bdev_nr_bytes instead of open coding it in blkdev_max_blockfs/buffer.c+1 -11 reply
10/30fs: simplify init_page_buffersfs/buffer.c+1 -10 replies
11/30affs: use bdev_nr_sectors instead of open coding itfs/affs/super.c+1 -11 reply
12/30btrfs: use bdev_nr_bytes instead of open coding itfs/btrfs/dev-replace.c fs/btrfs/disk-io.c fs/btrfs/ioctl.c +1 more+8 -92 replies
13/30cramfs: use bdev_nr_bytes instead of open coding itfs/cramfs/inode.c+1 -11 reply
14/30fat: use bdev_nr_sectors instead of open coding itfs/fat/inode.c+1 -40 replies
15/30hfs: use bdev_nr_sectors instead of open coding itfs/hfs/mdb.c+1 -10 replies
16/30hfsplus: use bdev_nr_sectors instead of open coding itfs/hfsplus/wrapper.c+1 -10 replies
17/30jfs: use bdev_nr_bytes instead of open coding itfs/jfs/resize.c fs/jfs/super.c+2 -21 reply
18/30nfs/blocklayout: use bdev_nr_bytes instead of open coding itfs/nfs/blocklayout/dev.c+2 -21 reply
19/30nilfs2: use bdev_nr_bytes instead of open coding itfs/nilfs2/ioctl.c fs/nilfs2/super.c fs/nilfs2/the_nilfs.c+3 -32 replies
20/30ntfs3: use bdev_nr_bytes instead of open coding itfs/ntfs3/super.c+1 -22 replies
21/30pstore/blk: use bdev_nr_bytes instead of open coding itfs/pstore/blk.c+3 -51 reply
22/30reiserfs: use bdev_nr_bytes instead of open coding itfs/reiserfs/super.c+1 -32 replies
23/30squashfs: use bdev_nr_bytes instead of open coding itfs/squashfs/super.c+3 -21 reply
24/30block: use bdev_nr_bytes instead of open coding it in blkdev_fallocateblock/fops.c+1 -11 reply
25/30block: add a sb_bdev_nr_blocks helperinclude/linux/genhd.h+6 -02 replies
26/30ext4: use sb_bdev_nr_blocksfs/ext4/super.c+1 -11 reply
27/30jfs: use sb_bdev_nr_blocksfs/jfs/resize.c fs/jfs/super.c+2 -41 reply
28/30ntfs: use sb_bdev_nr_blocksfs/ntfs/super.c+3 -51 reply
29/30reiserfs: use sb_bdev_nr_blocksfs/reiserfs/super.c+1 -30 replies
30/30udf: use sb_bdev_nr_blocksfs/udf/lowlevel.c fs/udf/super.c+5 -90 replies

Reviews trailers per patch

All 30 patches have a Reviewed-by or Acked-by.

PatchKees CookColy LiChaitanya KulkarniMike SnitzerSong LiuJan KaraAnand JainDave KleikampPhillip LougherTheodore Ts'oDavid SterbaRyusuke KonishiAnton AltaparmakovLee Duncan
1/30R-b R-b R-b
2/30R-b
3/30R-b A-b R-b
4/30R-b R-b R-b
5/30R-b A-b
6/30R-b A-b
7/30R-b R-b
8/30R-b R-b
9/30R-b R-b R-b
10/30R-b R-b
11/30R-b R-b
12/30R-b R-b R-b A-b
13/30R-b
14/30R-b
15/30R-b
16/30R-b
17/30R-b A-b
18/30R-b
19/30R-b A-b
20/30R-b
21/30A-b
22/30R-b R-b R-b
23/30R-b A-b
24/30R-b R-b R-b
25/30R-b R-b
26/30R-b R-b R-b A-b
27/30R-b A-b
28/30R-b A-b
29/30R-b R-b
30/30R-b R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 14 reviewers.

Read the v1 thread