All of lore.kernel.org
 help / color / mirror / Atom feed
From: Kent Overstreet <kent.overstreet@gmail.com>
To: linux-kernel@vger.kernel.org, linux-block@vger.kernel.org,
	axboe@kernel.dk, hch@infradead.org, colyli@suse.de,
	snitzer@redhat.com, darrick.wong@oracle.com, clm@fb.com,
	bacik@fb.com, linux-xfs@vger.kernel.org,
	drbd-dev@lists.linbit.com, linux-btrfs@vger.kernel.org,
	linux-raid@vger.kernel.org, neilb@suse.com
Cc: Kent Overstreet <kent.overstreet@gmail.com>
Subject: [PATCH 00/13] convert block layer to bioset_init()/mempool_init()
Date: Sun, 20 May 2018 18:25:46 -0400	[thread overview]
Message-ID: <20180520222558.7053-1-kent.overstreet@gmail.com> (raw)

Jens - this series does the rest of the conversions that Christoph wanted, and
drops bioset_create().

Only lightly tested, but the changes are pretty mechanical. Based on your
for-next tree.

It's also in the for-jens branch at https://evilpiepirate.org/git/bcachefs.git

Kent Overstreet (12):
  block: convert bounce, q->bio_split to bioset_init()/mempool_init()
  drbd: convert to bioset_init()/mempool_init()
  pktcdvd: convert to bioset_init()/mempool_init()
  lightnvm: convert to bioset_init()/mempool_init()
  bcache: convert to bioset_init()/mempool_init()
  md: convert to bioset_init()/mempool_init()
  dm: convert to bioset_init()/mempool_init()
  target: convert to bioset_init()/mempool_init()
  fs: convert block_dev.c to bioset_init()
  btrfs: convert to bioset_init()/mempool_init()
  xfs: convert to bioset_init()/mempool_init()
  block: Drop bioset_create()

 block/bio.c                         | 61 +++++------------------
 block/blk-core.c                    |  7 +--
 block/blk-merge.c                   |  8 +--
 block/blk-sysfs.c                   |  3 +-
 block/bounce.c                      | 47 +++++++++---------
 drivers/block/drbd/drbd_bitmap.c    |  4 +-
 drivers/block/drbd/drbd_int.h       | 10 ++--
 drivers/block/drbd/drbd_main.c      | 71 ++++++++++-----------------
 drivers/block/drbd/drbd_receiver.c  |  6 +--
 drivers/block/drbd/drbd_req.c       |  4 +-
 drivers/block/drbd/drbd_req.h       |  2 +-
 drivers/block/pktcdvd.c             | 50 +++++++++----------
 drivers/lightnvm/pblk-core.c        | 30 ++++++------
 drivers/lightnvm/pblk-init.c        | 72 +++++++++++++--------------
 drivers/lightnvm/pblk-read.c        |  4 +-
 drivers/lightnvm/pblk-recovery.c    |  2 +-
 drivers/lightnvm/pblk-write.c       |  8 +--
 drivers/lightnvm/pblk.h             | 14 +++---
 drivers/md/bcache/bcache.h          | 10 ++--
 drivers/md/bcache/bset.c            | 13 ++---
 drivers/md/bcache/bset.h            |  2 +-
 drivers/md/bcache/btree.c           |  4 +-
 drivers/md/bcache/io.c              |  4 +-
 drivers/md/bcache/request.c         | 18 +++----
 drivers/md/bcache/super.c           | 38 ++++++---------
 drivers/md/dm-bio-prison-v1.c       | 13 ++---
 drivers/md/dm-bio-prison-v2.c       | 13 ++---
 drivers/md/dm-cache-target.c        | 25 +++++-----
 drivers/md/dm-core.h                |  4 +-
 drivers/md/dm-crypt.c               | 60 +++++++++++------------
 drivers/md/dm-integrity.c           | 15 +++---
 drivers/md/dm-io.c                  | 29 +++++------
 drivers/md/dm-kcopyd.c              | 22 +++++----
 drivers/md/dm-log-userspace-base.c  | 19 ++++----
 drivers/md/dm-region-hash.c         | 23 ++++-----
 drivers/md/dm-rq.c                  |  2 +-
 drivers/md/dm-snap.c                | 17 +++----
 drivers/md/dm-thin.c                | 32 ++++++------
 drivers/md/dm-verity-fec.c          | 55 +++++++++++----------
 drivers/md/dm-verity-fec.h          |  8 +--
 drivers/md/dm-zoned-target.c        | 13 +++--
 drivers/md/dm.c                     | 55 +++++++++------------
 drivers/md/md-faulty.c              |  2 +-
 drivers/md/md-linear.c              |  2 +-
 drivers/md/md-multipath.c           | 17 ++++---
 drivers/md/md-multipath.h           |  2 +-
 drivers/md/md.c                     | 61 +++++++++--------------
 drivers/md/md.h                     |  4 +-
 drivers/md/raid0.c                  |  5 +-
 drivers/md/raid1.c                  | 76 ++++++++++++++---------------
 drivers/md/raid1.h                  |  6 +--
 drivers/md/raid10.c                 | 60 +++++++++++------------
 drivers/md/raid10.h                 |  6 +--
 drivers/md/raid5-cache.c            | 43 ++++++++--------
 drivers/md/raid5-ppl.c              | 42 +++++++---------
 drivers/md/raid5.c                  | 12 ++---
 drivers/md/raid5.h                  |  2 +-
 drivers/target/target_core_iblock.c | 14 +++---
 drivers/target/target_core_iblock.h |  2 +-
 fs/block_dev.c                      |  9 ++--
 fs/btrfs/extent_io.c                | 25 +++++-----
 fs/xfs/xfs_aops.c                   |  2 +-
 fs/xfs/xfs_aops.h                   |  2 +-
 fs/xfs/xfs_super.c                  | 11 ++---
 include/linux/bio.h                 | 11 +++--
 include/linux/blkdev.h              |  2 +-
 include/linux/pktcdvd.h             |  2 +-
 67 files changed, 606 insertions(+), 711 deletions(-)

-- 
2.17.0

             reply	other threads:[~2018-05-20 22:25 UTC|newest]

Thread overview: 73+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-05-20 22:25 Kent Overstreet [this message]
2018-05-20 22:25 ` [PATCH 01/12] block: convert bounce, q->bio_split to bioset_init()/mempool_init() Kent Overstreet
2018-05-22 10:08   ` Christoph Hellwig
2018-05-20 22:25 ` [PATCH 02/12] drbd: convert " Kent Overstreet
2018-05-20 22:25 ` [PATCH 03/12] pktcdvd: " Kent Overstreet
2018-05-20 22:25 ` [PATCH 04/12] lightnvm: " Kent Overstreet
2018-05-22 10:10   ` Javier Gonzalez
2018-05-20 22:25 ` [PATCH 05/12] bcache: " Kent Overstreet
2018-05-21  3:58   ` Coly Li
2018-05-20 22:25 ` [PATCH 06/12] md: " Kent Overstreet
2018-06-01 10:51   ` Arnd Bergmann
2018-05-20 22:25 ` [PATCH 07/12] dm: " Kent Overstreet
     [not found]   ` <20180520222558.7053-8-kent.overstreet-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2018-05-30 19:27     ` Mike Snitzer
2018-05-30 19:27       ` Mike Snitzer
2018-05-20 22:25 ` [PATCH 08/12] target: " Kent Overstreet
2018-05-22 10:09   ` Christoph Hellwig
2018-05-20 22:25 ` [PATCH 09/12] fs: convert block_dev.c to bioset_init() Kent Overstreet
2018-05-22 10:09   ` Christoph Hellwig
2018-05-20 22:25 ` [PATCH 10/12] btrfs: convert to bioset_init()/mempool_init() Kent Overstreet
2018-05-30 21:30   ` Chris Mason
2018-05-30 21:30     ` Chris Mason
2018-05-20 22:25 ` [PATCH 11/12] xfs: " Kent Overstreet
2018-05-21 18:39   ` Darrick J. Wong
     [not found]   ` <20180520222558.7053-12-kent.overstreet-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2018-05-22 10:10     ` Christoph Hellwig
2018-05-22 10:10       ` Christoph Hellwig
2018-05-20 22:25 ` [PATCH 12/12] block: Drop bioset_create() Kent Overstreet
2018-05-22 10:10   ` Christoph Hellwig
2018-05-20 23:08 ` [PATCH 00/13] convert block layer to bioset_init()/mempool_init() NeilBrown
2018-05-20 23:08   ` NeilBrown
2018-05-20 23:11   ` Kent Overstreet
     [not found] ` <20180520222558.7053-1-kent.overstreet-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2018-05-21 14:03   ` Mike Snitzer
2018-05-21 14:03     ` Mike Snitzer
2018-05-21 14:19     ` Jens Axboe
     [not found]       ` <686d7df6-c7d1-48a6-b7ff-48dc8aff6a62-tSWWG44O7X1aa/9Udqfwiw@public.gmane.org>
2018-05-21 14:31         ` Mike Snitzer
2018-05-21 14:31           ` Mike Snitzer
2018-05-21 14:36           ` Jens Axboe
     [not found]             ` <2bbeeb1a-8b99-b06a-eb9b-eb8523c16460-tSWWG44O7X1aa/9Udqfwiw@public.gmane.org>
2018-05-21 14:47               ` Mike Snitzer
2018-05-21 14:47                 ` Mike Snitzer
     [not found]                 ` <20180521144703.GA19303-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
2018-05-21 14:52                   ` Jens Axboe
2018-05-21 14:52                     ` Jens Axboe
     [not found]                     ` <4b343aef-e11c-73ba-1d88-7e73ca838cad-tSWWG44O7X1aa/9Udqfwiw@public.gmane.org>
2018-05-21 15:04                       ` Mike Snitzer
2018-05-21 15:04                         ` Mike Snitzer
     [not found]                         ` <20180521150439.GA19379-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
2018-05-21 15:09                           ` Jens Axboe
2018-05-21 15:09                             ` Jens Axboe
     [not found]                             ` <61e30dcf-a01c-f47d-087a-12930caf9aef-tSWWG44O7X1aa/9Udqfwiw@public.gmane.org>
2018-05-21 15:18                               ` Mike Snitzer
2018-05-21 15:18                                 ` Mike Snitzer
     [not found]                                 ` <20180521151817.GA19454-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
2018-05-21 15:36                                   ` Jens Axboe
2018-05-21 15:36                                     ` Jens Axboe
     [not found]                                     ` <d01a150a-7752-f6ce-78f2-17a65c1e6fa5-tSWWG44O7X1aa/9Udqfwiw@public.gmane.org>
2018-05-21 16:09                                       ` Mike Snitzer
2018-05-21 16:09                                         ` Mike Snitzer
     [not found]                                         ` <20180521160907.GA19553-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
2018-05-21 16:20                                           ` Jens Axboe
2018-05-21 16:20                                             ` Jens Axboe
     [not found]                                             ` <f9e3714c-b7c9-d5f6-4018-2a87dd5babb2-tSWWG44O7X1aa/9Udqfwiw@public.gmane.org>
2018-05-30 13:36                                               ` Mike Snitzer
2018-05-30 13:36                                                 ` Mike Snitzer
     [not found]                                                 ` <20180530133629.GC5157-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
2018-05-30 18:55                                                   ` Jens Axboe
2018-05-30 18:55                                                     ` Jens Axboe
2018-05-30 19:34                                                     ` Kent Overstreet
2018-05-30 19:36                                                       ` Jens Axboe
2018-05-30 19:36                                                         ` Jens Axboe
2018-05-30 19:37                                                     ` Mike Snitzer
     [not found]                                                       ` <20180530193707.GB6568-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
2018-05-30 19:38                                                         ` Jens Axboe
2018-05-30 19:38                                                           ` Jens Axboe
2018-05-21 17:37                                         ` Kent Overstreet
2018-05-21 18:24                                           ` Mike Snitzer
2018-05-21 18:24                                             ` Mike Snitzer
2018-05-21 23:38                                             ` Kent Overstreet
2018-05-22  6:41                                               ` Christoph Hellwig
     [not found]                                                 ` <20180522064118.GA18704-wEGCiKHe2LqWVfeAwA7xHQ@public.gmane.org>
2018-05-22 19:09                                                   ` Mike Snitzer
2018-05-22 19:09                                                     ` Mike Snitzer
2018-05-21 15:12       ` David Sterba
2018-05-21 15:18         ` Jens Axboe
2018-05-21 14:20 ` Jens Axboe
2018-05-30 22:24 ` Jens Axboe

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=20180520222558.7053-1-kent.overstreet@gmail.com \
    --to=kent.overstreet@gmail.com \
    --cc=axboe@kernel.dk \
    --cc=bacik@fb.com \
    --cc=clm@fb.com \
    --cc=colyli@suse.de \
    --cc=darrick.wong@oracle.com \
    --cc=drbd-dev@lists.linbit.com \
    --cc=hch@infradead.org \
    --cc=linux-block@vger.kernel.org \
    --cc=linux-btrfs@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-raid@vger.kernel.org \
    --cc=linux-xfs@vger.kernel.org \
    --cc=neilb@suse.com \
    --cc=snitzer@redhat.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.