• K
    dm: refactor request based completion functions · 11a68244
    Kiyoshi Ueda 提交于
    This patch factors out the clone completion code, dm_done(),
    from dm_softirq_done() in preparation for a subsequent patch.
    No functional change.
    
    dm_done() will be used in barrier completion, which can't use and
    doesn't need softirq.  The softirq_done callback needs to get a clone
    from an original request but it can't in the case of barrier, where
    an original request is shared by multiple clones.  On the other hand,
    the completion of barrier clones doesn't involve re-submitting requests,
    which was the primary reason of the need for softirq.
    Signed-off-by: NKiyoshi Ueda <k-ueda@ct.jp.nec.com>
    Signed-off-by: NJun'ichi Nomura <j-nomura@ce.jp.nec.com>
    Signed-off-by: NAlasdair G Kergon <agk@redhat.com>
    11a68244
dm.c 55.7 KB