/alps/fastwriter

To get this branch, use:
bzr branch http://suren.me/webbzr/alps/fastwriter

« back to all changes in this revision

Viewing changes to default.c

  • Committer: Suren A. Chilingaryan
  • Date: 2012-12-04 18:52:59 UTC
  • Revision ID: csa@dside.dyndns.org-20121204185259-74cje087bf73nh9s
Do not use O_DIRECT by default

Show diffs side-by-side

added added

removed removed

Lines of Context:
148
148
        ctx->wr_block = EXT4_WRITEBLOCK;
149
149
#endif /* !DISABLE_AIO */
150
150
        ctx->pa_block = EXT4_PREALLOCATE;
 
151
/*    } else if (!strcmp(fs, "fhgfs")) {
 
152
        ctx->sync_mode = 0;
 
153
        ctx->wr_block = OCFS_WRITEBLOCK;
 
154
        ctx->pa_block = EXT4_PREALLOCATE;
 
155
    } else if (strstr(fs, "gluster")) {
 
156
        ctx->sync_mode = 0;
 
157
        ctx->wr_block = OCFS_WRITEBLOCK;
 
158
        ctx->pa_block = EXT4_PREALLOCATE;*/
151
159
    } else {
152
 
        ctx->wr_block = EXT4_WRITEBLOCK;
 
160
        ctx->sync_mode = 0;
 
161
        ctx->wr_block = OCFS_WRITEBLOCK;
153
162
        ctx->pa_block = 0;
154
163
    }
155
164