]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
dm thin: cleanup noflush_work to use a proper completion
authorJoe Thornber <ejt@redhat.com>
Tue, 13 May 2014 20:14:14 +0000 (16:14 -0400)
committerMike Snitzer <snitzer@redhat.com>
Tue, 3 Jun 2014 17:44:07 +0000 (13:44 -0400)
commite7a3e871d8954c636b6cd2db7c7ece7ffe405986
tree9c4a1864d9bc1e37c4abf155230574a97e3d734f
parent298eaa89b02e88dc9081f8761a957f7cd5e8b201
dm thin: cleanup noflush_work to use a proper completion

Factor out a pool_work interface that noflush_work makes use of to wait
for and complete work items (in terms of a proper completion struct).
Allows discontinuing the use of a custom completion in terms of atomic_t
and wait_event.

Signed-off-by: Joe Thornber <ejt@redhat.com>
Signed-off-by: Mike Snitzer <snitzer@redhat.com>
drivers/md/dm-thin.c