Files
linux/drivers
Lars Ellenberg 8d4ce82b3c drbd: don't start a resync without access to up-to-date Data
In case both nodes are "inconsistent", invalidate would
have started a resync anyways, without a chance to ever
succeed, just filling the logs with warning messages.

Simply disallow that state change,
re-using the SS_NO_UP_TO_DATE_DISK return value.

This also changes the corresponding error string to
"Need access to UpToDate Data" -- I found the
"Refusing to be Primary without at least one UpToDate disk"
answer misleading in some situations anyways.

Signed-off-by: Philipp Reisner <philipp.reisner@linbit.com>
Signed-off-by: Lars Ellenberg <lars.ellenberg@linbit.com>
2010-05-18 01:08:18 +02:00
..
2010-04-20 01:17:13 +01:00
2010-04-19 11:53:17 -07:00
2010-04-23 07:08:28 +10:00
2010-04-24 11:31:26 -07:00
2010-04-22 07:20:00 -07:00
2010-04-24 11:31:25 -07:00
2010-03-06 11:26:28 -08:00