[dm-devel] queue limits and blk_queue_bounce

Christophe Saout christophe at saout.de
Tue Feb 24 15:20:05 UTC 2004


Hi,

I'm just checking dm-crypt with highmem and found that dm doesn't call
blk_queue_bounce_limit. That means the queue will use BLK_BOUNCE_HIGH by
default.

That means that all BIOs will be unnecessarily bounced to lowmem before
the upcall to dm even if the underlying queue supports highmem pages.

We could either call blk_queue_bounce_limit(q, BLK_BOUNCE_ANY) which
will bounce the queue when DM calls generic_make_request or combine
q->bounce_pfn high.





More information about the dm-devel mailing list