public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Kent Overstreet <kent.overstreet@linux.dev>
To: linux-kernel@vger.kernel.org, linux-block@vger.kernel.org,
	axboe@kernel.dk
Cc: Kent Overstreet <kent.overstreet@linux.dev>,
	willy@infradead.org, phillip@squashfs.org.uk,
	ming.lei@redhat.com, hch@infradead.org
Subject: [PATCH v2 0/2] bio iter improvements
Date: Tue,  4 Apr 2023 18:57:07 -0400	[thread overview]
Message-ID: <20230404225709.862208-1-kent.overstreet@linux.dev> (raw)

previous lore link:
https://lore.kernel.org/linux-block/ZCxaMIP%2Fl7BeLzz7@moria.home.lan/T/#t

changes since v1:
 - fixed squashfs issues
 - renamed foliovec to folio_seg, thanks Matthew for the suggestion
 - moved the WARN_ON() to an out of line function to reduce data size,
   per Christoph
 - fixed kernel doc comment on bio_for_each_folio_all(), added one for
   bio_for_each_folio()

Kent Overstreet (2):
  block: Rework bio_for_each_segment_all()
  block: Rework bio_for_each_folio_all()

 block/bio.c                |  43 ++++++-----
 block/blk-map.c            |  38 +++++-----
 block/bounce.c             |  12 ++--
 drivers/md/bcache/btree.c  |   8 +--
 drivers/md/dm-crypt.c      |  10 +--
 drivers/md/raid1.c         |   4 +-
 fs/btrfs/disk-io.c         |  10 +--
 fs/btrfs/extent_io.c       |  52 +++++++-------
 fs/btrfs/inode.c           |   8 +--
 fs/btrfs/raid56.c          |  18 ++---
 fs/crypto/bio.c            |   8 +--
 fs/erofs/zdata.c           |   4 +-
 fs/ext4/page-io.c          |   8 +--
 fs/ext4/readpage.c         |   4 +-
 fs/f2fs/data.c             |  20 +++---
 fs/gfs2/lops.c             |  10 +--
 fs/gfs2/meta_io.c          |   8 +--
 fs/iomap/buffered-io.c     |  14 ++--
 fs/mpage.c                 |   4 +-
 fs/squashfs/block.c        |  59 +++++++--------
 fs/squashfs/lz4_wrapper.c  |  17 +++--
 fs/squashfs/lzo_wrapper.c  |  17 +++--
 fs/squashfs/xz_wrapper.c   |  19 ++---
 fs/squashfs/zlib_wrapper.c |  18 ++---
 fs/squashfs/zstd_wrapper.c |  19 ++---
 fs/verity/verify.c         |   4 +-
 include/linux/bio.h        | 142 +++++++++++++++++++++++--------------
 include/linux/bvec.h       |  70 +++++++++++-------
 28 files changed, 358 insertions(+), 290 deletions(-)

-- 
2.40.0


             reply	other threads:[~2023-04-04 22:57 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-04-04 22:57 Kent Overstreet [this message]
2023-04-04 22:57 ` [PATCH v2 1/2] block: Rework bio_for_each_segment_all() Kent Overstreet
2023-04-04 22:57 ` [PATCH v2 2/2] block: Rework bio_for_each_folio_all() Kent Overstreet

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=20230404225709.862208-1-kent.overstreet@linux.dev \
    --to=kent.overstreet@linux.dev \
    --cc=axboe@kernel.dk \
    --cc=hch@infradead.org \
    --cc=linux-block@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=ming.lei@redhat.com \
    --cc=phillip@squashfs.org.uk \
    --cc=willy@infradead.org \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox