home *** CD-ROM | disk | FTP | other *** search
/ minnie.tuhs.org / unixen.tar / unixen / PDP-11 / Bug_Fixes / Net.v7bugs / 0020 < prev    next >
Encoding:
Text File  |  1981-05-28  |  725 b   |  18 lines

  1. Autzoo.671
  2. NET.v7bugs
  3. utzoo!henry
  4. Thu May 28 19:09:51 1981
  5. disksort read/write order
  6. In /usr/sys/dev/dsort.c, the general seek-sort routine used by hp.c
  7. et al, the code as distributed queues reads before writes.  This is
  8. WRONG, the intent was to put writes before reads (I asked Dennis Ritchie
  9. at the San Francisco Usenix meeting).  The result is that on a very busy
  10. system, it can take a looooong time for data to get out to disk, which
  11. is risky and can hurt performance.
  12.  
  13. The fix is simple;  in the two if's that check B_READ flags, "ap" should
  14. be changed to "bp" and vice-versa.
  15.  
  16. This bug has been known for some time, but hasn't been seen on the net
  17. yet.  It was discovered by Peter Hardie at University of Saskatchewan.
  18.