diff options
author | Andreas Gruenbacher <agruen@linbit.com> | 2011-02-22 02:15:32 +0100 |
---|---|---|
committer | Philipp Reisner <philipp.reisner@linbit.com> | 2011-10-14 16:47:51 +0200 |
commit | 7be8da0798f08fb9564d4f64fe4a7d6fb4fab20b (patch) | |
tree | cdcc85b5152562bd40065cecec7f571098851881 /net/rfkill | |
parent | 71b1c1eb9c544141e743c4d14b3c576fd4c31a5a (diff) |
drbd: Improve how conflicting writes are handled
The previous algorithm for dealing with overlapping concurrent writes
was generating unnecessary warnings for scenarios which could be
legitimate, and did not always handle partially overlapping requests
correctly. Improve it algorithm as follows:
* While local or remote write requests are in progress, conflicting new
local write requests will be delayed (commit 82172f7).
* When a conflict between a local and remote write request is detected,
the node with the discard flag decides how to resolve the conflict: It
will ask its peer to discard conflicting requests which are fully
contained in the local request and retry requests which overlap only
partially. This involves a protocol change.
Signed-off-by: Philipp Reisner <philipp.reisner@linbit.com>
Signed-off-by: Lars Ellenberg <lars.ellenberg@linbit.com>
Diffstat (limited to 'net/rfkill')
0 files changed, 0 insertions, 0 deletions