drbd: introduce completion_ref and kref to struct drbd_request
authorLars Ellenberg <lars.ellenberg@linbit.com>
Tue, 24 Jan 2012 15:58:11 +0000 (16:58 +0100)
committerPhilipp Reisner <philipp.reisner@linbit.com>
Thu, 8 Nov 2012 15:58:36 +0000 (16:58 +0100)
commitb406777e6496de346e8ee12fa64e1fe0adc02a78
tree8768b007631a8f2e57639bb1f80b158cfa49af3a
parent5df69ece6e93cfd4e09b14bf32bd101df6cbde38
drbd: introduce completion_ref and kref to struct drbd_request

cherry-picked and adapted from drbd 9 devel branch

completion_ref will count pending events necessary for completion.
kref is for destruction.

This only introduces these new members of struct drbd_request,
a followup patch will make actual use of them.

Signed-off-by: Philipp Reisner <philipp.reisner@linbit.com>
Signed-off-by: Lars Ellenberg <lars.ellenberg@linbit.com>
drivers/block/drbd/drbd_int.h
drivers/block/drbd/drbd_req.c