* created in a pending state, and not unlocked until the data is actually
* available.) */
int sync_inode_fetches;
+
+ /* Should frontends handle requests serially or allow operations to proceed
+ * in parallel? */
+ int sync_frontends;
} BlueSkyOptions;
extern BlueSkyOptions bluesky_options;
{"BLUESKY_OPT_SYNC_STORES", &bluesky_options.synchronous_stores},
{"BLUESKY_OPT_WRITETHROUGH", &bluesky_options.writethrough_cache},
{"BLUESKY_OPT_SYNC_INODE_FETCH", &bluesky_options.sync_inode_fetches},
+ {"BLUESKY_OPT_SYNC_FRONTENDS", &bluesky_options.sync_frontends},
{NULL, NULL}
};
req->req_proc = ntohl(header->proc);
rpc->msgbuf = g_string_new("");
- g_thread_pool_push(rpc_thread_pool, req, NULL);
+ if (bluesky_options.sync_frontends) {
+ nfs_program_3(req);
+ } else {
+ g_thread_pool_push(rpc_thread_pool, req, NULL);
+ }
return TRUE;
}