commit | 77c556f663b7ac066268c94c18670ce93dec60c0 | [log] [tgz] |
---|---|---|
author | Andreas Gruenbacher <agruen@linbit.com> | Wed Jun 08 22:17:38 2011 +0200 |
committer | Philipp Reisner <philipp.reisner@linbit.com> | Mon Feb 17 16:44:53 2014 +0100 |
tree | c05d7b93806b46528e4007ca2bf83ecfb2ec0671 | |
parent | 05a10ec7900dbdba008a24bf56b3490c4b568d2c [diff] |
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 <agruen@linbit.com> Signed-off-by: Philipp Reisner <philipp.reisner@linbit.com>