diff options
author | Kiyoshi Ueda <k-ueda@ct.jp.nec.com> | 2009-12-10 18:52:17 -0500 |
---|---|---|
committer | Alasdair G Kergon <agk@redhat.com> | 2009-12-10 18:52:17 -0500 |
commit | 11a68244e16b0c35e122dd55b4e7c595e0fb67a1 (patch) | |
tree | ac982eb9abf6eca76ae35a9e0900323b54bb3ab9 /drivers/watchdog/ixp2000_wdt.c | |
parent | b4324feeae304ae39e631a254d238a7d63be004b (diff) |
dm: refactor request based completion functions
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: Kiyoshi Ueda <k-ueda@ct.jp.nec.com>
Signed-off-by: Jun'ichi Nomura <j-nomura@ce.jp.nec.com>
Signed-off-by: Alasdair G Kergon <agk@redhat.com>
Diffstat (limited to 'drivers/watchdog/ixp2000_wdt.c')
0 files changed, 0 insertions, 0 deletions