X-Git-Url: http://git.vrable.net/?a=blobdiff_plain;f=bluesky%2Fbluesky.h;h=7b8aad2073cfb787462f388995965320b75064fa;hb=e6ca13c07e0cb5dd05d48a12cd50a2cf6179ce1a;hp=58ff29ff1b0d08701cdbdfb77a59bbc13ed0112d;hpb=3175b881ccd14a39c4a206147cc99ecc80de3412;p=bluesky.git diff --git a/bluesky/bluesky.h b/bluesky/bluesky.h index 58ff29f..7b8aad2 100644 --- a/bluesky/bluesky.h +++ b/bluesky/bluesky.h @@ -28,7 +28,11 @@ typedef struct { /* Can inodes be fetched asynchronously? (Inode object is initially * created in a pending state, and not unlocked until the data is actually * available.) */ - int async_inode_fetches; + int sync_inode_fetches; + + /* Should frontends handle requests serially or allow operations to proceed + * in parallel? */ + int sync_frontends; } BlueSkyOptions; extern BlueSkyOptions bluesky_options; @@ -134,6 +138,9 @@ bluesky_time_hires bluesky_now_hires(); * acquire locks on parents in the filesystem tree before children. * (TODO: What about rename when we acquire locks in unrelated parts of the * filesystem?) + * - An inode should not be locked while the filesystem lock is already held, + * since some code may do an inode lookup (which acquires the filesystem + * lock) while a different inode is locked. * */ typedef struct { GMutex *lock;