The unified diff between revisions [cc35419e..] and [f681bbc6..] is displayed below. It can also be downloaded as a raw diff.
This diff has been restricted to the following files: 'src/fs/coss/store_coss.h'
#
#
# patch "src/fs/coss/store_coss.h"
# from [9fb20e426c4f9b4b0842b5f4005ee29fd9903e69]
# to [712f79a4e81633580a6bd795168f7f2cd6bbe02d]
#
============================================================
--- src/fs/coss/store_coss.h 9fb20e426c4f9b4b0842b5f4005ee29fd9903e69
+++ src/fs/coss/store_coss.h 712f79a4e81633580a6bd795168f7f2cd6bbe02d
@@ -24,7 +24,7 @@ typedef struct _cossstripe CossStripe;
* Define this if you would like to use the aufs IO method for
* disk IO instead of the POSIX AIO method.
*/
-#define USE_AUFSOPS 1
+//#define USE_AUFSOPS 1
#if USE_AUFSOPS
/* XXX a hack; the async ops should be broken out! */
@@ -144,6 +144,12 @@ struct _cossinfo {
int numstripes;
struct _cossstripe *stripes;
int curstripe;
+ struct {
+ char rebuilding;
+ char reading;
+ int curstripe;
+ char *buf;
+ } rebuild;
};
struct _cossindex {