[Drbd-dev] DRBD-8: add explicit fault-count module parameter to track fault insertion

Graham, Simon Simon.Graham at stratus.com
Sat Oct 28 23:12:45 CEST 2006


The attached patch adds a new module parameter fault_count which is
updated whenever a fault is inserted - this allows test code using fault
insertion to know for sure that faults have been simulated. I also fixed
the formatting of the code to conform to the normal standard and also
fixed a couple of warnings in trace statement that trace sector numbers
using 64-bit formats but without the explicit cast to 64-bit size.

Also included is an update to the unit test script to use the new
variable and to remove a test that guaranteed creation of split-brain!

Simon


-------------- next part --------------
A non-text attachment was scrubbed...
Name: fault-count.patch
Type: application/octet-stream
Size: 9013 bytes
Desc: fault-count.patch
Url : http://lists.linbit.com/pipermail/drbd-dev/attachments/20061028/ddaf4a22/fault-count.obj


More information about the drbd-dev mailing list