[stgt] Turning off write-caching

Chris Webb chris at arachsys.com
Wed Mar 25 09:25:36 CET 2009


FUJITA Tomonori <fujita.tomonori at lab.ntt.co.jp> writes:

> Seems that we misuse sync_file_range.
> Can you please try this?
> 
> diff --git a/usr/bs_mmap.c b/usr/bs_mmap.c
[...]
> diff --git a/usr/bs_rdwr.c b/usr/bs_rdwr.c
[...]
> diff --git a/usr/util.h b/usr/util.h

Thanks! It runs at a much more plausible speed for O_SYNC and O_DIRECT now,
so this patch does seem to fix the problem.

Best wishes,

Chris.
--
To unsubscribe from this list: send the line "unsubscribe stgt" in
the body of a message to majordomo at vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html



More information about the stgt mailing list