All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/8] block: prepare for multipage bvecs
@ 2016-03-22  6:12 ` Ming Lei
  0 siblings, 0 replies; 40+ messages in thread
From: Ming Lei @ 2016-03-22  6:12 UTC (permalink / raw)
  To: Jens Axboe, linux-kernel
  Cc: linux-block, Christoph Hellwig, Al Viro, Anton Altaparmakov, xfs,
	Dave Chinner, drbd-dev, Philipp Reisner, Lars Ellenberg,
	Boaz Harrosh

Hi,

Interests[1] have been shown in multipage bvecs, so this patchset
try to prepare for the support and do two things:

1) the 1st 4 patches use bvec iterator to implement iterate_bvec(),
then we can drop the non-standard way for iterating bvec

2) remove BIO_MAX_SECTORS & BIO_MAX_SIZE, and now there is only
one user for each. Once multipage bvecs is introduced, one bio
may hold lots of sectors, and we should always use sort of BIO_MAX_VECS
which should be introduced in future and is similiar with current
BIO_MAX_PAGES.

xfstests(-a auto) have been run and no regression found by this
patchset against linus v4.5+.

 drivers/block/drbd/drbd_int.h |  4 +--
 fs/xfs/xfs_buf.c              |  2 +-
 include/linux/bio.h           | 55 +------------------------------
 include/linux/blk_types.h     |  4 +--
 include/linux/bvec_iter.h     | 77 +++++++++++++++++++++++++++++++++++++++++++
 lib/iov_iter.c                | 31 +++++++----------
 6 files changed, 94 insertions(+), 79 deletions(-)


[1], http://marc.info/?w=2&r=1&s=++[LSF%2FMM+ATTEND]+block%3A+multipage+bvecs&q=t


Thanks,
Ming

^ permalink raw reply	[flat|nested] 40+ messages in thread

end of thread, other threads:[~2016-03-29  8:53 UTC | newest]

Thread overview: 40+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-03-22  6:12 [PATCH 0/8] block: prepare for multipage bvecs Ming Lei
2016-03-22  6:12 ` Ming Lei
2016-03-22  6:12 ` [PATCH 1/8] block: move bvec iterator into include/linux/bvec_iter.h Ming Lei
2016-03-22  6:12   ` Ming Lei
2016-03-29  7:26   ` Christoph Hellwig
2016-03-29  7:26     ` Christoph Hellwig
2016-03-29  8:53     ` Ming Lei
2016-03-29  8:53       ` Ming Lei
2016-03-22  6:12 ` [PATCH 2/8] block: make 'struct bvec_iter' not depend on CONFIG_BLOCK Ming Lei
2016-03-22  6:12   ` Ming Lei
2016-03-29  7:26   ` Christoph Hellwig
2016-03-29  7:26     ` Christoph Hellwig
2016-03-22  6:12 ` [PATCH 3/8] block: mark 1st parameter of bvec_iter_advance as const Ming Lei
2016-03-22  6:12   ` Ming Lei
2016-03-29  7:26   ` Christoph Hellwig
2016-03-29  7:26     ` Christoph Hellwig
2016-03-22  6:12 ` [PATCH 4/8] iov_iter: use bvec iterator to implement iterate_bvec() Ming Lei
2016-03-22  6:12   ` Ming Lei
2016-03-29  7:27   ` Christoph Hellwig
2016-03-29  7:27     ` Christoph Hellwig
2016-03-22  6:12 ` [PATCH 5/8] fs: xfs: replace BIO_MAX_SECTORS with BIO_MAX_PAGES Ming Lei
2016-03-22  6:12   ` Ming Lei
2016-03-29  7:29   ` Christoph Hellwig
2016-03-29  7:29     ` Christoph Hellwig
2016-03-22  6:12 ` [PATCH 6/8] block: bio: remove BIO_MAX_SECTORS Ming Lei
2016-03-22  6:12   ` Ming Lei
2016-03-29  7:29   ` Christoph Hellwig
2016-03-29  7:29     ` Christoph Hellwig
2016-03-22  6:12 ` [PATCH 7/8] block: drbd: avoid to use BIO_MAX_SIZE Ming Lei
2016-03-22  6:12   ` Ming Lei
2016-03-29  7:31   ` Christoph Hellwig
2016-03-29  7:31     ` Christoph Hellwig
2016-03-29  8:09     ` Lars Ellenberg
2016-03-29  8:09       ` Lars Ellenberg
2016-03-22  6:12 ` [PATCH 8/8] block: bio: remove BIO_MAX_SIZE Ming Lei
2016-03-22  6:12   ` Ming Lei
2016-03-29  7:31   ` Christoph Hellwig
2016-03-29  7:31     ` Christoph Hellwig
2016-03-29  1:33 ` [PATCH 0/8] block: prepare for multipage bvecs Ming Lei
2016-03-29  1:33   ` Ming Lei

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.