Commit e9932145 authored by Kirill Smelkov's avatar Kirill Smelkov

.

parent 52f099c7
......@@ -117,7 +117,7 @@
//
// XXX locking -> explain atMu + slaves and refer to "Locking" in wcfs.go
//
// Conn.atMu > Conn.mu > FileH.mu
// Conn.atMu > Conn.filehMu > FileH.mu
//
// Several locks are RWMutex instead of just Mutex not only to allow more
// concurrency, but, in the first place for correctness: pinner thread being
......@@ -141,7 +141,7 @@
// similar to the above. This locks are:
//
// - Conn.atMu
// - Conn.mu
// - Conn.filehMu
//
// XXX pinner takes the following locks (XXX recheck)
//
......@@ -153,12 +153,6 @@
// - fileh.mu (R:.mmaps W:.pinned)
//
// - virt_lock
//
//
// XXX lock order
//
// Conn.atMu > Conn.filehMu > FileH.mu
//
#include "wcfs_misc.h"
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment