Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1372160
| From | Ming Lei <ming.lei@canonical.com> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | Re: [PATCH] block: make sure big bio is splitted into at most 256 bvecs |
| Date | 2016-04-06 05:00 +0200 |
| Message-ID | <rkLRg-5Al-5@gated-at.bofh.it> (permalink) |
| References | (6 earlier) <rkLoe-5lE-5@gated-at.bofh.it> <rkLxU-5qB-5@gated-at.bofh.it> <rkLxU-5qB-7@gated-at.bofh.it> <rkLxU-5qB-3@gated-at.bofh.it> <rkLHz-5vj-1@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
On Wed, Apr 6, 2016 at 10:40 AM, Kent Overstreet <kent.overstreet@gmail.com> wrote: > On Wed, Apr 06, 2016 at 10:37:05AM +0800, Ming Lei wrote: >> On Wed, Apr 6, 2016 at 10:34 AM, Kent Overstreet >> <kent.overstreet@gmail.com> wrote: >> > On Wed, Apr 06, 2016 at 10:30:22AM +0800, Ming Lei wrote: >> >> Now limit.max_segments is for limiting segments from hw view, one this >> >> segment may include lots of pages/bvecs. >> >> >> >> The current bio_clone() issue is that we can't clone from one bio which >> >> includes more than 256 bvecs, maybe all these 256 bvecs belong to >> >> one same hw segment. >> > >> > So the distinction is purely a post multipage bvec thing? >> >> Even after multipage bvec is applied, the limit for max bvecs is still needed >> for some cases like bio bounce, in which bio_clone() need to >> clone single page bvec. > > s/max bvecs/max pages/? Exactly, :-) > > What I meant is that until we have multipage bvecs, unless I'm missing something > max_segments is exactly what we want. After multipage bvecs, things do get more Yes, but now we need to fix current issue and backport the fix. Given bio bounce isn't easy to fix, not like other users of bio_clone, I think we still need to apply the max pages limit globally, what do you think of it? For multipage bvecs, there may be a long way ahead, :-) 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 | Next — Previous in thread | Next in thread | Find similar | Unroll thread
[PATCH] block: make sure big bio is splitted into at most 256 bvecs Ming Lei <ming.lei@canonical.com> - 2016-04-05 19:50 +0200
Re: [PATCH] block: make sure big bio is splitted into at most 256 bvecs Shaohua Li <shli@fb.com> - 2016-04-05 20:30 +0200
Re: [PATCH] block: make sure big bio is splitted into at most 256 bvecs Kent Overstreet <kent.overstreet@gmail.com> - 2016-04-06 02:30 +0200
Re: [PATCH] block: make sure big bio is splitted into at most 256 bvecs Kent Overstreet <kent.overstreet@gmail.com> - 2016-04-06 02:40 +0200
Re: [PATCH] block: make sure big bio is splitted into at most 256 bvecs Kent Overstreet <kent.overstreet@gmail.com> - 2016-04-06 02:50 +0200
Re: [PATCH] block: make sure big bio is splitted into at most 256 bvecs Ming Lei <ming.lei@canonical.com> - 2016-04-06 03:10 +0200
Re: [PATCH] block: make sure big bio is splitted into at most 256 bvecs Shaohua Li <shli@fb.com> - 2016-04-06 03:10 +0200
Re: [PATCH] block: make sure big bio is splitted into at most 256 bvecs Shaohua Li <shli@fb.com> - 2016-04-06 02:50 +0200
Re: [PATCH] block: make sure big bio is splitted into at most 256 bvecs Shaohua Li <shli@fb.com> - 2016-04-06 02:40 +0200
Re: [PATCH] block: make sure big bio is splitted into at most 256 bvecs Ming Lei <ming.lei@canonical.com> - 2016-04-06 02:50 +0200
Re: [PATCH] block: make sure big bio is splitted into at most 256 bvecs Shaohua Li <shli@fb.com> - 2016-04-06 03:10 +0200
Re: [PATCH] block: make sure big bio is splitted into at most 256 bvecs Ming Lei <ming.lei@canonical.com> - 2016-04-06 03:20 +0200
Re: [PATCH] block: make sure big bio is splitted into at most 256 bvecs Kent Overstreet <kent.overstreet@gmail.com> - 2016-04-06 02:40 +0200
Re: [PATCH] block: make sure big bio is splitted into at most 256 bvecs Ming Lei <ming.lei@canonical.com> - 2016-04-06 03:00 +0200
Re: [PATCH] block: make sure big bio is splitted into at most 256 bvecs Kent Overstreet <kent.overstreet@gmail.com> - 2016-04-06 03:20 +0200
Re: [PATCH] block: make sure big bio is splitted into at most 256 bvecs Ming Lei <ming.lei@canonical.com> - 2016-04-06 03:30 +0200
Re: [PATCH] block: make sure big bio is splitted into at most 256 bvecs Kent Overstreet <kent.overstreet@gmail.com> - 2016-04-06 03:30 +0200
Re: [PATCH] block: make sure big bio is splitted into at most 256 bvecs Ming Lei <ming.lei@canonical.com> - 2016-04-06 04:00 +0200
Re: [PATCH] block: make sure big bio is splitted into at most 256 bvecs Kent Overstreet <kent.overstreet@gmail.com> - 2016-04-06 04:30 +0200
Re: [PATCH] block: make sure big bio is splitted into at most 256 bvecs Ming Lei <ming.lei@canonical.com> - 2016-04-06 04:40 +0200
Re: [PATCH] block: make sure big bio is splitted into at most 256 bvecs Kent Overstreet <kent.overstreet@gmail.com> - 2016-04-06 04:50 +0200
Re: [PATCH] block: make sure big bio is splitted into at most 256 bvecs Kent Overstreet <kent.overstreet@gmail.com> - 2016-04-06 05:00 +0200
Re: [PATCH] block: make sure big bio is splitted into at most 256 bvecs Ming Lei <ming.lei@canonical.com> - 2016-04-06 05:00 +0200
Re: [PATCH] block: make sure big bio is splitted into at most 256 bvecs Kent Overstreet <kent.overstreet@gmail.com> - 2016-04-06 04:40 +0200
Re: [PATCH] block: make sure big bio is splitted into at most 256 bvecs Ming Lei <ming.lei@canonical.com> - 2016-04-06 04:40 +0200
Re: [PATCH] block: make sure big bio is splitted into at most 256 bvecs Ming Lei <ming.lei@canonical.com> - 2016-04-06 03:10 +0200
Re: [PATCH] block: make sure big bio is splitted into at most 256 bvecs Eric Wheeler <bcache@lists.ewheeler.net> - 2016-04-07 03:50 +0200
Re: [PATCH] block: make sure big bio is splitted into at most 256 bvecs Eric Wheeler <bcache@lists.ewheeler.net> - 2016-04-07 03:40 +0200
Re: [PATCH] block: make sure big bio is splitted into at most 256 bvecs Ming Lei <ming.lei@canonical.com> - 2016-04-07 03:50 +0200
Re: [PATCH] block: make sure big bio is splitted into at most 256 bvecs Eric Wheeler <bcache@lists.ewheeler.net> - 2016-04-07 04:00 +0200
Re: [PATCH] block: make sure big bio is splitted into at most 256 bvecs Ming Lei <ming.lei@canonical.com> - 2016-04-07 04:20 +0200
Re: [PATCH] block: make sure big bio is splitted into at most 256 bvecs Eric Wheeler <bcache@lists.ewheeler.net> - 2016-04-08 01:30 +0200
Re: [PATCH] block: make sure big bio is splitted into at most 256 bvecs Ming Lei <ming.lei@canonical.com> - 2016-04-08 02:30 +0200
csiph-web