]> git.lizzy.rs Git - plan9front.git/commit
upas/fs: getting rid of the fine-grain locking...
authorcinap_lenrek <cinap_lenrek@felloff.net>
Wed, 15 Mar 2017 18:30:33 +0000 (19:30 +0100)
committercinap_lenrek <cinap_lenrek@felloff.net>
Wed, 15 Mar 2017 18:30:33 +0000 (19:30 +0100)
commitefddf485006559bef5e8791b637e742d865df434
treef2aae7068a3861be15d73705894ebc6993433e56
parentc8d9390070a5c3585e064ee25a64c49e15618b99
upas/fs: getting rid of the fine-grain locking...

now that locking works, its time to get rid of it.
given that the only concurrency is between the periodic reader
process and the filesystem code, just make sure the filesystem
rpc handlers do not run concurrenty while syncing is in progress
with a single qlock.
sys/src/cmd/upas/fs/dat.h
sys/src/cmd/upas/fs/fs.c
sys/src/cmd/upas/fs/mbox.c