From 792cb8124ebb8f119f678d5d4df1a8d30d568564 Mon Sep 17 00:00:00 2001 From: "Suren A. Chilingaryan" Date: Thu, 8 Mar 2012 05:05:59 +0100 Subject: Use sync-io with raw devices (significantly improves speed) --- default.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'default.c') diff --git a/default.c b/default.c index 3cc2ea0..6c7970b 100644 --- a/default.c +++ b/default.c @@ -82,7 +82,7 @@ int fastwriter_default_open(fastwriter_t *fw, const char *name, fastwriter_flags ctx->pa_block = 0; ctx->prior_size = (size_t)-1; #ifdef SYNC_MODE - ctx->sync_mode = 0; +// ctx->sync_mode = 0; #endif /* SYNC_MODE */ open_flags &= ~(O_CREAT|O_NOATIME|O_LARGEFILE); } else if (!strcmp(fs, "ext4")) { -- cgit v1.2.3