Re: [V9fs-developer] Hang triggered by udev coldplug, looks like a race

From: Dominique Martinet
Date: Wed Dec 09 2015 - 01:23:37 EST


Andy Lutomirski wrote on Tue, Dec 08, 2015:
> Trace attached. I don't see anything wrong, but I also don't know
> what I'm looking for.

Actually doesn't look good, not sure if trace could be missing messages
but it looks like tags get reused...

Quick and dirty parse script (attached output, it doesn't handle TFLUSH
but there are none in his message):

awk '{print NR " " $0}' 9ptrace.txt | \
awk '/^[0-9]* T/ {
if ($5 in tag) {
print "DOUBLETAG " $0 " || had " tag[$5];
} else {
tag[$5] = $0;
}
}
/^[0-9]* R/ {
if (! $5 in tag ) {
print "MISSTAG " $0;
} else {
delete tag[$5];
}
}'


--
Dominique Martinet

Attachment: 9pdoubles.xz
Description: Binary data