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

FUJITA Tomonori fujita.tomonori at lab.ntt.co.jp
Mon Jan 23 08:09:48 CET 2012

On Mon, 23 Jan 2012 12:49:49 +1100
ronnie sahlberg <ronniesahlberg at gmail.com> wrote:

> So, doing this is fine according to SSC, but we have to indicate that
> we do this by setting the buffered-mode to 1h in the mode-sense data.
> I have attached an updated patch that both does the "fsync() on
> write-filemark" as before but also modifies the mode-sense we send
> back from ssc devices to indicate "buffered-mode==1 : we do buffered
> writes."

Great, thanks a lot!

Mark, this patch looks good to you?
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