Skip to contentSkip to conversation

Recent changes (master)

PATCH Jens Axboe 1 participant 1 message Nov 12, 2015

lore
Share & tools
lore

Jens Axboe

author
#0 lore raw

The following changes since commit ced5db250347606cbd966d28cd193cc9f0880dff:

Fix verification error with bsrange and split read/write phase (2015-11-10 18:13:40 -0700)

are available in the git repository at:

git://git.kernel.dk/fio.git master

for you to fetch changes up to 236d24dff4826a469d2e980c2b71c2adba3b907e:

json output fixups (2015-11-11 11:26:37 -0700)

----------------------------------------------------------------
Vincent Fu (1):
json output fixups

 diskutil.c | 2 +-
 idletime.c | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

---

Diff of recent changes:

diskutil.c +1 -1
index f83fc47..c3181b5 100644
@@ -714,7 +714,7 @@ void show_disk_util(int terse, struct json_object *parent,
 
 	if (output_format & FIO_OUTPUT_JSON)
 		json_object_add_disk_utils(parent, &disk_list);
-	if (output_format & ~(FIO_OUTPUT_JSON)) {
+	if (output_format & ~(FIO_OUTPUT_JSON | FIO_OUTPUT_JSON_PLUS)) {
 		flist_for_each(entry, &disk_list) {
 			du = flist_entry(entry, struct disk_util, list);
 
idletime.c +1 -1
index 5cc8b65..fab43c5 100644
@@ -481,7 +481,7 @@ void show_idle_prof_stats(int output, struct json_object *parent,
 		return;
 	}
 
-	if ((ipc.opt != IDLE_PROF_OPT_NONE) && (output == FIO_OUTPUT_JSON)) {
+	if ((ipc.opt != IDLE_PROF_OPT_NONE) && (output & FIO_OUTPUT_JSON)) {
 		if (!parent)
 			return;