[DRBD-user] Request for better message

Dan Barker dbarker at visioncomm.net
Fri Oct 1 22:23:42 CEST 2010

Note: "permalinks" may not be as permanent as we would like,
direct links of old sources may well be a few messages off.


How big a deal would it be to change the message from:
"block drbd1: istiod1[3401] Concurrent local write detected! [DISCARD L]
new: 42624s +512; pending: 42624s +512"
to:
"block drbd1: istiod1[3401] Concurrent local write detected! [DISCARD L]
new: 42624s +512; pending: 42624s +512 delta: 0"
where delta is the number of bytes that were in the overlapped area which
are not equal to the I/O already in the queue.

So, if the delta is zero, nobody should care (except the ID10-t who wrote it
twice) and if it's non-zero then the message implies much more diligent
research needs to be done into the calling application. 

c++ coders, thoughts? (Maybe the original contents of the buffer are gone
and my question is moot).

Dan in Atlanta




More information about the drbd-user mailing list