Home
last modified time | relevance | path

Searched hist:"97 e7cdf12ba324b599d404172c5899185ef2bbde" (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/drivers/md/
H A Ddm-io.cdiff 97e7cdf12ba324b599d404172c5899185ef2bbde Mon Jun 30 12:26:30 CDT 2014 Joe Thornber <ejt@redhat.com> dm io: simplify dec_count and sync_io

Remove the io struct off the stack in sync_io() and allocate it from
the mempool like is done in async_io().

dec_count() now always calls a callback function and always frees the io
struct back to the mempool (so sync_io and async_io share this pattern).

Signed-off-by: Joe Thornber <ejt@redhat.com>
Signed-off-by: Mike Snitzer <snitzer@redhat.com>