+/* Various options to tweak for performance benchmarking purposes. */
+typedef struct {
+ /* Perform all get/put operations synchronously. */
+ int synchronous_stores;
+
+ /* Write data in cache immediately after file is modified. */
+ int writethrough_cache;
+
+ /* Can inodes be fetched asynchronously? (Inode object is initially
+ * 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 status and error codes. Various frontends should translate these to
+ * the appropriate error code for whatever protocol they implement. */
+typedef enum {
+ BSTATUS_OK = 0, /* No error */
+ BSTATUS_IOERR, /* I/O error of some form */
+ BSTATUS_NOENT, /* File does not exist */
+} BlueSkyStatus;
+