Patchwork coroutine bug?, was Re: [PATCH] sheepdog: use coroutines

login
register
mail settings
Submitter Christoph Hellwig
Date Jan. 2, 2012, 3:40 p.m.
Message ID <20120102154047.GA22925@lst.de>
Download mbox | patch
Permalink /patch/133862/
State New
Headers show

Comments

Christoph Hellwig - Jan. 2, 2012, 3:40 p.m.
Forgot to attach the "go-fast" patch required to reproduce the issue
on slow storage:

Patch

Index: sheepdog/sheep/simple_store.c
===================================================================
--- sheepdog.orig/sheep/simple_store.c	2011-12-29 20:10:44.171622413 +0100
+++ sheepdog/sheep/simple_store.c	2012-01-02 16:23:39.759957971 +0100
@@ -30,7 +30,7 @@  extern char *obj_path;
 
 extern mode_t def_fmode;
 
-static int def_store_flags = O_DSYNC | O_RDWR;
+static int def_store_flags = O_RDWR;
 
 struct store_driver store;