summaryrefslogtreecommitdiffstats
path: root/sys/security/mac/mac_framework.c
diff options
context:
space:
mode:
authormckusick <mckusick@FreeBSD.org>2002-12-14 01:35:30 +0000
committermckusick <mckusick@FreeBSD.org>2002-12-14 01:35:30 +0000
commit89e2af024f460045423c909cc708c5381a8cec45 (patch)
treef86b639d6104cde6c18010ce7693ce251d33fdd0 /sys/security/mac/mac_framework.c
parent0423e8e00304d4fe38479e68d84649362c449fb6 (diff)
downloadFreeBSD-src-89e2af024f460045423c909cc708c5381a8cec45.zip
FreeBSD-src-89e2af024f460045423c909cc708c5381a8cec45.tar.gz
The buffer daemon cannot skip over buffers owned by locked inodes as
they may be the only viable ones to flush. Thus it will now wait for an inode lock if the other alternatives will result in rollbacks (and immediate redirtying of the buffer). If only buffers with rollbacks are available, one will be flushed, but then the buffer daemon will wait briefly before proceeding. Failing to wait briefly effectively deadlocks a uniprocessor since every other process writing to that filesystem will wait for the buffer daemon to clean up which takes close enough to forever to feel like a deadlock. Reported by: Archie Cobbs <archie@dellroad.org> Sponsored by: DARPA & NAI Labs. Approved by: re
Diffstat (limited to 'sys/security/mac/mac_framework.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud