/alps/fastwriter

To get this branch, use:
bzr branch http://darksoft.org/webbzr/alps/fastwriter

« back to all changes in this revision

Viewing changes to default.c

  • Committer: Suren A. Chilingaryan
  • Date: 2012-03-08 04:05:59 UTC
  • Revision ID: csa@dside.dyndns.org-20120308040559-7xyah163pzxd3r35
Use sync-io with raw devices (significantly improves speed)

Show diffs side-by-side

added added

removed removed

Lines of Context:
82
82
        ctx->pa_block = 0;
83
83
        ctx->prior_size = (size_t)-1;
84
84
#ifdef SYNC_MODE
85
 
        ctx->sync_mode = 0;
 
85
//      ctx->sync_mode = 0;
86
86
#endif /* SYNC_MODE */
87
87
        open_flags &= ~(O_CREAT|O_NOATIME|O_LARGEFILE);
88
88
    } else if (!strcmp(fs, "ext4")) {