[Piglit] [PATCH] programs/run.py add file sync command line option

Dylan Baker baker.dylan.c at gmail.com
Thu Aug 14 13:38:28 PDT 2014


On Thursday, August 14, 2014 04:55:04 PM Atwood, Matthew S wrote:

It shouldn't be a big deal, fsync() only blocks while writing to disk,
if there's nothing to write, it wont block.

As to why write_dict_key is public, have a look at
JSONWriter.initialize_json() in the results.py module, I think that will
make it clear

> open_dict is already calling the new file sync. I am hesitant to sync
> write_dict_key for fear of unnecessary blocking calls. I am also
> confused as to why that is a public api call, seems like it should
> only be called by write_dict_item.
> 
[snip]
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 473 bytes
Desc: This is a digitally signed message part.
URL: <http://lists.freedesktop.org/archives/piglit/attachments/20140814/e309f6cf/attachment.sig>


More information about the Piglit mailing list