[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20231127062116.2355129-1-yukuai1@huaweicloud.com>
Date: Mon, 27 Nov 2023 14:21:00 +0800
From: Yu Kuai <yukuai1@...weicloud.com>
To: hch@...radead.org, ming.lei@...hat.com, axboe@...nel.dk,
roger.pau@...rix.com, colyli@...e.de, kent.overstreet@...il.com,
joern@...ybastard.org, miquel.raynal@...tlin.com, richard@....at,
vigneshr@...com, sth@...ux.ibm.com, hoeppner@...ux.ibm.com,
hca@...ux.ibm.com, gor@...ux.ibm.com, agordeev@...ux.ibm.com,
jejb@...ux.ibm.com, martin.petersen@...cle.com, clm@...com,
josef@...icpanda.com, dsterba@...e.com, viro@...iv.linux.org.uk,
brauner@...nel.org, nico@...xnic.net, xiang@...nel.org,
chao@...nel.org, tytso@....edu, adilger.kernel@...ger.ca,
agruenba@...hat.com, jack@...e.com, konishi.ryusuke@...il.com,
dchinner@...hat.com, linux@...ssschuh.net, min15.li@...sung.com,
yukuai3@...wei.com, dlemoal@...nel.org, willy@...radead.org,
akpm@...ux-foundation.org, hare@...e.de, p.raghav@...sung.com
Cc: linux-block@...r.kernel.org, linux-kernel@...r.kernel.org,
xen-devel@...ts.xenproject.org, linux-bcache@...r.kernel.org,
linux-mtd@...ts.infradead.org, linux-s390@...r.kernel.org,
linux-scsi@...r.kernel.org, linux-bcachefs@...r.kernel.org,
linux-btrfs@...r.kernel.org, linux-fsdevel@...r.kernel.org,
linux-erofs@...ts.ozlabs.org, linux-ext4@...r.kernel.org,
gfs2@...ts.linux.dev, linux-nilfs@...r.kernel.org,
yukuai1@...weicloud.com, yi.zhang@...wei.com, yangerkun@...wei.com
Subject: [PATCH block/for-next v2 00/16] block: remove field 'bd_inode' from block_device
From: Yu Kuai <yukuai3@...wei.com>
Changes in v2:
- split different portions into different patches, as greg k-h
suggested.
- use container_of() instead of "bdev + 1" to get the address of
bd_inode in the new helper, as grep k-h suggested.
Yu Kuai (16):
block: add a new helper to get inode from block_device
xen/blkback: use new helper to get inode from block_device
bcache: use new helper to get inode from block_device
mtd: block2mtd: use new helper to get inode from block_device
s390/dasd: use new helper to get inode from block_device
scsicam: use new helper to get inode from block_device
bcachefs: use new helper to get inode from block_device
btrfs: use new helper to get inode from block_device
cramfs: use new helper to get inode from block_device
erofs: use new helper to get inode from block_device
ext4: use new helper to get inode from block_device
gfs2: use new helper to get inode from block_device
jbd2: use new helper to get inode from block_device
nilfs2: use new helper to get inode from block_device
buffer: use new helper to get inode from block_device
block: use new helper to get inode from block_device
block/bdev.c | 44 +++++++++++++++---------------
block/blk-zoned.c | 4 +--
block/fops.c | 4 +--
block/genhd.c | 8 +++---
block/ioctl.c | 8 +++---
block/partitions/core.c | 9 +++---
drivers/block/xen-blkback/xenbus.c | 2 +-
drivers/md/bcache/super.c | 2 +-
drivers/mtd/devices/block2mtd.c | 12 ++++----
drivers/s390/block/dasd_ioctl.c | 2 +-
drivers/scsi/scsicam.c | 2 +-
fs/bcachefs/util.h | 2 +-
fs/btrfs/disk-io.c | 6 ++--
fs/btrfs/volumes.c | 4 +--
fs/btrfs/zoned.c | 2 +-
fs/buffer.c | 8 +++---
fs/cramfs/inode.c | 2 +-
fs/erofs/data.c | 2 +-
fs/ext4/dir.c | 2 +-
fs/ext4/ext4_jbd2.c | 2 +-
fs/ext4/super.c | 8 +++---
fs/gfs2/glock.c | 2 +-
fs/gfs2/ops_fstype.c | 2 +-
fs/jbd2/journal.c | 3 +-
fs/jbd2/recovery.c | 2 +-
fs/nilfs2/segment.c | 2 +-
include/linux/blk_types.h | 15 ++++++++--
include/linux/blkdev.h | 4 +--
include/linux/buffer_head.h | 4 +--
29 files changed, 91 insertions(+), 78 deletions(-)
--
2.39.2
Powered by blists - more mailing lists