Bug 198856 - kernel dm: dm-crypt - need workqueue change to allow reduced stack use
Summary: kernel dm: dm-crypt - need workqueue change to allow reduced stack use
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat Enterprise Linux 5
Classification: Red Hat
Component: kernel
Version: 5.0
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
: ---
Assignee: Milan Broz
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2006-07-14 08:46 UTC by Milan Broz
Modified: 2013-03-01 04:04 UTC (History)
3 users (show)

Fixed In Version: RHEL5beta2
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2006-12-04 09:26:49 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Milan Broz 2006-07-14 08:46:54 UTC
Description of problem:

Current implementation of map function in dm-crypt waits for
earlies items to complete to solve insufficient memory situations.
/* out of memory -> run queues */
        if (remaining)
                blk_congestion_wait(bio_data_dir(clone), HZ/100);

This will not work after reduce stack changes in generic_make_request()
which will not process IOs immediately.
(md-dm-reduce-stack-usage-with-stacked-block-devices.patch)

Processing of map request and most of its workload should be moved
to dm-crypt workqueue.

Comment 1 Milan Broz 2006-12-04 09:26:49 UTC
Already in RHEL5beta2 (from upstream).


Note You need to log in before you can comment on or make changes to this bug.