From: Alasdair G Kergon <agk@redhat.com>
To: Kiyoshi Ueda <k-ueda@ct.jp.nec.com>
Cc: dm-devel@redhat.com, hare@suse.de, nfbrown@novell.com,
linux-kernel@vger.kernel.org, jens.axboe@oracle.com,
akpm@linux-foundation.org, stable@kernel.org, devel@openvz.org
Subject: Re: [dm-devel] Re: dm: bounce_pfn limit added
Date: Thu, 1 Nov 2007 00:00:07 +0000 [thread overview]
Message-ID: <20071101000007.GO10006@agk.fab.redhat.com> (raw)
In-Reply-To: <20071031.170016.39152331.k-ueda@ct.jp.nec.com>
On Wed, Oct 31, 2007 at 05:00:16PM -0500, Kiyoshi Ueda wrote:
> How about the case that other dm device is stacked on the dm device?
> (e.g. dm-linear over dm-multipath over i2o with bounce_pfn=64GB, and
> the multipath table is changed to i2o with bounce_pfn=1GB.)
Let's not broaden the problem out in that direction yet - that's a
known flaw in the way all these device restrictions are handled.
(Which would, it happens, also be resolved by the dm architectural
changes I'm contemplating.)
Yes, we could certainly take this patch - it won't do much harm (just
hit performance in some configurations). But I am not yet convinced
that there isn't some further underlying problem with the way the
responsibility for this bouncing is divided up between the various
layers: I still don't feel I completely understand this problem yet.
- How does that bio_alloc() in blk_queue_bounce() guarantee never to
lead a deadlock (in the device-mapper context)?
- Are some functions failing to take account of the hw_segments
(and perhaps other) restrictions?
- Are things actually simpler if the bouncing is dealt with just once
prior to entering the device stack (even though that may involve
bouncing some data that does not need it) or is it better to endeavour
to keep the bouncing as close to the final layer as possible?
Alasdair
--
agk@redhat.com
prev parent reply other threads:[~2007-11-01 0:01 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-10-29 6:31 dm: bounce_pfn limit added Vasily Averin
2007-10-30 20:11 ` Andrew Morton
2007-10-30 23:26 ` [dm-devel] " Alasdair G Kergon
2007-10-31 2:01 ` Alasdair G Kergon
2007-10-31 2:11 ` Alasdair G Kergon
2007-10-31 7:13 ` Vasily Averin
2007-10-31 7:36 ` Hannes Reinecke
2007-10-31 22:00 ` Kiyoshi Ueda
2007-11-01 0:00 ` Alasdair G Kergon [this message]
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=20071101000007.GO10006@agk.fab.redhat.com \
--to=agk@redhat.com \
--cc=akpm@linux-foundation.org \
--cc=devel@openvz.org \
--cc=dm-devel@redhat.com \
--cc=hare@suse.de \
--cc=jens.axboe@oracle.com \
--cc=k-ueda@ct.jp.nec.com \
--cc=linux-kernel@vger.kernel.org \
--cc=nfbrown@novell.com \
--cc=stable@kernel.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;
as well as URLs for NNTP newsgroup(s).