From: Lars Ellenberg Date: Tue, 24 Jan 2012 16:19:42 +0000 (+0100) Subject: drbd: base completion and destruction of requests on ref counts X-Git-Tag: v3.8-rc1~78^2~18^2~61 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a0d856dfaed16efb9600b2a7d147cb6dbc11ff94;p=pandora-kernel.git 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 Signed-off-by: Lars Ellenberg --- Reading git-diff-tree failed