• K
    dm: submit stacked requests in irq enabled context · 2eb6e1e3
    Keith Busch 提交于
    Switch to having request-based DM enqueue all prep'ed requests into work
    processed by another thread.  This allows request-based DM to invoke
    block APIs that assume interrupt enabled context (e.g. blk_get_request)
    and is a prerequisite for adding blk-mq support to request-based DM.
    
    The new kernel thread is only initialized for request-based DM devices.
    
    multipath_map() is now always in irq enabled context so change multipath
    spinlock (m->lock) locking to always disable interrupts.
    Signed-off-by: NKeith Busch <keith.busch@intel.com>
    Signed-off-by: NMike Snitzer <snitzer@redhat.com>
    2eb6e1e3
dm.c 74.6 KB