Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1461089

Re: [PATCH v2] block: make sure big bio is splitted into at most 256 bvecs

From Ming Lei <ming.lei@canonical.com>
Newsgroups linux.kernel
Subject Re: [PATCH v2] block: make sure big bio is splitted into at most 256 bvecs
Date 2016-08-12 13:20 +0200
Message-ID <s5iFj-Up-7@gated-at.bofh.it> (permalink)
References <rkMDE-6d0-5@gated-at.bofh.it> <s4RON-84G-9@gated-at.bofh.it> <s4YQh-4R3-5@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Thu, Aug 11, 2016 at 10:02 PM, Christoph Hellwig <hch@infradead.org> wrote:
> Please just fix bcache to not submit bios larger than BIO_MAX_PAGES for
> now, until we can support such callers in general and enable common
> used code to do so.

IMO it can't be efficient to do that in bcache because it need to figure out
how many bvecs one bio includes.

This patch(block: make sure big bio is splitted into at most 256 bvecs)
can support such callers.

Also this kind of usage does simplify drivers.

Thanks,
Ming

> --
> To unsubscribe from this list: send the line "unsubscribe linux-block" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html

Back to linux.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

Re: [PATCH v2] block: make sure big bio is splitted into at most  256 bvecs Eric Wheeler <bcache@lists.ewheeler.net> - 2016-08-11 08:40 +0200
  Re: [PATCH v2] block: make sure big bio is splitted into at most 256  bvecs Christoph Hellwig <hch@infradead.org> - 2016-08-11 16:10 +0200
    Re: [PATCH v2] block: make sure big bio is splitted into at most 256 bvecs Ming Lei <ming.lei@canonical.com> - 2016-08-12 13:20 +0200
    Re: [PATCH v2] block: make sure big bio is splitted into at most 256  bvecs Kent Overstreet <kent.overstreet@gmail.com> - 2016-08-12 18:40 +0200

csiph-web