release-buffer-cache-lock-before-opening-file-20011009
authorNickolai Zeldovich <kolya@mit.edu>
Wed, 10 Oct 2001 00:58:44 +0000 (00:58 +0000)
committerDerrick Brashear <shadow@dementia.org>
Wed, 10 Oct 2001 00:58:44 +0000 (00:58 +0000)
commita60bb0c5510d5272458bc1cc368a4c4cd77114a2
tree7cf38a809bdd61e58d3887e036cc7cdc247b588b
parentf10372acf2bc21579674c06b50a1ee967fa89302
release-buffer-cache-lock-before-opening-file-20011009

  make the buffer cache release
  the buffer hash lock before trying to open the corresponding file.
  Since we're already holding a buffer cache entry, we can lock it
  instead and let other threads obtain the big hash lock.
src/afs/afs_buffer.c