4 ms·
This reminds me of a bug I had to fix while working on the AIX version of a SCSI-failover driver (ATF) for Clariion disk arrays. It turned out that sometimes,
by notacoward 11y ago
This reminds me of a bug I had to fix while working on the AIX version of a SCSI-failover driver (ATF) for Clariion disk arrays. It turned out that sometimes, telnet'ing in to a system with ATF active would hang the system. (FWIW, ssh would have had the same problem. That's just not what actually happened, and ssh on AIX wasn't much of a thing back in those days.) It turned out that the telnet daemon and an ATF daemon together were triggering a classic lock-inversion kind of deadlock in the AIX kernel's generic ioctl code. The details and the fix aren't all that relevant, but it was an important lesson in how these absolutely crazy-seeming kinds of interactions can and do occur in real systems. If your code even runs "alongside" some other code, they can interact in strange and unpleasant ways.