From: Andreas Gruenbacher Date: Wed, 8 Jun 2011 20:17:38 +0000 (+0200) Subject: drbd: Add struct drbd_resource X-Git-Tag: v3.15-rc1~134^2~60 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=77c556f663b7ac066268c94c18670ce93dec60c0;p=pandora-kernel.git drbd: Add struct drbd_resource In a first step, each resource has exactly one connection, and both objects are allocated at the same time. The final result will be one resource and zero or more connections. Only allow to delete a resource if all its connections are C_STANDALONE. Stop the worker threads of all connections early enough. Signed-off-by: Andreas Gruenbacher Signed-off-by: Philipp Reisner --- Reading git-diff-tree failed