[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <146654196111.34694.7735150373057824399.stgit@dwillia2-desk3.amr.corp.intel.com>
Date: Tue, 21 Jun 2016 13:46:01 -0700
From: Dan Williams <dan.j.williams@...el.com>
To: axboe@...com
Cc: Keith Busch <keith.busch@...el.com>,
Ulf Hansson <ulf.hansson@...aro.org>,
"Martin K. Petersen" <martin.petersen@...cle.com>,
"Michael S. Tsirkin" <mst@...hat.com>,
Richard Weinberger <richard@....at>,
Jeff Dike <jdike@...toit.com>,
Konrad Rzeszutek Wilk <konrad.wilk@...cle.com>,
linux-kernel@...r.kernel.org,
"David S. Miller" <davem@...emloft.net>,
James Bottomley <James.Bottomley@...senpartnership.com>,
linux-nvdimm@...ts.01.org, linux-block@...r.kernel.org,
Johannes Thumshirn <jthumshirn@...e.de>,
Bart Van Assche <bart.vanassche@...disk.com>,
Ross Zwisler <ross.zwisler@...ux.intel.com>,
David Woodhouse <dwmw2@...radead.org>, hch@....de
Subject: [PATCH v4 0/5] Introduce device_add_disk() to kill
gendisk.driverfs_dev
Changes since v3 [1]:
1/ Broke out the non-trivial conversions into their own patches.
2/ Fix a behavior change in arch/um/drivers/ubd_kern.c. This driver
optionally creates parented and un-parented block devices. (Bart)
3/ Fix a behavior change in drivers/mmc/card/block.c. This driver does
not use blk-core infrastructure for partitions and instead registers
partitions as gendisk-children of the whole device gendisk.
Crediting Bart since his report triggered this re-review.
4/ Use the local CARD_TO_DEV() helper in drivers/block/rsxx/dev.c.
5/ Use the local 'dev' variable that represents the parent device in
drivers/scsi/sd.c.
[1]: https://lists.01.org/pipermail/linux-nvdimm/2016-June/005988.html
---
Answer the "// FIXME: remove" include/linux/genhd.h. This should be
functionally equivalent to the previous state. These patches received a
build success notification from the kbuild robot across 122 configs.
---
Dan Williams (5):
block: introduce device_add_disk()
mmc: move 'parent' tracking to mmc_blk_data
um: track 'parent' device in a local variable
block: convert to device_add_disk()
block: remove ->driverfs_dev
arch/powerpc/sysdev/axonram.c | 3 +--
arch/um/drivers/ubd_kern.c | 5 +++--
block/genhd.c | 18 +++++++++---------
drivers/block/cciss.c | 3 +--
drivers/block/floppy.c | 3 +--
drivers/block/mtip32xx/mtip32xx.c | 5 ++---
drivers/block/ps3disk.c | 3 +--
drivers/block/ps3vram.c | 3 +--
drivers/block/rsxx/dev.c | 4 +---
drivers/block/skd_main.c | 8 +++-----
drivers/block/sunvdc.c | 3 +--
drivers/block/virtio_blk.c | 3 +--
drivers/block/xen-blkfront.c | 3 +--
drivers/ide/ide-cd.c | 3 +--
drivers/ide/ide-gd.c | 3 +--
drivers/memstick/core/ms_block.c | 3 +--
drivers/memstick/core/mspro_block.c | 3 +--
drivers/mmc/card/block.c | 5 +++--
drivers/mtd/mtd_blkdevs.c | 4 +---
drivers/nvdimm/blk.c | 3 +--
drivers/nvdimm/btt.c | 3 +--
drivers/nvdimm/bus.c | 2 +-
drivers/nvdimm/pmem.c | 3 +--
drivers/nvme/host/core.c | 3 +--
drivers/s390/block/dasd_genhd.c | 3 +--
drivers/s390/block/dcssblk.c | 3 +--
drivers/s390/block/scm_blk.c | 3 +--
drivers/scsi/sd.c | 3 +--
drivers/scsi/sr.c | 3 +--
include/linux/genhd.h | 8 ++++++--
30 files changed, 50 insertions(+), 72 deletions(-)
Powered by blists - more mailing lists