[stgt] [PATCH] SSC: dont fsync() on each written block. Do one single fsync() when file is closed in FILEMARK
markh794 at gmail.com
Mon Jan 23 12:29:02 CET 2012
Only got iPad access to email for this week. No real computer to test etc, but patch look sensible..
You can add my ack, or wait for next week when I can test too.
Sent from my iPad
On Jan 23, 2012, at 18:09, FUJITA Tomonori <fujita.tomonori at lab.ntt.co.jp> wrote:
> 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
> 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