]> git.michaelhowe.org Git - packages/o/openafs.git/commit
FBSD7: Don't sleep with the glock
authorBen Kaduk <kaduk@mit.edu>
Mon, 20 Dec 2010 00:33:28 +0000 (19:33 -0500)
committerDerrick Brashear <shadow@dementia.org>
Wed, 12 Jan 2011 19:49:18 +0000 (11:49 -0800)
commit9ae3974714d6d26711cfe59ed7bf5559c43a472b
treec32c178beacce1f636ad90199e534ceee3cccdc2
parentae05c4f6d6c5675596b37d8f4b45eb5614bff705
FBSD7: Don't sleep with the glock

On FreeBSD 7.X, vinvalbuf() can (will) sleep; this results in a panic
when the kernel is configured with WITNESS and we hold the glock around
it.
Drop the glock in this case.

Reviewed-on: http://gerrit.openafs.org/3551
Tested-by: BuildBot <buildbot@rampaginggeek.com>
Reviewed-by: Derrick Brashear <shadow@dementia.org>
Tested-by: Derrick Brashear <shadow@dementia.org>
(cherry picked from commit b1cb3607ff66b7fc6201fab2af57761156b1927f)

Change-Id: I3b22c12a20b33ca0e4df5a66c2edfc4167000a1c
Reviewed-on: http://gerrit.openafs.org/3650
Tested-by: BuildBot <buildbot@rampaginggeek.com>
Reviewed-by: Derrick Brashear <shadow@dementia.org>
src/afs/afs_vcache.c