summaryrefslogtreecommitdiffstats
path: root/usr.sbin
diff options
context:
space:
mode:
authorjeff <jeff@FreeBSD.org>2003-10-04 18:03:53 +0000
committerjeff <jeff@FreeBSD.org>2003-10-04 18:03:53 +0000
commit55547647ecb82bcf7ff95e5f63008eba907da828 (patch)
tree83dd168181d7b6cf3bbcbb1dba6facd3c15d429a /usr.sbin
parentdaf04438572f986b4e7158eb0be7b2f17ba95a78 (diff)
downloadFreeBSD-src-55547647ecb82bcf7ff95e5f63008eba907da828.zip
FreeBSD-src-55547647ecb82bcf7ff95e5f63008eba907da828.tar.gz
- In sched_sync() test our preconditions prior to dropping the sync_mtx.
This is so that we may grab the interlock while still holding the sync_mtx. We have to VI_TRYLOCK() because in all other cases the lock order runs the other way. - If we don't meet any of the preconditions, reinsert the vp into the list for the next second. - We don't need to panic if we fail to sync here because each FSYNC function handles this case. Removing this redundant code also simplifies locking.
Diffstat (limited to 'usr.sbin')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud