From: Dave Chinner <david-FqsqvQoI3Ljby3iVrkZq2A@public.gmane.org>
To: Tejun Heo <tj-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org>
Cc: Mikulas Patocka
<mpatocka-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>,
Alasdair G Kergon <agk-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>,
Kent Overstreet
<koverstreet-hpIqsD4AKlfQT0dZR+AlfA@public.gmane.org>,
Mike Snitzer <snitzer-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>,
linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org,
linux-bcache-u79uwXL29TY76Z2rM5mHXA@public.gmane.org,
dm-devel-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org,
linux-fsdevel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org,
axboe-tSWWG44O7X1aa/9Udqfwiw@public.gmane.org,
yehuda-L5o5AL9CYN0tUFlbccrkMA@public.gmane.org,
vgoyal-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org,
bharrosh-C4P08NqkoRlBDgjK7y7TUQ@public.gmane.org,
sage-BnTBU8nroG7k1uMJSBkQmQ@public.gmane.org,
drbd-dev-cunTk1MwBs8qoQakbn7OcQ@public.gmane.org,
Dave Chinner <dchinner-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>,
tytso-hpIqsD4AKlfQT0dZR+AlfA@public.gmane.org,
"Martin K. Petersen"
<martin.petersen-QHcLZuEGTsvQT0dZR+AlfA@public.gmane.org>
Subject: Re: [PATCH v3 14/16] Gut bio_add_page()
Date: Tue, 29 May 2012 12:08:15 +1000 [thread overview]
Message-ID: <20120529020815.GB5091@dastard> (raw)
In-Reply-To: <20120528230208.GA20954-RcKxWJ4Cfj1J2suj2OqeGauc2jM2gXBXkQQo+JxHRPFibQn6LdNjmg@public.gmane.org>
On Tue, May 29, 2012 at 08:02:08AM +0900, Tejun Heo wrote:
> (cc'ing Martin K. Petersen, hi!)
>
> On Tue, May 29, 2012 at 06:38:39AM +0900, Tejun Heo wrote:
> > > With this patchset, you don't have to expose all the limits. You can
> > > expose just a few most useful limits to avoid bio split in the cases
> > > described above.
> >
> > Yeah, if that actually helps, sure. From what I read, dm is already
> > (ab)using merge_bvec_fn() like that anyway.
>
> i thought a bit more about it and the only thing which makes sense to
> me is exposing the stripe granularity for striped devices -
> ie. something which says "if you go across this boundary, the
> performance characteristics including latency might get affected",
> which should fit nicely with the rest of topology information.
> Martin, adding that shouldn't be difficult, right?
We already have the optimal IO size/alignment field in the topology.
Doesn't this fit what you want exactly?
Cheers,
Dave.
--
Dave Chinner
david-FqsqvQoI3Ljby3iVrkZq2A@public.gmane.org
WARNING: multiple messages have this Message-ID (diff)
From: Dave Chinner <david@fromorbit.com>
To: Tejun Heo <tj@kernel.org>
Cc: axboe@kernel.dk, dm-devel@redhat.com,
Mike Snitzer <snitzer@redhat.com>,
Kent Overstreet <koverstreet@google.com>,
Dave Chinner <dchinner@redhat.com>,
linux-kernel@vger.kernel.org,
"Martin K. Petersen" <martin.petersen@oracle.com>,
linux-bcache@vger.kernel.org, tytso@google.com,
Mikulas Patocka <mpatocka@redhat.com>,
vgoyal@redhat.com, bharrosh@panasas.com,
linux-fsdevel@vger.kernel.org, yehuda@hq.newdream.net,
drbd-dev@lists.linbit.com, Alasdair G Kergon <agk@redhat.com>,
sage@newdream.net
Subject: Re: [Drbd-dev] [PATCH v3 14/16] Gut bio_add_page()
Date: Tue, 29 May 2012 12:08:15 +1000 [thread overview]
Message-ID: <20120529020815.GB5091@dastard> (raw)
In-Reply-To: <20120528230208.GA20954@dhcp-172-17-108-109.mtv.corp.google.com>
On Tue, May 29, 2012 at 08:02:08AM +0900, Tejun Heo wrote:
> (cc'ing Martin K. Petersen, hi!)
>
> On Tue, May 29, 2012 at 06:38:39AM +0900, Tejun Heo wrote:
> > > With this patchset, you don't have to expose all the limits. You can
> > > expose just a few most useful limits to avoid bio split in the cases
> > > described above.
> >
> > Yeah, if that actually helps, sure. From what I read, dm is already
> > (ab)using merge_bvec_fn() like that anyway.
>
> i thought a bit more about it and the only thing which makes sense to
> me is exposing the stripe granularity for striped devices -
> ie. something which says "if you go across this boundary, the
> performance characteristics including latency might get affected",
> which should fit nicely with the rest of topology information.
> Martin, adding that shouldn't be difficult, right?
We already have the optimal IO size/alignment field in the topology.
Doesn't this fit what you want exactly?
Cheers,
Dave.
--
Dave Chinner
david@fromorbit.com
WARNING: multiple messages have this Message-ID (diff)
From: Dave Chinner <david@fromorbit.com>
To: Tejun Heo <tj@kernel.org>
Cc: Mikulas Patocka <mpatocka@redhat.com>,
Alasdair G Kergon <agk@redhat.com>,
Kent Overstreet <koverstreet@google.com>,
Mike Snitzer <snitzer@redhat.com>,
linux-kernel@vger.kernel.org, linux-bcache@vger.kernel.org,
dm-devel@redhat.com, linux-fsdevel@vger.kernel.org,
axboe@kernel.dk, yehuda@hq.newdream.net, vgoyal@redhat.com,
bharrosh@panasas.com, sage@newdream.net,
drbd-dev@lists.linbit.com, Dave Chinner <dchinner@redhat.com>,
tytso@google.com,
"Martin K. Petersen" <martin.petersen@oracle.com>
Subject: Re: [PATCH v3 14/16] Gut bio_add_page()
Date: Tue, 29 May 2012 12:08:15 +1000 [thread overview]
Message-ID: <20120529020815.GB5091@dastard> (raw)
In-Reply-To: <20120528230208.GA20954@dhcp-172-17-108-109.mtv.corp.google.com>
On Tue, May 29, 2012 at 08:02:08AM +0900, Tejun Heo wrote:
> (cc'ing Martin K. Petersen, hi!)
>
> On Tue, May 29, 2012 at 06:38:39AM +0900, Tejun Heo wrote:
> > > With this patchset, you don't have to expose all the limits. You can
> > > expose just a few most useful limits to avoid bio split in the cases
> > > described above.
> >
> > Yeah, if that actually helps, sure. From what I read, dm is already
> > (ab)using merge_bvec_fn() like that anyway.
>
> i thought a bit more about it and the only thing which makes sense to
> me is exposing the stripe granularity for striped devices -
> ie. something which says "if you go across this boundary, the
> performance characteristics including latency might get affected",
> which should fit nicely with the rest of topology information.
> Martin, adding that shouldn't be difficult, right?
We already have the optimal IO size/alignment field in the topology.
Doesn't this fit what you want exactly?
Cheers,
Dave.
--
Dave Chinner
david@fromorbit.com
next prev parent reply other threads:[~2012-05-29 2:08 UTC|newest]
Thread overview: 147+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-05-25 20:25 [PATCH v3 00/16] Block cleanups Kent Overstreet
2012-05-25 20:25 ` Kent Overstreet
2012-05-25 20:25 ` [Drbd-dev] " Kent Overstreet
2012-05-25 20:25 ` [PATCH v3 01/16] block: Generalized bio pool freeing Kent Overstreet
2012-05-25 20:25 ` [Drbd-dev] " Kent Overstreet
[not found] ` <1337977539-16977-2-git-send-email-koverstreet-hpIqsD4AKlfQT0dZR+AlfA@public.gmane.org>
2012-05-28 1:15 ` Tejun Heo
2012-05-28 1:15 ` Tejun Heo
2012-05-28 1:15 ` [Drbd-dev] " Tejun Heo
2012-05-28 10:04 ` Boaz Harrosh
2012-05-28 10:04 ` Boaz Harrosh
2012-05-28 10:04 ` Boaz Harrosh
2012-05-28 10:04 ` [Drbd-dev] " Boaz Harrosh
2012-05-25 20:25 ` [PATCH v3 02/16] dm: Use bioset's front_pad for dm_rq_clone_bio_info Kent Overstreet
2012-05-25 20:25 ` Kent Overstreet
2012-05-25 20:25 ` [Drbd-dev] " Kent Overstreet
[not found] ` <1337977539-16977-3-git-send-email-koverstreet-hpIqsD4AKlfQT0dZR+AlfA@public.gmane.org>
2012-05-28 0:57 ` [dm-devel] " Jun'ichi Nomura
2012-05-28 0:57 ` Jun'ichi Nomura
2012-05-28 0:57 ` [Drbd-dev] " Jun'ichi Nomura
[not found] ` <4FC2CD93.1080009-JhyGz2TFV9J8UrSeD/g0lQ@public.gmane.org>
2012-05-28 11:41 ` Jun'ichi Nomura
2012-05-28 11:41 ` Jun'ichi Nomura
2012-05-28 11:41 ` [Drbd-dev] " Jun'ichi Nomura
2012-05-28 1:21 ` Tejun Heo
2012-05-28 1:21 ` Tejun Heo
2012-05-28 1:21 ` [Drbd-dev] " Tejun Heo
[not found] ` <1337977539-16977-1-git-send-email-koverstreet-hpIqsD4AKlfQT0dZR+AlfA@public.gmane.org>
2012-05-25 20:25 ` [PATCH v3 03/16] block: Add bio_reset() Kent Overstreet
2012-05-25 20:25 ` Kent Overstreet
2012-05-25 20:25 ` [Drbd-dev] " Kent Overstreet
[not found] ` <1337977539-16977-4-git-send-email-koverstreet-hpIqsD4AKlfQT0dZR+AlfA@public.gmane.org>
2012-05-28 1:23 ` Tejun Heo
2012-05-28 1:23 ` Tejun Heo
2012-05-28 1:23 ` [Drbd-dev] " Tejun Heo
2012-05-28 10:02 ` Boaz Harrosh
2012-05-28 10:02 ` Boaz Harrosh
2012-05-28 10:02 ` [Drbd-dev] " Boaz Harrosh
2012-05-25 20:25 ` [PATCH v3 04/16] pktcdvd: Switch to bio_kmalloc() Kent Overstreet
2012-05-25 20:25 ` Kent Overstreet
2012-05-25 20:25 ` [Drbd-dev] " Kent Overstreet
[not found] ` <1337977539-16977-5-git-send-email-koverstreet-hpIqsD4AKlfQT0dZR+AlfA@public.gmane.org>
2012-05-28 1:30 ` Tejun Heo
2012-05-28 1:30 ` Tejun Heo
2012-05-28 1:30 ` [Drbd-dev] " Tejun Heo
2012-05-25 20:25 ` [PATCH v3 05/16] block: Kill bi_destructor Kent Overstreet
2012-05-25 20:25 ` Kent Overstreet
2012-05-25 20:25 ` [Drbd-dev] " Kent Overstreet
[not found] ` <1337977539-16977-6-git-send-email-koverstreet-hpIqsD4AKlfQT0dZR+AlfA@public.gmane.org>
2012-05-28 1:36 ` Tejun Heo
2012-05-28 1:36 ` Tejun Heo
2012-05-28 1:36 ` [Drbd-dev] " Tejun Heo
2012-05-29 2:10 ` Kent Overstreet
2012-05-29 2:10 ` [Drbd-dev] " Kent Overstreet
[not found] ` <20120529021042.GA6472-RcKxWJ4Cfj3IzGYXcIpNmNLIRw13R84JkQQo+JxHRPFibQn6LdNjmg@public.gmane.org>
2012-05-29 2:20 ` Tejun Heo
2012-05-29 2:20 ` Tejun Heo
2012-05-29 2:20 ` [Drbd-dev] " Tejun Heo
2012-05-25 20:25 ` [PATCH v3 06/16] block: Add an explicit bio flag for bios that own their bvec Kent Overstreet
2012-05-25 20:25 ` Kent Overstreet
2012-05-25 20:25 ` [Drbd-dev] " Kent Overstreet
[not found] ` <1337977539-16977-7-git-send-email-koverstreet-hpIqsD4AKlfQT0dZR+AlfA@public.gmane.org>
2012-05-28 1:52 ` Tejun Heo
2012-05-28 1:52 ` Tejun Heo
2012-05-28 1:52 ` [Drbd-dev] " Tejun Heo
2012-05-25 20:25 ` [PATCH v3 07/16] block: Rename bio_split() -> bio_pair_split() Kent Overstreet
2012-05-25 20:25 ` Kent Overstreet
2012-05-25 20:25 ` [Drbd-dev] " Kent Overstreet
[not found] ` <1337977539-16977-8-git-send-email-koverstreet-hpIqsD4AKlfQT0dZR+AlfA@public.gmane.org>
2012-05-28 10:15 ` Boaz Harrosh
2012-05-28 10:15 ` Boaz Harrosh
2012-05-28 10:15 ` Boaz Harrosh
2012-05-28 10:15 ` [Drbd-dev] " Boaz Harrosh
[not found] ` <4FC3504B.7000903-C4P08NqkoRlBDgjK7y7TUQ@public.gmane.org>
2012-05-29 2:15 ` Kent Overstreet
2012-05-29 2:15 ` Kent Overstreet
2012-05-29 2:15 ` [Drbd-dev] " Kent Overstreet
2012-05-25 20:25 ` [PATCH v3 08/16] block: Rework bio splitting Kent Overstreet
2012-05-25 20:25 ` Kent Overstreet
2012-05-25 20:25 ` [Drbd-dev] " Kent Overstreet
[not found] ` <1337977539-16977-9-git-send-email-koverstreet-hpIqsD4AKlfQT0dZR+AlfA@public.gmane.org>
2012-05-28 16:12 ` Mikulas Patocka
2012-05-28 16:12 ` Mikulas Patocka
2012-05-28 16:12 ` [Drbd-dev] " Mikulas Patocka
2012-05-25 20:25 ` [PATCH v3 09/16] block: Add bio_clone_kmalloc() Kent Overstreet
2012-05-25 20:25 ` Kent Overstreet
2012-05-25 20:25 ` [Drbd-dev] " Kent Overstreet
2012-05-25 20:25 ` [PATCH v3 10/16] block: Add bio_clone_bioset() Kent Overstreet
2012-05-25 20:25 ` Kent Overstreet
2012-05-25 20:25 ` [Drbd-dev] " Kent Overstreet
2012-05-25 20:25 ` [PATCH v3 11/16] block: Only clone bio vecs that are in use Kent Overstreet
2012-05-25 20:25 ` Kent Overstreet
2012-05-25 20:25 ` [Drbd-dev] " Kent Overstreet
2012-05-25 20:25 ` [PATCH v3 12/16] Closures Kent Overstreet
2012-05-25 20:25 ` Kent Overstreet
2012-05-25 20:25 ` [Drbd-dev] " Kent Overstreet
[not found] ` <1337977539-16977-13-git-send-email-koverstreet-hpIqsD4AKlfQT0dZR+AlfA@public.gmane.org>
2012-05-25 20:57 ` Joe Perches
2012-05-25 20:57 ` Joe Perches
2012-05-25 20:57 ` [Drbd-dev] " Joe Perches
2012-05-25 21:35 ` Kent Overstreet
2012-05-25 21:35 ` Kent Overstreet
2012-05-25 21:35 ` [Drbd-dev] " Kent Overstreet
2012-05-25 20:25 ` [PATCH v3 13/16] Make generic_make_request handle arbitrarily large bios Kent Overstreet
2012-05-25 20:25 ` Kent Overstreet
2012-05-25 20:25 ` [Drbd-dev] " Kent Overstreet
[not found] ` <1337977539-16977-14-git-send-email-koverstreet-hpIqsD4AKlfQT0dZR+AlfA@public.gmane.org>
2012-05-25 22:58 ` Alasdair G Kergon
2012-05-25 22:58 ` Alasdair G Kergon
2012-05-25 22:58 ` [Drbd-dev] " Alasdair G Kergon
[not found] ` <20120525225852.GG5761-FDJ95KluN3Z0klwcnFlA1dvLeJWuRmrY@public.gmane.org>
2012-05-25 23:12 ` Alasdair G Kergon
2012-05-25 23:12 ` Alasdair G Kergon
2012-05-25 23:12 ` [Drbd-dev] " Alasdair G Kergon
2012-05-26 0:18 ` Kent Overstreet
2012-05-26 0:18 ` [Drbd-dev] " Kent Overstreet
2012-05-25 20:25 ` [PATCH v3 14/16] Gut bio_add_page() Kent Overstreet
2012-05-25 20:25 ` [Drbd-dev] " Kent Overstreet
[not found] ` <1337977539-16977-15-git-send-email-koverstreet-hpIqsD4AKlfQT0dZR+AlfA@public.gmane.org>
2012-05-25 20:46 ` Mike Snitzer
2012-05-25 20:46 ` Mike Snitzer
2012-05-25 20:46 ` [Drbd-dev] " Mike Snitzer
2012-05-25 21:09 ` Kent Overstreet
2012-05-25 21:09 ` [Drbd-dev] " Kent Overstreet
[not found] ` <20120525210944.GB14196-hpIqsD4AKlfQT0dZR+AlfA@public.gmane.org>
2012-05-25 22:39 ` Alasdair G Kergon
2012-05-25 22:39 ` Alasdair G Kergon
2012-05-25 22:39 ` [Drbd-dev] " Alasdair G Kergon
[not found] ` <20120525223937.GF5761-FDJ95KluN3Z0klwcnFlA1dvLeJWuRmrY@public.gmane.org>
2012-05-28 16:07 ` Mikulas Patocka
2012-05-28 16:07 ` Mikulas Patocka
2012-05-28 16:07 ` [Drbd-dev] " Mikulas Patocka
[not found] ` <Pine.LNX.4.64.1205281129180.2227-e+HWlsje6Db1wF9wiOj0lkEOCMrvLtNR@public.gmane.org>
2012-05-28 20:28 ` Tejun Heo
2012-05-28 20:28 ` Tejun Heo
2012-05-28 20:28 ` [Drbd-dev] " Tejun Heo
[not found] ` <20120528202839.GA18537-RcKxWJ4Cfj1J2suj2OqeGauc2jM2gXBXkQQo+JxHRPFibQn6LdNjmg@public.gmane.org>
2012-05-28 21:27 ` Mikulas Patocka
2012-05-28 21:27 ` Mikulas Patocka
2012-05-28 21:27 ` [Drbd-dev] " Mikulas Patocka
2012-05-28 21:38 ` Tejun Heo
2012-05-28 21:38 ` [Drbd-dev] " Tejun Heo
[not found] ` <20120528213839.GB18537-RcKxWJ4Cfj1J2suj2OqeGauc2jM2gXBXkQQo+JxHRPFibQn6LdNjmg@public.gmane.org>
2012-05-28 23:02 ` Tejun Heo
2012-05-28 23:02 ` Tejun Heo
2012-05-28 23:02 ` [Drbd-dev] " Tejun Heo
[not found] ` <20120528230208.GA20954-RcKxWJ4Cfj1J2suj2OqeGauc2jM2gXBXkQQo+JxHRPFibQn6LdNjmg@public.gmane.org>
2012-05-29 2:08 ` Dave Chinner [this message]
2012-05-29 2:08 ` Dave Chinner
2012-05-29 2:08 ` [Drbd-dev] " Dave Chinner
2012-05-29 2:15 ` Tejun Heo
2012-05-29 2:15 ` Tejun Heo
2012-05-29 2:15 ` [Drbd-dev] " Tejun Heo
[not found] ` <20120529021558.GG20954-RcKxWJ4Cfj1J2suj2OqeGauc2jM2gXBXkQQo+JxHRPFibQn6LdNjmg@public.gmane.org>
2012-05-29 3:36 ` Kent Overstreet
2012-05-29 3:36 ` Kent Overstreet
2012-05-29 3:36 ` [Drbd-dev] " Kent Overstreet
2012-05-29 2:07 ` Dave Chinner
2012-05-29 2:07 ` Dave Chinner
2012-05-29 2:07 ` [Drbd-dev] " Dave Chinner
2012-05-29 1:54 ` Dave Chinner
2012-05-29 1:54 ` [Drbd-dev] " Dave Chinner
2012-05-29 3:34 ` Kent Overstreet
2012-05-29 3:34 ` [Drbd-dev] " Kent Overstreet
2012-06-05 0:33 ` Dave Chinner
2012-06-05 0:33 ` [Drbd-dev] " Dave Chinner
2012-05-25 20:25 ` [PATCH v3 15/16] md: Kill merge_bvec_fn()s Kent Overstreet
2012-05-25 20:25 ` [Drbd-dev] " Kent Overstreet
2012-05-25 20:25 ` [PATCH v3 16/16] dm: Kill merge_bvec_fn() Kent Overstreet
2012-05-25 20:25 ` [Drbd-dev] " 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=20120529020815.GB5091@dastard \
--to=david-fqsqvqoi3ljby3ivrkzq2a@public.gmane.org \
--cc=agk-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org \
--cc=axboe-tSWWG44O7X1aa/9Udqfwiw@public.gmane.org \
--cc=bharrosh-C4P08NqkoRlBDgjK7y7TUQ@public.gmane.org \
--cc=dchinner-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org \
--cc=dm-devel-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org \
--cc=drbd-dev-cunTk1MwBs8qoQakbn7OcQ@public.gmane.org \
--cc=koverstreet-hpIqsD4AKlfQT0dZR+AlfA@public.gmane.org \
--cc=linux-bcache-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
--cc=linux-fsdevel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
--cc=linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
--cc=martin.petersen-QHcLZuEGTsvQT0dZR+AlfA@public.gmane.org \
--cc=mpatocka-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org \
--cc=sage-BnTBU8nroG7k1uMJSBkQmQ@public.gmane.org \
--cc=snitzer-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org \
--cc=tj-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org \
--cc=tytso-hpIqsD4AKlfQT0dZR+AlfA@public.gmane.org \
--cc=vgoyal-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org \
--cc=yehuda-L5o5AL9CYN0tUFlbccrkMA@public.gmane.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 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.