cvs commit: src/sys/gnu/ext2fs fs.h
jeff at FreeBSD.org
Wed Aug 27 17:52:25 PDT 2003
jeff 2003/08/27 17:52:23 PDT
FreeBSD src repository
- In LCK_BUF() simply change the owner of the buf to the kernel.
- In ULCK_BUF we no longer need to acquire the lock, just write the buf out.
- The combination of these changes eliminates one more use of B_LOCKED which
is in the way of making the buffer cache SMP safe. In the long term
ext2fs should probably not try to optimize the use of their metadata bufs
with a private cache. This will starve the rest of the system for buffers
in the extreme case.
Discussed with: bde (A long time ago..)
Tested on: md disk/x86
Revision Changes Path
1.14 +2 -10 src/sys/gnu/ext2fs/fs.h
More information about the cvs-src