a2ba41edb1d278237a5990c4860291b35463f231 |
|
14-Apr-2014 |
Jens Axboe <axboe@fb.com> |
disk util: fix bug in strncpy() conversion Signed-off-by: Jens Axboe <axboe@fb.com>
/external/fio/diskutil.c
|
9edf7b3ed581a61433ad620d457b4d0349115e52 |
|
14-Apr-2014 |
Jens Axboe <axboe@fb.com> |
diskutil: make it clear that parent != NULL for json output Signed-off-by: Jens Axboe <axboe@fb.com>
/external/fio/diskutil.c
|
a3b4cf7dcae447729f0f4a4ea122f605b909ed70 |
|
11-Apr-2014 |
Jens Axboe <axboe@fb.com> |
diskutil: separate out stats from name Signed-off-by: Jens Axboe <axboe@fb.com>
/external/fio/diskutil.c
|
18ef0638590c8baf153d93ab7a6da7f85d07b6ef |
|
11-Apr-2014 |
Jens Axboe <axboe@fb.com> |
Fix potentially unterminated string after strncpy() call Signed-off-by: Jens Axboe <axboe@fb.com>
/external/fio/diskutil.c
|
f0cc675fd0a5902f3637a91024082d2d24a665a7 |
|
11-Apr-2014 |
Jens Axboe <axboe@fb.com> |
Fix leak of directory handle in find_add_disk_slaves() error case Signed-off-by: Jens Axboe <axboe@fb.com>
/external/fio/diskutil.c
|
976406b8a0d823f053400178b7b86f32a973762d |
|
09-Apr-2014 |
Jens Axboe <axboe@fb.com> |
diskutil: fix potential out-of-bounds array write Signed-off-by: Jens Axboe <axboe@fb.com>
/external/fio/diskutil.c
|
10aa136bddbaa7c845ab4eacb4a9a4a88d6657a3 |
|
02-Apr-2014 |
Jens Axboe <axboe@fb.com> |
Cleanup symbols that should be static Run analysis on symbols not used outside of their current file, turn them into statics. Signed-off-by: Jens Axboe <axboe@fb.com>
/external/fio/diskutil.c
|
952b05e00103bf45576e1860cde0626bd42ed52a |
|
31-Oct-2013 |
Castor Fu <castor@alumni.caltech.edu> |
Add json output for client/server mode In client/server mode, this adds support for json mode. Each job's details are gradually accumulated and upon completion the client dumps the full json tree. The tree is annotated with the server host and port. Signed-off-by: Castor Fu <castor@alumni.caltech.edu> Signed-off-by: Jens Axboe <axboe@kernel.dk>
/external/fio/diskutil.c
|
fba5c5ff89163062922c3e560e871c087f2177c3 |
|
29-Jan-2013 |
Jens Axboe <axboe@kernel.dk> |
smalloc: alloc failure cleanups Signed-off-by: Jens Axboe <axboe@kernel.dk>
/external/fio/diskutil.c
|
4b919f7740f4875d73c0619a08d269d5c679e19f |
|
29-Jan-2013 |
Ken Raeburn <raeburn@permabit.com> |
Fix crash with absurdly but not impossibly deeply nested device stacks Use the proper PATH_MAX for the max path for disk util, and use snprintf() to avoid potentially overwriting it. Modified by Jens to return NULL instead of exiting. Signed-off-by: Jens Axboe <axboe@kernel.dk>
/external/fio/diskutil.c
|
aeb32dfccbd052965b0e50714c12265551f61a00 |
|
08-Oct-2012 |
Jens Axboe <axboe@kernel.dk> |
Fix confusion between terse and json output It'd segfault trying to use json when it wasn't supposed to, since we didn't have the parent set up appropriately. Signed-off-by: Jens Axboe <axboe@kernel.dk>
/external/fio/diskutil.c
|
27357187b0899380bae5c6748f2b2d034502e162 |
|
27-Sep-2012 |
Jens Axboe <axboe@kernel.dk> |
Fix segfault race on exit for platforms that don't have disk util support We still need to quisce the disk util thread, as it also functions as the runtime ETA status printer. Signed-off-by: Jens Axboe <axboe@kernel.dk>
/external/fio/diskutil.c
|
cc372b17f2827e89da79241f1bbaca1e7c650611 |
|
17-Sep-2012 |
Shaohua Li <shli@fusionio.com> |
Add a simple json encoder and use it to print fio output in json format Signed-off-by: Jens Axboe <axboe@kernel.dk>
/external/fio/diskutil.c
|
521da527743088a9bd2ab882f8b64799d49d5848 |
|
02-Aug-2012 |
Jens Axboe <axboe@kernel.dk> |
mutex: make 0/1 FIO_MUTEX_LOCKED and FIO_MUTEX_UNLOCKED Makes the API look cleaner. Signed-off-by: Jens Axboe <axboe@kernel.dk>
/external/fio/diskutil.c
|
9ec7779f89d4dde9fe1e23d68abaefda54b35de7 |
|
02-Aug-2012 |
Jens Axboe <axboe@kernel.dk> |
diskutil: ensure that we lock around disk_list access And also ensure that before we free the disk util structures, we wait for the disk util thread to exit. This is v2 of the patch. Commit feb41855 had a bug where it would deadlock on the disk_util_mutex, when handling drives that had slaves (lvm/md). Signed-off-by: Jens Axboe <axboe@kernel.dk>
/external/fio/diskutil.c
|
99614958d743d0fdea9b1875d3a41a5a51e9769d |
|
01-Aug-2012 |
Jens Axboe <axboe@kernel.dk> |
Revert "diskutil: ensure that we lock around disk_list access" This reverts commit feb418556a236aa041a625b083d6b99e55d23d74. It causes hangs, needs further testing.
/external/fio/diskutil.c
|
feb418556a236aa041a625b083d6b99e55d23d74 |
|
01-Aug-2012 |
Jens Axboe <axboe@kernel.dk> |
diskutil: ensure that we lock around disk_list access And also ensure that before we free the disk util structures, we wait for the disk util thread to exit. Signed-off-by: Jens Axboe <axboe@kernel.dk>
/external/fio/diskutil.c
|
93bcfd20e37cef8cec350fe06d3a086724c9f257 |
|
20-Feb-2012 |
Bruce Cran <bruce@cran.org.uk> |
Move Windows port to MinGW - Add calls to WSAStartup in the network code as required by Winsock. - Add Windows-specific init_random_state function which uses the Crypto API. - Move Windows port to MinGW and update build system to create a 64-bit binary by default. - Install text files as .rtf so they won't open in Notepad by default (Wordpad understands Unix line endings; Notepad doesn't). - Simplify WiX installer code. Signed-off-by: Jens Axboe <axboe@kernel.dk>
/external/fio/diskutil.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/diskutil.c
|
f1d64553c9dc0e99c038cf3a5f0cb2a50026e7d3 |
|
10-Feb-2012 |
Jens Axboe <axboe@kernel.dk> |
Slave aggregate output format fix Signed-off-by: Jens Axboe <axboe@kernel.dk>
/external/fio/diskutil.c
|
97b007ec1428ae434790d64cf528a9b101d1265d |
|
10-Feb-2012 |
Jens Axboe <axboe@kernel.dk> |
Fix missing ';' before slave disk utilization in terse output Signed-off-by: Jens Axboe <axboe@kernel.dk>
/external/fio/diskutil.c
|
6914f59e5e3560325dc8892c9f77689df7b9aa8b |
|
03-Feb-2012 |
Jens Axboe <axboe@kernel.dk> |
Avoid divide-by-zero for disk util on 0 msec runtime Signed-off-by: Jens Axboe <axboe@kernel.dk>
/external/fio/diskutil.c
|
3d7cd9b4c2570548bebfae4871c3ca068c5a29fe |
|
18-Oct-2011 |
Jens Axboe <axboe@kernel.dk> |
Fix error in disk util stats for terse output Signed-off-by: Jens Axboe <axboe@kernel.dk>
/external/fio/diskutil.c
|
f2f788dd732d97c2c3a5f5dd93223a7bfafcc410 |
|
13-Oct-2011 |
Jens Axboe <axboe@kernel.dk> |
Add disk utilization to terse format output Signed-off-by: Jens Axboe <axboe@kernel.dk>
/external/fio/diskutil.c
|
d09a64a01a6c807596e9286c93f6c6f30fd2ea26 |
|
13-Oct-2011 |
Jens Axboe <axboe@kernel.dk> |
client/server: add support for passing disk_util structures Signed-off-by: Jens Axboe <axboe@kernel.dk>
/external/fio/diskutil.c
|
b8fefc2b27591449b75e946da781342f616fae14 |
|
08-Sep-2011 |
Jens Axboe <jaxboe@fusionio.com> |
Style fixup Signed-off-by: Jens Axboe <jaxboe@fusionio.com>
/external/fio/diskutil.c
|
b8d541d5705ef74307277d541ca9153ab8844096 |
|
21-Jun-2010 |
Jens Axboe <jaxboe@fusionio.com> |
Fix disk util for slaves Signed-off-by: Jens Axboe <jaxboe@fusionio.com>
/external/fio/diskutil.c
|
90b97ac3bc4368b79300207c796bcfbb828d07b9 |
|
21-Jun-2010 |
Jens Axboe <jaxboe@fusionio.com> |
Do diskutil check earlier Signed-off-by: Jens Axboe <jaxboe@fusionio.com>
/external/fio/diskutil.c
|
631c95e0ef133f5a1b014deea4f9cebcb1cd4446 |
|
01-Oct-2009 |
Jens Axboe <jens.axboe@oracle.com> |
Revert "Fix disk utilization for md/dm slaves" This reverts commit f03f8e473b7c8a5c4ed2de0b99717cf75521bf69.
/external/fio/diskutil.c
|
f03f8e473b7c8a5c4ed2de0b99717cf75521bf69 |
|
01-Oct-2009 |
Jens Axboe <jens.axboe@oracle.com> |
Fix disk utilization for md/dm slaves Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
/external/fio/diskutil.c
|
2db4ecca2d502c6d26386b5eb918a7957d98afb7 |
|
11-Sep-2009 |
Jens Axboe <jens.axboe@oracle.com> |
Cleanup diskutil.c Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
/external/fio/diskutil.c
|
b06de82e3b075874733dd233571499c1c1ca453c |
|
11-Sep-2009 |
Alan D. Brunelle <alan.brunelle@hp.com> |
Bug fix: handles disk device used multiple times There were issues in having the same underlying device being referenced multiple times (via different paths) when reporting storage I/O statistics. As an example: having two (or more) LVM2/DM volumes crafted out of the same MD array. This patch simply skips over any devices previously seen. Signed-off-by: Alan D. Brunelle <alan.brunelle@hp.com> Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
/external/fio/diskutil.c
|
7c9b1bce094d58c374b086bbb780c08265623ea4 |
|
03-Jun-2009 |
Jens Axboe <jens.axboe@oracle.com> |
Split off diskutil include Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
/external/fio/diskutil.c
|
c97bd0fa0f68d924f4e6f3c480f380c4ca20b872 |
|
27-May-2009 |
Jens Axboe <jens.axboe@oracle.com> |
Increase accuracy of disk utility percentage If a job file contains more than one job that works on separate disks, then the job that finishes first will get more idle time accounted to it. Fix this by only doing disk util stats when we have files open on that device. Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
/external/fio/diskutil.c
|
5e28df3cb6fb0c6bda2d8f98084734462be7ae46 |
|
30-Sep-2008 |
Jens Axboe <jens.axboe@oracle.com> |
Fix missing initialization of merge/io counts Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
/external/fio/diskutil.c
|
043b74b9ddba4cc7ecb876ca41b7daa7d1ec5da3 |
|
30-Sep-2008 |
Shehjar Tikoo <shehjart@gelato.unsw.edu.au> |
Aggregate slave device stats into the stats for master. But do so by adding new fields in the stats line. We dont want the existing output format to get clobbered. The new fields in master device line which contain aggregated stats start with "aggr". Signed-off-by: Shehjar Tikoo <shehjart@gelato.unsw.edu.au> Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
/external/fio/diskutil.c
|
6742301361b7eeded19656ac18a09fde33122b74 |
|
30-Sep-2008 |
Shehjar Tikoo <shehjart@gelato.unsw.edu.au> |
Add support to display slave device stats for software RAIDs. When running tests on a device created using mdadm, the relevant disk statistics must also come from the individual disks that constitute the RAID, because the software RAID device is just a virtual device. This patch goes through the 'slaves' directory in the software RAID device's directory in /sys/block, gets a list of all the slave devices and creates a master-slave relationship between the virtual device and the actual disks. The individual slave disks' stats are displayed along with the master's disk stats at the end of the test. Signed-off-by: Shehjar Tikoo <shehjart@gelato.unsw.edu.au> Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
/external/fio/diskutil.c
|
ac0be2acff3864979e5e260d332d25ca90e22417 |
|
06-Jun-2008 |
Jens Axboe <jens.axboe@oracle.com> |
Linux sysfs change broke fio disk lookup /sys/block/<dev> is now a sym link to the real path, which broke our disk lookup. Fix it. Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
/external/fio/diskutil.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/diskutil.c
|
ccb0fa24f0ff37f9270754ea5a1b66de9fd7053e |
|
30-May-2008 |
Jens Axboe <jens.axboe@oracle.com> |
Seperate status timer setup from disk util timer It's still the same timer and shared, but move it out of diskutil so we get proper status reporting on non-Linux. We also need to rearm the signal handlers on each signal. Move this to sigaction() next. Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
/external/fio/diskutil.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/diskutil.c
|
5ec10eaad3b09875b91e19a20bbdfa06f2117562 |
|
06-Mar-2008 |
Jens Axboe <jens.axboe@oracle.com> |
Style fixups Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
/external/fio/diskutil.c
|
0a839f308177e95c4c45c41ee1d4fa2b8f231f24 |
|
26-Apr-2007 |
Jens Axboe <jens.axboe@oracle.com> |
Disk stat improvements Add an option to disable the disk stats. And only dump the disk stat header, if we actually have stats to show. Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
/external/fio/diskutil.c
|
8cc7afa91ddc5a0980b9d2dbfdd66e1511a0d4b1 |
|
17-Apr-2007 |
Jens Axboe <jens.axboe@oracle.com> |
Better checks for disk util init Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
/external/fio/diskutil.c
|
e11c410cbd60400c10d92d0115880c6e5728aa4e |
|
04-Apr-2007 |
Jens Axboe <jens.axboe@oracle.com> |
Fix sysfs_root assignment with multiple identical devices Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
/external/fio/diskutil.c
|
9f8f2064bcb196c10c9d3a2b64b951d796af22b5 |
|
02-Apr-2007 |
Jens Axboe <jens.axboe@oracle.com> |
Seperate disk util code out of fio.c It's only used if FIO_HAVE_DISK_UTIL is set. Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
/external/fio/diskutil.c
|