rbd: introduce a per-device ordered workqueue
authorIlya Dryomov <idryomov@gmail.com>
Fri, 12 Aug 2016 13:45:52 +0000 (15:45 +0200)
committerIlya Dryomov <idryomov@gmail.com>
Wed, 24 Aug 2016 21:49:16 +0000 (23:49 +0200)
commit1643dfa4c2c827d6e2aa419df8c17b0f24090278
treed7fa6499301913a0f2bb965c40251cfcb30befdd
parent033268a5f01270f0ef20d1a9a078b157f4af97f8
rbd: introduce a per-device ordered workqueue

This is going to be used for re-registering watch requests and
exclusive-lock tasks: acquire/request lock, notify-acquired, release
lock, notify-released.  Some refactoring in the map/unmap paths was
necessary to give this workqueue a meaningful name: "rbdX-tasks".

Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
Reviewed-by: Mike Christie <mchristi@redhat.com>
drivers/block/rbd.c