Hi Jens, please pull from: +AKA- git://git.kernel.org/pub/scm/linux/kernel/git/nvdimm/nvdimm for-4.8/block ...to receive: The removal of -+AD4-driverfs+AF8-dev in favor of just passing the parent device in as a parameter to add+AF8-disk(). +AKA-See below, it has received a +ACI-Reviewed-by+ACI- from Christoph, Bart, and Johannes. It is also a pre-requisite for Fam Zheng's work to cleanup gendisk uevents vs attribute visibility +AFs-1+AF0-. +AKA-We would extend device+AF8-add+AF8-disk() to take an attribute+AF8-group list. This is based off a branch of block.git/for-4.8/drivers and has received a positive build success notification from the kbuild robot across several configs. +AFs-1+AF0-: +ACI-gendisk: Generate uevent after attribute available+ACI- http://marc.info/?l+AD0-linux-virtualization+ACY-m+AD0-146725201522201+ACY-w+AD0-2 --- The following changes since commit 1b57e66384e2d21150301e68078526fac5680a16: +AKA- drbd: correctly handle failed crypto+AF8-alloc+AF8-hash (2016-06-13 21:43:08 -0600) are available in the git repository at: +AKA- git://git.kernel.org/pub/scm/linux/kernel/git/nvdimm/nvdimm for-4.8/block for you to fetch changes up to 52c44d93c26f5a76068c0a8cc83bb8f56f38043d: +AKA- block: remove -+AD4-driverfs+AF8-dev (2016-06-27 12:26:08 -0700) ---------------------------------------------------------------- Dan Williams (5): +AKAAoACgAKAAoACg-block: introduce device+AF8-add+AF8-disk() +AKAAoACgAKAAoACg-mmc: move 'parent' tracking to mmc+AF8-blk+AF8-data +AKAAoACgAKAAoACg-um: track 'parent' device in a local variable +AKAAoACgAKAAoACg-block: convert to device+AF8-add+AF8-disk() +AKAAoACgAKAAoACg-block: remove -+AD4-driverfs+AF8-dev +AKA-arch/powerpc/sysdev/axonram.c+AKAAoACgAKAAoACgAKAAfACgAKA-3 +--- +AKA-arch/um/drivers/ubd+AF8-kern.c+AKAAoACgAKAAoACgAKAAoACgAKAAfACgAKA-5 +-+-+--- +AKA-block/genhd.c+AKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoAB8- 18 +-+-+-+-+-+-+-+-+---------- +AKA-drivers/block/cciss.c+AKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAHwAoACg-3 +--- +AKA-drivers/block/floppy.c+AKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoAB8AKAAoA-3 +--- +AKA-drivers/block/mtip32xx/mtip32xx.c+AKAAoACgAHwAoACg-5 +-+---- +AKA-drivers/block/ps3disk.c+AKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAfACgAKA-3 +--- +AKA-drivers/block/ps3vram.c+AKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAfACgAKA-3 +--- +AKA-drivers/block/rsxx/dev.c+AKAAoACgAKAAoACgAKAAoACgAKAAoACgAHwAoACg-4 +---- +AKA-drivers/block/skd+AF8-main.c+AKAAoACgAKAAoACgAKAAoACgAKAAoACgAHwAoACg-8 +-+-+------ +AKA-drivers/block/sunvdc.c+AKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoAB8AKAAoA-3 +--- +AKA-drivers/block/virtio+AF8-blk.c+AKAAoACgAKAAoACgAKAAoACgAKAAfACgAKA-3 +--- +AKA-drivers/block/xen-blkfront.c+AKAAoACgAKAAoACgAKAAoAB8AKAAoA-3 +--- +AKA-drivers/ide/ide-cd.c+AKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAfACgAKA-3 +--- +AKA-drivers/ide/ide-gd.c+AKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAfACgAKA-3 +--- +AKA-drivers/memstick/core/ms+AF8-block.c+AKAAoACgAKAAfACgAKA-3 +--- +AKA-drivers/memstick/core/mspro+AF8-block.c +AHwAoACg-3 +--- +AKA-drivers/mmc/card/block.c+AKAAoACgAKAAoACgAKAAoACgAKAAoACgAHwAoACg-5 +-+-+--- +AKA-drivers/mtd/mtd+AF8-blkdevs.c+AKAAoACgAKAAoACgAKAAoACgAKAAoAB8AKAAoA-4 +---- +AKA-drivers/nvdimm/blk.c+AKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAfACgAKA-3 +--- +AKA-drivers/nvdimm/btt.c+AKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAfACgAKA-3 +--- +AKA-drivers/nvdimm/bus.c+AKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAfACgAKA-2 +-- +AKA-drivers/nvdimm/pmem.c+AKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAHwAoACg-3 +--- +AKA-drivers/nvme/host/core.c+AKAAoACgAKAAoACgAKAAoACgAKAAoACgAHwAoACg-3 +--- +AKA-drivers/s390/block/dasd+AF8-genhd.c+AKAAoACgAKAAoAB8AKAAoA-3 +--- +AKA-drivers/s390/block/dcssblk.c+AKAAoACgAKAAoACgAKAAoAB8AKAAoA-3 +--- +AKA-drivers/s390/block/scm+AF8-blk.c+AKAAoACgAKAAoACgAKAAoAB8AKAAoA-3 +--- +AKA-drivers/scsi/sd.c+AKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAfACgAKA-3 +--- +AKA-drivers/scsi/sr.c+AKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAfACgAKA-3 +--- +AKA-include/linux/genhd.h+AKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAHwAoACg-8 +-+-+-+-+-+--- +AKA-30 files changed, 50 insertions(+-), 72 deletions(-) commit e63a46bef01ff3064f44dba145833284fb6adeec Author: Dan Williams +ADw-dan.j.williams+AEA-intel.com+AD4- Date:+AKAAoACg-Wed Jun 15 18:17:27 2016 -0700 +AKAAoACgAKA-block: introduce device+AF8-add+AF8-disk() +AKAAoACgAKA- +AKAAoACgAKA-In preparation for removing the -+AD4-driverfs+AF8-dev member of a gendisk, add +AKAAoACgAKA-an api that takes the parent device as a parameter to add+AF8-disk().+AKAAoA-For +AKAAoACgAKA-now this maintains the status quo of WARN()ing on failure, but not +AKAAoACgAKA-return a error code. +AKAAoACgAKA- +AKAAoACgAKA-Reviewed-by: Christoph Hellwig +ADw-hch+AEA-lst.de+AD4- +AKAAoACgAKA-Reviewed-by: Johannes Thumshirn +ADw-jthumshirn+AEA-suse.de+AD4- +AKAAoACgAKA-Reviewed-by: Bart Van Assche +ADw-bart.vanassche+AEA-sandisk.com+AD4- +AKAAoACgAKA-Signed-off-by: Dan Williams +ADw-dan.j.williams+AEA-intel.com+AD4- commit 307d8e6f248558b184a2513593dbbeb08406a4fa Author: Dan Williams +ADw-dan.j.williams+AEA-intel.com+AD4- Date:+AKAAoACg-Mon Jun 20 10:40:44 2016 -0700 +AKAAoACgAKA-mmc: move 'parent' tracking to mmc+AF8-blk+AF8-data +AKAAoACgAKA- +AKAAoACgAKA-In preparation for the removal of 'driverfs+AF8-dev' from 'struct gendisk', +AKAAoACgAKA-carry this data in mmc+AF8-blk+AF8-data. It is used for registration of parent +AKAAoACgAKA-disks and partitions. +AKAAoACgAKA- +AKAAoACgAKA-Cc: Ulf Hansson +ADw-ulf.hansson+AEA-linaro.org+AD4- +AKAAoACgAKA-Cc: Bart Van Assche +ADw-bart.vanassche+AEA-sandisk.com+AD4- +AKAAoACgAKA-Signed-off-by: Dan Williams +ADw-dan.j.williams+AEA-intel.com+AD4- commit d72a57835c92f6d51863b0ad6d7d45e3859e24d4 Author: Dan Williams +ADw-dan.j.williams+AEA-intel.com+AD4- Date:+AKAAoACg-Mon Jun 20 10:44:32 2016 -0700 +AKAAoACgAKA-um: track 'parent' device in a local variable +AKAAoACgAKA- +AKAAoACgAKA-In preparation for the removal of 'driverfs+AF8-dev' from 'struct gendisk' +AKAAoACgAKA-use a local variable to track the parented vs un-parented case in +AKAAoACgAKA-ubd+AF8-disk+AF8-register(). +AKAAoACgAKA- +AKAAoACgAKA-Cc: Jeff Dike +ADw-jdike+AEA-addtoit.com+AD4- +AKAAoACgAKA-Cc: Richard Weinberger +ADw-richard+AEA-nod.at+AD4- +AKAAoACgAKA-Cc: Bart Van Assche +ADw-bart.vanassche+AEA-sandisk.com+AD4- +AKAAoACgAKA-Signed-off-by: Dan Williams +ADw-dan.j.williams+AEA-intel.com+AD4- commit 0d52c756a665adc032c791307bc55e392b0186b3 Author: Dan Williams +ADw-dan.j.williams+AEA-intel.com+AD4- Date:+AKAAoACg-Wed Jun 15 19:44:20 2016 -0700 +AKAAoACgAKA-block: convert to device+AF8-add+AF8-disk() +AKAAoACgAKA- +AKAAoACgAKA-For block drivers that specify a parent device, convert them to use +AKAAoACgAKA-device+AF8-add+AF8-disk(). +AKAAoACgAKA- +AKAAoACgAKA-This conversion was done with the following semantic patch: +AKAAoACgAKA- +AKAAoACgAKAAoACgAKAAoABAAEA- +AKAAoACgAKAAoACgAKAAoA-struct gendisk +ACo-disk+ADs- +AKAAoACgAKAAoACgAKAAoA-expression E+ADs- +AKAAoACgAKAAoACgAKAAoABAAEA- +AKAAoACgAKA- +AKAAoACgAKAAoACgAKAAoA-- disk-+AD4-driverfs+AF8-dev +AD0- E+ADs- +AKAAoACgAKAAoACgAKAAoA-... +AKAAoACgAKAAoACgAKAAoA-- add+AF8-disk(disk)+ADs- +AKAAoACgAKAAoACgAKAAoAAr- device+AF8-add+AF8-disk(E, disk)+ADs- +AKAAoACgAKA- +AKAAoACgAKAAoACgAKAAoABAAEA- +AKAAoACgAKAAoACgAKAAoA-struct gendisk +ACo-disk+ADs- +AKAAoACgAKAAoACgAKAAoA-expression E1, E2+ADs- +AKAAoACgAKAAoACgAKAAoABAAEA- +AKAAoACgAKA- +AKAAoACgAKAAoACgAKAAoA-- disk-+AD4-driverfs+AF8-dev +AD0- E1+ADs- +AKAAoACgAKAAoACgAKAAoA-... +AKAAoACgAKAAoACgAKAAoA-E2 +AD0- disk+ADs- +AKAAoACgAKAAoACgAKAAoA-... +AKAAoACgAKAAoACgAKAAoA-- add+AF8-disk(E2)+ADs- +AKAAoACgAKAAoACgAKAAoAAr- device+AF8-add+AF8-disk(E1, E2)+ADs- +AKAAoACgAKA- +AKAAoACgAKA-...plus some manual fixups for a few missed conversions. +AKAAoACgAKA- +AKAAoACgAKA-Cc: Jens Axboe +ADw-axboe+AEA-fb.com+AD4- +AKAAoACgAKA-Cc: Keith Busch +ADw-keith.busch+AEA-intel.com+AD4- +AKAAoACgAKA-Cc: Michael S. Tsirkin +ADw-mst+AEA-redhat.com+AD4- +AKAAoACgAKA-Cc: David Woodhouse +ADw-dwmw2+AEA-infradead.org+AD4- +AKAAoACgAKA-Cc: David S. Miller +ADw-davem+AEA-davemloft.net+AD4- +AKAAoACgAKA-Cc: James Bottomley +ADw-James.Bottomley+AEA-hansenpartnership.com+AD4- +AKAAoACgAKA-Cc: Ross Zwisler +ADw-ross.zwisler+AEA-linux.intel.com+AD4- +AKAAoACgAKA-Cc: Konrad Rzeszutek Wilk +ADw-konrad.wilk+AEA-oracle.com+AD4- +AKAAoACgAKA-Cc: Martin K. Petersen +ADw-martin.petersen+AEA-oracle.com+AD4- +AKAAoACgAKA-Reviewed-by: Christoph Hellwig +ADw-hch+AEA-lst.de+AD4- +AKAAoACgAKA-Reviewed-by: Johannes Thumshirn +ADw-jthumshirn+AEA-suse.de+AD4- +AKAAoACgAKA-Signed-off-by: Dan Williams +ADw-dan.j.williams+AEA-intel.com+AD4- commit 52c44d93c26f5a76068c0a8cc83bb8f56f38043d Author: Dan Williams +ADw-dan.j.williams+AEA-intel.com+AD4- Date:+AKAAoACg-Wed Jun 15 19:43:07 2016 -0700 +AKAAoACgAKA-block: remove -+AD4-driverfs+AF8-dev +AKAAoACgAKA- +AKAAoACgAKA-Now that all drivers that specify a -+AD4-driverfs+AF8-dev have been converted +AKAAoACgAKA-to device+AF8-add+AF8-disk(), the pointer can be removed from struct gendisk. +AKAAoACgAKA- +AKAAoACgAKA-Cc: Jens Axboe +ADw-axboe+AEA-fb.com+AD4- +AKAAoACgAKA-Cc: Ross Zwisler +ADw-ross.zwisler+AEA-linux.intel.com+AD4- +AKAAoACgAKA-Reviewed-by: Christoph Hellwig +ADw-hch+AEA-lst.de+AD4- +AKAAoACgAKA-Reviewed-by: Johannes Thumshirn +ADw-jthumshirn+AEA-suse.de+AD4- +AKAAoACgAKA-Signed-off-by: Dan Williams +ADw-dan.j.williams+AEA-intel.com+AD4--- To unsubscribe from this list: send the line "unsubscribe linux-block" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html