commit | e7a3e871d8954c636b6cd2db7c7ece7ffe405986 | [log] [tgz] |
---|---|---|
author | Joe Thornber <ejt@redhat.com> | Tue May 13 16:14:14 2014 -0400 |
committer | Mike Snitzer <snitzer@redhat.com> | Tue Jun 03 13:44:07 2014 -0400 |
tree | 9c4a1864d9bc1e37c4abf155230574a97e3d734f | |
parent | 298eaa89b02e88dc9081f8761a957f7cd5e8b201 [diff] |
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>