Re: [PATCH 38/45] block: switch partition lookup to use struct block_device

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 11/28/20 5:15 PM, Christoph Hellwig wrote:
Use struct block_device to lookup partitions on a disk.  This removes
all usage of struct hd_struct from the I/O path.

Signed-off-by: Christoph Hellwig <hch@xxxxxx>
Reviewed-by: Jan Kara <jack@xxxxxxx>
Acked-by: Coly Li <colyli@xxxxxxx>			[bcache]
Acked-by: Chao Yu <yuchao0@xxxxxxxxxx>			[f2fs]
---
  block/bio.c                        |  4 +-
  block/blk-core.c                   | 66 ++++++++++++++----------------
  block/blk-flush.c                  |  2 +-
  block/blk-mq.c                     |  9 ++--
  block/blk-mq.h                     |  7 ++--
  block/blk.h                        |  4 +-
  block/genhd.c                      | 57 +++++++++++++++-----------
  block/partitions/core.c            |  7 +---
  drivers/block/drbd/drbd_receiver.c |  2 +-
  drivers/block/drbd/drbd_worker.c   |  2 +-
  drivers/block/zram/zram_drv.c      |  2 +-
  drivers/md/bcache/request.c        |  4 +-
  drivers/md/dm.c                    |  4 +-
  drivers/md/md.c                    |  4 +-
  drivers/nvme/target/admin-cmd.c    | 20 ++++-----
  fs/ext4/super.c                    | 18 +++-----
  fs/ext4/sysfs.c                    | 10 +----
  fs/f2fs/f2fs.h                     |  2 +-
  fs/f2fs/super.c                    |  6 +--
  include/linux/blkdev.h             |  8 ++--
  include/linux/genhd.h              |  4 +-
  include/linux/part_stat.h          | 17 ++++----
  22 files changed, 122 insertions(+), 137 deletions(-)

Reviewed-by: Hannes Reinecke <hare@xxxxxxx>

Cheers,

Hannes
--
Dr. Hannes Reinecke                Kernel Storage Architect
hare@xxxxxxx                              +49 911 74053 688
SUSE Software Solutions GmbH, Maxfeldstr. 5, 90409 Nürnberg
HRB 36809 (AG Nürnberg), Geschäftsführer: Felix Imendörffer



[Index of Archives]     [Linux Ext4 Filesystem]     [Union Filesystem]     [Filesystem Testing]     [Ceph Users]     [Ecryptfs]     [AutoFS]     [Kernel Newbies]     [Share Photos]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux Cachefs]     [Reiser Filesystem]     [Linux RAID]     [Samba]     [Device Mapper]     [CEPH Development]

  Powered by Linux