[stgt] [PATCH] SSC: dont fsync() on each written block. Do one single fsync() when file is closed in FILEMARK

Gabriele gabriele.mailing at rvmgroup.it
Sat Jan 21 12:56:31 CET 2012


> The patch does improve performance significantly, especially on
> slow/low-end/dodgy hardware where fsync is expensive.

I strongly agree with this patch. On my low end hardware performance was
about 2MB/s. Removing fsync() jumped to more than 60 MB/s.
The suggested behavior is safe enough for a tape activity. Even with
physical tapes, I believe that in case of a system crash or power loss,
the effects will be the same or worst ...
Thumbs up for its integration in the mainline code.

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