X-Git-Url: http://git.vrable.net/?a=blobdiff_plain;f=bluesky%2Fbluesky.h;h=6324ce2f46452fa1d4b8c9a176d43d64b1507547;hb=50c08ba526a6638e8e3c4eec0503365a2c110a85;hp=201cc17e1163a39501261964a61a074e2eb3774c;hpb=365e57979887238629402d8c0b2c2cae65e852fe;p=bluesky.git diff --git a/bluesky/bluesky.h b/bluesky/bluesky.h index 201cc17..6324ce2 100644 --- a/bluesky/bluesky.h +++ b/bluesky/bluesky.h @@ -121,6 +121,10 @@ bluesky_time_hires bluesky_now_hires(); * dropping from the cache. * - Any pending operations should hold extra references to the inode as * appropriate to keep it available until the operation completes. + * - Locking dependency order is, when multiple locks are to be acquired, to + * acquire locks on parents in the filesystem tree before children. + * (TODO: What about rename when we acquire locks in unrelated parts of the + * filesystem?) * */ typedef struct { GMutex *lock;