All of lore.kernel.org
 help / color / mirror / Atom feed
From: Al Viro <viro@zeniv.linux.org.uk>
To: Linus Torvalds <torvalds@linux-foundation.org>
Cc: linux-fsdevel@vger.kernel.org,
	Christian Brauner <brauner@kernel.org>,
	Christoph Hellwig <hch@lst.de>, Yu Kuai <yukuai3@huawei.com>,
	Gao Xiang <xiang@kernel.org>
Subject: [git pull] vfs bdev pile 2
Date: Tue, 21 May 2024 17:38:52 +0100	[thread overview]
Message-ID: <20240521163852.GP2118490@ZenIV> (raw)

	Next block device series - replacing ->bd_inode (me and Yu Kuai).
Two trivial conflicts (block/ioctl.c and fs/btrfs/disk-io.c); proposed
resolution in #merge-candidate (or in linux-next, for that matter).

The following changes since commit d18a8679581e8d1166b68e211d16c5349ae8c38c:

  make set_blocksize() fail unless block device is opened exclusive (2024-05-02 17:39:44 -0400)

are available in the Git repository at:

  git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs.git tags/pull-bd_inode-1

for you to fetch changes up to 203c1ce0bb063d1620698e39637b64f2d09c1368:

  RIP ->bd_inode (2024-05-03 02:36:56 -0400)

----------------------------------------------------------------
	bd_inode series

Replacement of bdev->bd_inode with sane(r) set of primitives.

----------------------------------------------------------------
Al Viro (16):
      erofs: switch erofs_bread() to passing offset instead of block number
      erofs_buf: store address_space instead of inode
      blkdev_write_iter(): saner way to get inode and bdev
      dm-vdo: use bdev_nr_bytes(bdev) instead of i_size_read(bdev->bd_inode)
      missing helpers: bdev_unhash(), bdev_drop()
      Merge branch 'misc.erofs' into work.bdev
      block_device: add a pointer to struct address_space (page cache of bdev)
      use ->bd_mapping instead of ->bd_inode->i_mapping
      grow_dev_folio(): we only want ->bd_inode->i_mapping there
      blk_ioctl_{discard,zeroout}(): we only want ->bd_inode->i_mapping here...
      fs/buffer.c: massage the remaining users of ->bd_inode to ->bd_mapping
      gfs2: more obvious initializations of mapping->host
      block/bdev.c: use the knowledge of inode/bdev coallocation
      nilfs_attach_log_writer(): use ->bd_mapping->host instead of ->bd_inode
      dasd_format(): killing the last remaining user of ->bd_inode
      RIP ->bd_inode

Yu Kuai (4):
      ext4: remove block_device_ejected()
      bcachefs: remove dead function bdev_sectors()
      block2mtd: prevent direct access of bd_inode
      block: move two helpers into bdev.c

 block/bdev.c                           | 66 ++++++++++++++++++++++++----------
 block/blk-zoned.c                      |  4 +--
 block/blk.h                            |  2 ++
 block/fops.c                           |  4 +--
 block/genhd.c                          |  8 ++---
 block/ioctl.c                          | 14 ++++----
 block/partitions/core.c                |  8 ++---
 drivers/md/bcache/super.c              |  2 +-
 drivers/md/dm-vdo/dm-vdo-target.c      |  4 +--
 drivers/md/dm-vdo/indexer/io-factory.c |  2 +-
 drivers/mtd/devices/block2mtd.c        |  6 ++--
 drivers/s390/block/dasd_ioctl.c        |  2 +-
 drivers/scsi/scsicam.c                 |  2 +-
 fs/bcachefs/util.h                     |  5 ---
 fs/btrfs/disk-io.c                     |  6 ++--
 fs/btrfs/volumes.c                     |  2 +-
 fs/btrfs/zoned.c                       |  2 +-
 fs/buffer.c                            | 26 +++++++-------
 fs/cramfs/inode.c                      |  2 +-
 fs/erofs/data.c                        | 12 +++----
 fs/erofs/dir.c                         |  4 +--
 fs/erofs/internal.h                    |  4 +--
 fs/erofs/namei.c                       |  6 ++--
 fs/erofs/super.c                       |  8 ++---
 fs/erofs/xattr.c                       | 37 ++++++++-----------
 fs/erofs/zdata.c                       |  6 ++--
 fs/ext4/dir.c                          |  2 +-
 fs/ext4/ext4_jbd2.c                    |  2 +-
 fs/ext4/super.c                        | 24 ++-----------
 fs/gfs2/glock.c                        |  2 +-
 fs/gfs2/ops_fstype.c                   |  2 +-
 fs/jbd2/journal.c                      |  2 +-
 fs/nilfs2/segment.c                    |  2 +-
 include/linux/blk_types.h              |  2 +-
 include/linux/blkdev.h                 | 12 ++-----
 include/linux/buffer_head.h            |  4 +--
 include/linux/jbd2.h                   |  4 +--
 37 files changed, 145 insertions(+), 157 deletions(-)

             reply	other threads:[~2024-05-21 16:38 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-05-21 16:38 Al Viro [this message]
2024-05-21 17:01 ` [git pull] vfs bdev pile 2 pr-tracker-bot

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20240521163852.GP2118490@ZenIV \
    --to=viro@zeniv.linux.org.uk \
    --cc=brauner@kernel.org \
    --cc=hch@lst.de \
    --cc=linux-fsdevel@vger.kernel.org \
    --cc=torvalds@linux-foundation.org \
    --cc=xiang@kernel.org \
    --cc=yukuai3@huawei.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.