blockjob: add devops to blockjob backends
commit600ac6a0ef5c06418446ef2f37407bddcc51b21c
authorJohn Snow <jsnow@redhat.com>
Thu, 16 Mar 2017 21:23:51 +0000 (16 17:23 -0400)
committerJeff Cody <jcody@redhat.com>
Wed, 22 Mar 2017 17:26:27 +0000 (22 13:26 -0400)
treed3ba2caed31868b9e2928fcb1a71e51e8a9b5389
parentf4d9cc88ee69a5b04a843424e50f466e36fcad4e
blockjob: add devops to blockjob backends

This lets us hook into drained_begin and drained_end requests from the
backend level, which is particularly useful for making sure that all
jobs associated with a particular node (whether the source or the target)
receive a drain request.

Suggested-by: Kevin Wolf <kwolf@redhat.com>
Signed-off-by: John Snow <jsnow@redhat.com>
Reviewed-by: Jeff Cody <jcody@redhat.com>
Message-id: 20170316212351.13797-4-jsnow@redhat.com
Signed-off-by: Jeff Cody <jcody@redhat.com>
blockjob.c