Changes committed to git://oss.sgi.com/kenj/pcp.git dev
qa/038 | 1
src/libpcp/src/logutil.c | 55 +-
src/libpcp/src/p_result.c | 63 +-
src/pmlogextract/pmlogextract.c | 6
src/pmlogreduce/scan.c | 7
...
commit 61308844be8caa5bf8cde3857f31012c970b92ad
Merge: f7e19c9 ada57af
Author: Ken McDonell <kenj@xxxxxxxxxxxxxxxx>
Date: Fri Apr 18 12:11:31 2014 +1000
Merge branch 'archio' into dev
Improved archive I/O features.
commit f7e19c9b43dc7bf263418f2da3d4b3cd214fcb3a
Merge: 7a0b9fe 6cfd9c0
Author: Ken McDonell <kenj@xxxxxxxxxxxxxxxx>
Date: Fri Apr 18 12:10:30 2014 +1000
Merge branch 'dev' of git://oss.sgi.com/pcp/pcp into dev
commit ada57af7f86706729209bfe555a8fe957792ff53
Author: Ken McDonell <kenj@xxxxxxxxxxxxxxxx>
Date: Fri Apr 18 11:59:52 2014 +1000
pmlogger I/O changes - part 2
This commit makes further changes to improve the I/O behaviour when
archives are being created.
1. revert to buffered I/O for the metadata and index files ...
unbuffered I/O here was a signficant hit and reduced (rather than
improved) the semantic integrity of the external files
2. change the semantics for the internal __pmLogPutResult() routine
so that the buffer containing the PDU is large enough to allow
__pmLogPutResult() set the record length in the end of the buffer
and then output all of the logical record (header, pmResult &
trailer) in a single write()
3. consequent changes to the users of __pmLogPutResult() in the light
of 2.
commit 78782332f1ee9d027a6f9d8e3ccba59f806f6502
Author: Ken McDonell <kenj@xxxxxxxxxxxxxxxx>
Date: Wed Apr 16 09:19:11 2014 +1000
qa/038 - capture a little more diagnostic detail in 038.full
commit 7320e673ce8d4b00d19a05656992c067a6d531e4
Author: Ken McDonell <kenj@xxxxxxxxxxxxxxxx>
Date: Tue Apr 15 10:13:28 2014 +1000
libpcp - __pmLogNewFile() - make writes unbuffered
One line change to add setvbuf(f, NULL, _IONBF, 0) call
after fopen(.., "w");
|