25a4e78bf7a20802fc64dc4368a821be7dc529c3 |
|
11-Apr-2014 |
Jens Axboe <axboe@fb.com> |
blktrace: fix missing line return in dprint() Signed-off-by: Jens Axboe <axboe@fb.com>
/external/fio/blktrace.c
|
b53f2c545d8335380b507bd7281178c25d27ddf0 |
|
09-Apr-2014 |
Jens Axboe <axboe@fb.com> |
Increment open file count manually For engines/logs that manually add files, be sure to increment the open file count. Signed-off-by: Jens Axboe <axboe@fb.com>
/external/fio/blktrace.c
|
eb5fdcf1b045242a6bf4a9b225346c80418f3ab1 |
|
08-Apr-2014 |
Jens Axboe <axboe@fb.com> |
blktrace: probe IO depth Signed-off-by: Jens Axboe <axboe@fb.com>
/external/fio/blktrace.c
|
8edd973d57a311d4c590d7385796bbdf111ed04c |
|
01-Mar-2014 |
Jens Axboe <axboe@fb.com> |
Add runstate swap helpers Signed-off-by: Jens Axboe <axboe@fb.com>
/external/fio/blktrace.c
|
5903e7b7907854014478b6febfc5645a203ff59e |
|
26-Feb-2014 |
Jens Axboe <axboe@fb.com> |
blktrace: load improvements - Set the state explicitly to SETTING_UP when loading the traces. This could take a while, so tell the status thread that we are setting up so it knows how to display us correctly. - Fix a bug with multiple devices where we didn't cache the major/minor properly. This made blktrace spend tons of CPU cycles looking up /sys. - Handle multiple devices correctly when adding files. Signed-off-by: Jens Axboe <axboe@fb.com>
/external/fio/blktrace.c
|
f01b34ae759afccf39c1bf47972e45d91448e7bb |
|
21-Nov-2013 |
Jens Axboe <axboe@kernel.dk> |
Error out gracefully if we don't find the replay device for log replay It would segfault before because no files got added to replay against. Handle this more gracefully and ensure that fio exits with a non-zero exit status. Signed-off-by: Jens Axboe <axboe@kernel.dk>
/external/fio/blktrace.c
|
d95b34a61ec3fc305fe53c0132bfe82e2e5fcc04 |
|
21-Nov-2013 |
Jens Axboe <axboe@kernel.dk> |
blktrace: add support for non-native endian format The blktrace format is stored in the native endianness of the machine it is run on. So to reply traces on a machine with a different endianness, we need to swap the trace fields. Detect and do this automatically. Signed-off-by: Jens Axboe <axboe@kernel.dk>
/external/fio/blktrace.c
|
85a47ca2eeac70bad992556d077f18752098e44f |
|
11-Jun-2012 |
Jens Axboe <axboe@kernel.dk> |
Revert "blktrace: use for_each_file() instead of open coding the loop" There's another bug in where we don't have the number of files in replay mode correctly stored in td->o.nr_files. So revert this until that bug is fixed as well. This reverts commit adfc73488616bac66f910d53c75202d5be8afe87.
/external/fio/blktrace.c
|
adfc73488616bac66f910d53c75202d5be8afe87 |
|
11-Jun-2012 |
Jens Axboe <axboe@kernel.dk> |
blktrace: use for_each_file() instead of open coding the loop Signed-off-by: Jens Axboe <axboe@kernel.dk>
/external/fio/blktrace.c
|
89ac1d48971578ccb0645c292d4a058340aeb909 |
|
11-Jun-2012 |
Shaohua Li <ShLi@fusionio.com> |
Fix "fio: file hash not empty on exit" with blktrace replay There are two problems: 1. blktrace data hasn't file close action 2. redirect file fileno isn't correct Signed-off-by: Jens Axboe <axboe@kernel.dk>
/external/fio/blktrace.c
|
b9fd788f0e8adacc33316107594e9eb0463743d7 |
|
20-Feb-2012 |
Bruce Cran <bruce@cran.org.uk> |
Add OS_PATH_SEPARATOR for platforms which have different path separator characters (e.g. Windows and 'classic' MacOS). Signed-off-by: Jens Axboe <axboe@kernel.dk>
/external/fio/blktrace.c
|
0d29de831183dfd049c97a03008d425ce21e2fa4 |
|
01-Sep-2010 |
Jens Axboe <jaxboe@fusionio.com> |
Add verify trim support Signed-off-by: Jens Axboe <jaxboe@fusionio.com>
/external/fio/blktrace.c
|
d1c46c049cfba2028abc45246e2609bcee52d0f3 |
|
31-Aug-2010 |
David Nellans <dnellans@fusionio.com> |
Add support for redirection replay of blktrace traces to another device Signed-off-by: Jens Axboe <jaxboe@fusionio.com>
/external/fio/blktrace.c
|
ff58fcede39d16a2c642897cbe5a7f28b2da1950 |
|
25-Aug-2010 |
Jens Axboe <jaxboe@fusionio.com> |
Add support for replaying blktrace trim/discard Signed-off-by: Jens Axboe <jaxboe@fusionio.com>
/external/fio/blktrace.c
|
64bbb86598ada3fa401c61aab5ef6c37bec6d6f3 |
|
24-Aug-2010 |
David Nellans <dnellans@fusionio.com> |
Add option to skip delays when replaying traces Signed-off-by: Jens Axboe <jaxboe@fusionio.com>
/external/fio/blktrace.c
|
49ffb4a2e1ac3026d77d9e1c03edc2753fcec41b |
|
24-Aug-2010 |
Jens Axboe <jaxboe@fusionio.com> |
Fix blktrace replay We would add duplicate files, if the open event comes before the add file event. Make sure we return the current index file instead of adding a duplicate, this causes bad file lookups. Signed-off-by: Jens Axboe <jaxboe@fusionio.com>
/external/fio/blktrace.c
|
2da7df1d7d002d11161374ac4f0144521f7be0f0 |
|
01-Aug-2010 |
Jens Axboe <jaxboe@fusionio.com> |
Reduce stack consumption in blktrace load Signed-off-by: Jens Axboe <jaxboe@fusionio.com>
/external/fio/blktrace.c
|
0b9d69ecb14045cf3b2622ae922756b9889b25e6 |
|
11-Sep-2009 |
Jens Axboe <jens.axboe@oracle.com> |
Silence the style/whitespace police Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
/external/fio/blktrace.c
|
01743ee1718e7ec4b16ae3e53c8f64900c6052cc |
|
02-Jun-2008 |
Jens Axboe <jens.axboe@oracle.com> |
Rename list_* function and file to flist_ to avoid conflict with FreeBSD Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
/external/fio/blktrace.c
|
aec2de209564a6951e6c91d653fc99a75508607d |
|
24-Apr-2008 |
Jens Axboe <jens.axboe@oracle.com> |
Kill unused parameters Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
/external/fio/blktrace.c
|
a6edd6383bfa6f85f24080b43722c8af6d80106c |
|
07-Mar-2008 |
Jens Axboe <jens.axboe@oracle.com> |
Silence gcc warning 'delay' wasn't used in that path, but gcc complained. Kill the warning. Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
/external/fio/blktrace.c
|
691c8fb014da9dd82e999a90b5511423f4eee188 |
|
07-Mar-2008 |
Jens Axboe <jens.axboe@oracle.com> |
blktrace improvements and fixups Remove iolog version 1 support, it's just too limited. Version 2 and blktrace manage file events (add,open,close,tc) on their own and we can cleanup the file creation if we kill it. Fixup for_each_file() for no allocated files. Start of handling notify events for blktrace. We don't see program notifications, need to look into that. Properly account io bytes when adding blktrace events, so that the ETA and io count is correct on replay. Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
/external/fio/blktrace.c
|
5b3023b818d5127504b4889f8f718c3cef62700b |
|
07-Mar-2008 |
Jens Axboe <jens.axboe@oracle.com> |
blktrace bits accidentally got committed It was the start of handling notifies correctly, didn't mean to commit them with the previous fix. So roll them out, commit when done. Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
/external/fio/blktrace.c
|
cd991b9e36b18903f1564a4bfafdc83a9f165219 |
|
07-Mar-2008 |
Jens Axboe <jens.axboe@oracle.com> |
Fix bad sscan() -> scanf() conversion Caused fio to stall waiting for disk updates. Also add --debug=diskutil debug option, to trace what diskutil is doing. Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
/external/fio/blktrace.c
|
5ec10eaad3b09875b91e19a20bbdfa06f2117562 |
|
06-Mar-2008 |
Jens Axboe <jens.axboe@oracle.com> |
Style fixups Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
/external/fio/blktrace.c
|
bd6f78b2f0b6375383948f126368804612ec0035 |
|
01-Feb-2008 |
Jens Axboe <jens.axboe@oracle.com> |
Add blktrace and verify debug tracing Also add "all" as a keyword for setting all values, and pretty up the output a bit by justifying and aligning the output. Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
/external/fio/blktrace.c
|
4241ea8fb0606f9bd5b7ed1278d3b7825883acf6 |
|
12-Sep-2007 |
Jens Axboe <jens.axboe@oracle.com> |
Extend --readonly - Never allow open of a data file with writeable bits sets, and that includes extend as well. - Skip any writes in replay logs (iolog/iolog2/blktrace) Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
/external/fio/blktrace.c
|
f3f72c5e0a029a928a09a8ab0fc9ca2dbcf08ae1 |
|
23-Aug-2007 |
Jens Axboe <jens.axboe@oracle.com> |
blktrace: skip notify traces Fio will not interpret them correctly, resulting in weird behaviour (like replaying that seems to hang, but is merely just waiting for a very long time). Fixes the issue reported by Joshua Root. Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
/external/fio/blktrace.c
|
4dced40768378754a156bb3327b10df53cf7eb8c |
|
23-Jul-2007 |
Jens Axboe <jens.axboe@oracle.com> |
Only warn once for blktrace log open failure Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
/external/fio/blktrace.c
|
c69aa91fa88fe1f0372afe2a56c4e79c62fc49e0 |
|
22-May-2007 |
Jens Axboe <jens.axboe@oracle.com> |
Fix build on older systems Avoid conflict with MINOR/MAJOR. Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
/external/fio/blktrace.c
|
eeb9c2aa5439dd6615ad69324f402f774173f6e5 |
|
16-May-2007 |
Jens Axboe <jens.axboe@oracle.com> |
blktrace support: major/minor fixups We get passed the kernel variant, so we need a bit of manual support to untangle it (major() and minor() wont cut it). Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
/external/fio/blktrace.c
|
5e6c20673be9f46332f47ede0e3b657b2cc35ec4 |
|
16-May-2007 |
Jens Axboe <jens.axboe@oracle.com> |
blktrace support: support for looking up a device We can get the device number out of the trace, turn that into a major/minor pair and look it up in /dev. Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
/external/fio/blktrace.c
|
3f3d36166670a447679b308559c681293eb2b857 |
|
16-May-2007 |
Jens Axboe <jens.axboe@oracle.com> |
blktrace support: discard notify messages They are not interesting to us (they contain things like timestamps and process information). Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
/external/fio/blktrace.c
|
f12b323f5d5ca40cd966ebbcfbbfcdf0a1fc229e |
|
16-May-2007 |
Jens Axboe <jens.axboe@oracle.com> |
blktrace support: fixups/cleanups/improvements Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
/external/fio/blktrace.c
|
38470f85fa4acddab4339db9c8805a19bc87578e |
|
16-May-2007 |
Jens Axboe <jens.axboe@oracle.com> |
Fix fifo leak Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
/external/fio/blktrace.c
|
e28875637094451a3c5ec4071f964c1a02dd8f5b |
|
16-May-2007 |
Jens Axboe <jens.axboe@oracle.com> |
blktrace support: speedup reading of data We used to read in data in really small chunks (48 bytes at the time, the size of the trace). This is really slow for large traces, so add a fifo frontend to refill the cache in much larger sizes. Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
/external/fio/blktrace.c
|
d84f8d4931be0c7519bd9f97f9914b07578a9854 |
|
16-May-2007 |
Jens Axboe <jens.axboe@oracle.com> |
blktrace support: adjust largest io_u buffer size to match trace Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
/external/fio/blktrace.c
|
a61eddecca21d19f3f4c297400d6c5d93dc29259 |
|
15-May-2007 |
Jens Axboe <jens.axboe@oracle.com> |
blktrace replay: delay support Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
/external/fio/blktrace.c
|
6df8adaaadb71340b47f2c3e971297b656082ca5 |
|
15-May-2007 |
Jens Axboe <jens.axboe@oracle.com> |
blktrace fixup + documentation Add a little documentation on using blktrace data files. Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
/external/fio/blktrace.c
|
a2eea81b53fc1a71b91b20d82bcadffdd4ecb6cd |
|
15-May-2007 |
Jens Axboe <jens.axboe@oracle.com> |
blktrace support now works One little buglet - the blktrace offset is the sector, not the byte offset. For now it's hardcoded at 512, should really get the value from the device. Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
/external/fio/blktrace.c
|
8c1fdf044083522504685e3009e356c70d003ef0 |
|
15-May-2007 |
Jens Axboe <jens.axboe@oracle.com> |
blktrace support update This should essentially work, except that it will not delay between io but just issue the entries as fast as it can. Missing bits: - Utilize the ipo->delay to suitably delay issuing an io - Extract device name from blktrace file - Document it Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
/external/fio/blktrace.c
|
e7a7d70b476cbb613c031224d8bf4a5c7b7a0acf |
|
15-May-2007 |
Jens Axboe <jens.axboe@oracle.com> |
Fix typo in blktrace code Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
/external/fio/blktrace.c
|
fdefd987d7ba284c7a9e101911c4b8e72fe326ad |
|
15-May-2007 |
Jens Axboe <jens.axboe@oracle.com> |
Some more bits of blktrace support Basic read/write is there. Still need to extract device name from the trace, and check time delays to wait appropriately. Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
/external/fio/blktrace.c
|
fb7b71a3c99b7ead2055439bfea421579aae2691 |
|
15-May-2007 |
Jens Axboe <jens.axboe@oracle.com> |
Initial blktrace support This doesn't work yet, just committing what little bits I did as not to lose them. Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
/external/fio/blktrace.c
|