diff options
| author | 2012-01-24 17:19:42 +0100 | |
|---|---|---|
| committer | 2012-11-08 16:58:36 +0100 | |
| commit | a0d856dfaed16efb9600b2a7d147cb6dbc11ff94 (patch) | |
| tree | 48b11d912c045a0bf7ff2eed3cfd1abe62c9e31f /scripts/patch-kernel | |
| parent | drbd: introduce completion_ref and kref to struct drbd_request (diff) | |
drbd: base completion and destruction of requests on ref counts
cherry-picked and adapted from drbd 9 devel branch
The logic for when to get or put a reference is in mod_rq_state().
To not get confused in the freeze/thaw respectively resend/restart
paths, or when cleaning up requests waiting for P_BARRIER_ACK, this
also introduces additional state flags:
RQ_COMPLETION_SUSP, and RQ_EXP_BARR_ACK.
Signed-off-by: Philipp Reisner <philipp.reisner@linbit.com>
Signed-off-by: Lars Ellenberg <lars.ellenberg@linbit.com>
Diffstat (limited to 'scripts/patch-kernel')
0 files changed, 0 insertions, 0 deletions
