Linux-NVME Archive on lore.kernel.org
 help / color / mirror / Atom feed
  • [parent not found: <20210521055116.1053587-3-hch@lst.de>]
  • [parent not found: <20210521055116.1053587-4-hch@lst.de>]
  • [parent not found: <20210521055116.1053587-5-hch@lst.de>]
  • [parent not found: <20210521055116.1053587-2-hch@lst.de>]
  • [parent not found: <20210521055116.1053587-6-hch@lst.de>]
  • [parent not found: <20210521055116.1053587-7-hch@lst.de>]
  • [parent not found: <20210521055116.1053587-8-hch@lst.de>]
  • [parent not found: <20210521055116.1053587-9-hch@lst.de>]
  • [parent not found: <20210521055116.1053587-10-hch@lst.de>]
  • [parent not found: <20210521055116.1053587-11-hch@lst.de>]
  • [parent not found: <20210521055116.1053587-12-hch@lst.de>]
  • [parent not found: <20210521055116.1053587-14-hch@lst.de>]
  • [parent not found: <20210521055116.1053587-15-hch@lst.de>]
  • [parent not found: <20210521055116.1053587-16-hch@lst.de>]
  • [parent not found: <20210521055116.1053587-17-hch@lst.de>]
  • [parent not found: <20210521055116.1053587-19-hch@lst.de>]
  • [parent not found: <20210521055116.1053587-21-hch@lst.de>]
  • [parent not found: <20210521055116.1053587-22-hch@lst.de>]
  • [parent not found: <20210521055116.1053587-23-hch@lst.de>]
  • [parent not found: <20210521055116.1053587-24-hch@lst.de>]
  • [parent not found: <20210521055116.1053587-25-hch@lst.de>]
  • [parent not found: <20210521055116.1053587-26-hch@lst.de>]
  • [parent not found: <20210521055116.1053587-27-hch@lst.de>]
  • [parent not found: <20210521055116.1053587-13-hch@lst.de>]
  • * Re: simplify gendisk and request_queue allocation for bio based drivers
           [not found] <20210521055116.1053587-1-hch@lst.de>
                       ` (24 preceding siblings ...)
           [not found] ` <20210521055116.1053587-13-hch@lst.de>
    @ 2021-05-25 22:41 ` Ulf Hansson
      2021-05-26  4:49   ` Christoph Hellwig
           [not found] ` <20210521055116.1053587-18-hch@lst.de>
      26 siblings, 1 reply; 45+ messages in thread
    From: Ulf Hansson @ 2021-05-25 22:41 UTC (permalink / raw)
      To: Christoph Hellwig
      Cc: Jens Axboe, Geert Uytterhoeven, Chris Zankel, Max Filippov,
    	Philipp Reisner, Lars Ellenberg, Jim Paris, Joshua Morris,
    	Philip Kelleher, Minchan Kim, Nitin Gupta, Matias Bjorling,
    	Coly Li, Mike Snitzer, Song Liu, Maxim Levitsky, Alex Dubov,
    	Dan Williams, Vishal Verma, Dave Jiang, Heiko Carstens,
    	Vasily Gorbik, Christian Borntraeger, linux-block, dm-devel,
    	linux-m68k, linux-xtensa, drbd-dev, linuxppc-dev, linux-bcache,
    	linux-raid, linux-mmc, nvdimm, linux-nvme, linux-s390
    
    On Fri, 21 May 2021 at 07:51, Christoph Hellwig <hch@lst.de> wrote:
    >
    > Hi all,
    >
    > this series is the first part of cleaning up lifetimes and allocation of
    > the gendisk and request_queue structure.  It adds a new interface to
    > allocate the disk and queue together for bio based drivers, and a helper
    > for cleanup/free them when a driver is unloaded or a device is removed.
    
    May I ask what else you have in the pipe for the next steps?
    
    The reason why I ask is that I am looking into some issues related to
    lifecycle problems of gendisk/mmc, typically triggered at SD/MMC card
    removal.
    
    >
    > Together this removes the need to treat the gendisk and request_queue
    > as separate entities for bio based drivers.
    >
    > Diffstat:
    >  arch/m68k/emu/nfblock.c             |   20 +---
    >  arch/xtensa/platforms/iss/simdisk.c |   29 +------
    >  block/blk-core.c                    |    1
    >  block/blk.h                         |    6 -
    >  block/genhd.c                       |  149 +++++++++++++++++++-----------------
    >  block/partitions/core.c             |   19 ++--
    >  drivers/block/brd.c                 |   94 +++++++---------------
    >  drivers/block/drbd/drbd_main.c      |   23 +----
    >  drivers/block/n64cart.c             |    8 -
    >  drivers/block/null_blk/main.c       |   38 ++++-----
    >  drivers/block/pktcdvd.c             |   11 --
    >  drivers/block/ps3vram.c             |   31 +------
    >  drivers/block/rsxx/dev.c            |   39 +++------
    >  drivers/block/rsxx/rsxx_priv.h      |    1
    >  drivers/block/zram/zram_drv.c       |   19 ----
    >  drivers/lightnvm/core.c             |   24 +----
    >  drivers/md/bcache/super.c           |   15 ---
    >  drivers/md/dm.c                     |   16 +--
    >  drivers/md/md.c                     |   25 ++----
    >  drivers/memstick/core/ms_block.c    |    1
    >  drivers/nvdimm/blk.c                |   27 +-----
    >  drivers/nvdimm/btt.c                |   25 +-----
    >  drivers/nvdimm/btt.h                |    2
    >  drivers/nvdimm/pmem.c               |   17 +---
    >  drivers/nvme/host/core.c            |    1
    >  drivers/nvme/host/multipath.c       |   46 +++--------
    >  drivers/s390/block/dcssblk.c        |   26 +-----
    >  drivers/s390/block/xpram.c          |   26 ++----
    >  include/linux/blkdev.h              |    1
    >  include/linux/genhd.h               |   23 +++++
    >  30 files changed, 297 insertions(+), 466 deletions(-)
    
    This looks like a nice cleanup to me.  Feel free to add, for the series:
    
    Reviewed-by: Ulf Hansson <ulf.hansson@linaro.org>
    
    Kind regards
    Uffe
    
    _______________________________________________
    Linux-nvme mailing list
    Linux-nvme@lists.infradead.org
    http://lists.infradead.org/mailman/listinfo/linux-nvme
    
    ^ permalink raw reply	[flat|nested] 45+ messages in thread
  • [parent not found: <20210521055116.1053587-18-hch@lst.de>]

  • end of thread, other threads:[~2021-10-13  6:15 UTC | newest]
    
    Thread overview: 45+ messages (download: mbox.gz follow: Atom feed
    -- links below jump to the message on this page --
         [not found] <20210521055116.1053587-1-hch@lst.de>
         [not found] ` <20210521055116.1053587-20-hch@lst.de>
    2021-05-21  8:37   ` [PATCH 19/26] nfblock: convert to blk_alloc_disk/blk_cleanup_disk Geert Uytterhoeven
    2021-05-23  8:21   ` Hannes Reinecke
         [not found] ` <20210521055116.1053587-3-hch@lst.de>
    2021-05-21 17:18   ` [dm-devel] [PATCH 02/26] block: move the DISK_MAX_PARTS sanity check into __device_add_disk Luis Chamberlain
    2021-05-23  7:48   ` Hannes Reinecke
         [not found] ` <20210521055116.1053587-4-hch@lst.de>
    2021-05-21 17:22   ` [dm-devel] [PATCH 03/26] block: automatically enable GENHD_FL_EXT_DEVT Luis Chamberlain
    2021-05-23  7:50   ` Hannes Reinecke
         [not found] ` <20210521055116.1053587-5-hch@lst.de>
    2021-05-21 17:28   ` [dm-devel] [PATCH 04/26] block: add a flag to make put_disk on partially initalized disks safer Luis Chamberlain
    2021-05-23  7:54   ` Hannes Reinecke
         [not found] ` <20210521055116.1053587-2-hch@lst.de>
    2021-05-21 17:16   ` [dm-devel] [PATCH 01/26] block: refactor device number setup in __device_add_disk Luis Chamberlain
    2021-05-24  7:20     ` Christoph Hellwig
    2021-05-23  7:46   ` Hannes Reinecke
    2021-05-24  7:22     ` Christoph Hellwig
         [not found] ` <20210521055116.1053587-6-hch@lst.de>
    2021-05-21 17:44   ` [dm-devel] [PATCH 05/26] block: add blk_alloc_disk and blk_cleanup_disk APIs Luis Chamberlain
    2021-05-24  7:24     ` Christoph Hellwig
    2021-05-23  7:55   ` Hannes Reinecke
         [not found] ` <20210521055116.1053587-7-hch@lst.de>
    2021-05-23  7:58   ` [PATCH 06/26] brd: convert to blk_alloc_disk/blk_cleanup_disk Hannes Reinecke
    2021-05-24  7:24     ` Christoph Hellwig
         [not found] ` <20210521055116.1053587-8-hch@lst.de>
    2021-05-23  7:59   ` [PATCH 07/26] drbd: " Hannes Reinecke
         [not found] ` <20210521055116.1053587-9-hch@lst.de>
    2021-05-23  8:00   ` [PATCH 08/26] pktcdvd: " Hannes Reinecke
         [not found] ` <20210521055116.1053587-10-hch@lst.de>
    2021-05-23  8:01   ` [PATCH 09/26] rsxx: " Hannes Reinecke
         [not found] ` <20210521055116.1053587-11-hch@lst.de>
    2021-05-23  8:01   ` [PATCH 10/26] zram: " Hannes Reinecke
         [not found] ` <20210521055116.1053587-12-hch@lst.de>
    2021-05-23  8:02   ` [PATCH 11/26] lightnvm: " Hannes Reinecke
         [not found] ` <20210521055116.1053587-14-hch@lst.de>
    2021-05-23  8:10   ` [PATCH 13/26] dm: " Hannes Reinecke
    2021-05-24  7:25     ` Christoph Hellwig
         [not found] ` <20210521055116.1053587-15-hch@lst.de>
    2021-05-23  8:12   ` [PATCH 14/26] md: " Hannes Reinecke
    2021-05-24  7:26     ` Christoph Hellwig
    2021-05-24  8:27       ` Hannes Reinecke
         [not found] ` <20210521055116.1053587-16-hch@lst.de>
    2021-05-23  8:13   ` [PATCH 15/26] nvdimm-blk: " Hannes Reinecke
         [not found] ` <20210521055116.1053587-17-hch@lst.de>
    2021-05-23  8:14   ` [PATCH 16/26] nvdimm-btt: " Hannes Reinecke
         [not found] ` <20210521055116.1053587-19-hch@lst.de>
    2021-05-23  8:20   ` [PATCH 18/26] nvme-multipath: " Hannes Reinecke
    2021-05-24  7:29     ` Christoph Hellwig
         [not found] ` <20210521055116.1053587-21-hch@lst.de>
    2021-05-23  8:22   ` [PATCH 20/26] simdisk: " Hannes Reinecke
         [not found] ` <20210521055116.1053587-22-hch@lst.de>
    2021-05-23  8:22   ` [PATCH 21/26] n64cart: convert to blk_alloc_disk Hannes Reinecke
         [not found] ` <20210521055116.1053587-23-hch@lst.de>
    2021-05-23  8:23   ` [PATCH 22/26] ps3vram: convert to blk_alloc_disk/blk_cleanup_disk Hannes Reinecke
         [not found] ` <20210521055116.1053587-24-hch@lst.de>
    2021-05-23  8:23   ` [PATCH 23/26] dcssblk: " Hannes Reinecke
         [not found] ` <20210521055116.1053587-25-hch@lst.de>
    2021-05-23  8:24   ` [PATCH 24/26] xpram: " Hannes Reinecke
         [not found] ` <20210521055116.1053587-26-hch@lst.de>
    2021-05-23  8:25   ` [PATCH 25/26] null_blk: " Hannes Reinecke
         [not found] ` <20210521055116.1053587-27-hch@lst.de>
    2021-05-23  8:26   ` [PATCH 26/26] block: unexport blk_alloc_queue Hannes Reinecke
         [not found] ` <20210521055116.1053587-13-hch@lst.de>
    2021-05-23  8:04   ` [PATCH 12/26] bcache: convert to blk_alloc_disk/blk_cleanup_disk Hannes Reinecke
    2021-05-23 16:20   ` Coly Li
    2021-05-25 22:41 ` simplify gendisk and request_queue allocation for bio based drivers Ulf Hansson
    2021-05-26  4:49   ` Christoph Hellwig
    2021-05-26  8:07     ` Ulf Hansson
         [not found] ` <20210521055116.1053587-18-hch@lst.de>
    2021-05-23  8:14   ` [PATCH 17/26] nvdimm-pmem: convert to blk_alloc_disk/blk_cleanup_disk Hannes Reinecke
    2021-06-07  4:43   ` Dan Williams
    

    This is a public inbox, see mirroring instructions
    for how to clone and mirror all data and code used for this inbox