OpenVZ Forum


Home » Mailing lists » Devel » dm: bounce_pfn limit added
Re: [dm-devel] Re: dm: bounce_pfn limit added [message #22574 is a reply to message #22572] Wed, 31 October 2007 02:01 Go to previous messageGo to previous message
Alasdair G Kergon is currently offline  Alasdair G Kergon
Messages: 6
Registered: September 2007
Junior Member
On Tue, Oct 30, 2007 at 11:26:17PM +0000, Alasdair G Kergon wrote:
> ) DM doesn't need to bounce bio's on its own, but the block layer defaults
> ) to that in blk_queue_make_request(). The lower level drivers should
> ) bounce ios themselves, that is what they need to do if not layered below
> ) dm anyways.

So currently we treat bounce_pfn as a property that does not need to be
propagated through the stack.

But is that the right approach?
- Is there a blk_queue_bounce() missing either from dm or elsewhere?
  (And BTW can the bio_alloc() that lurks within lead to deadlock?)

Firstly, what's going wrong?
- What is the dm table you are using?  (output of 'dmsetup table')
  - Which dm targets and with how many underlying devices?
- Which underlying driver?
- Is this direct I/O to the block device from userspace, or via some
filesystem or what?

Presumably you've shown the problem goes away when the dm device is
removed from the stack.
What if you swap in alternative dm targets, e.g. if it's linear,
try multipath (round-robin, one path)?
 
Alasdair
-- 
agk@redhat.com
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: [PATCH] proc: Fix proc_kill_inodes to kill dentries on all proc superblocks
Next Topic: [PATCH 0/5] A config option to compile out some namespaces code (v3)
Goto Forum:
  


Current Time: Mon Jul 14 21:15:15 GMT 2025

Total time taken to generate the page: 0.01764 seconds