Add json output for client/server mode
authorCastor Fu <castor@alumni.caltech.edu>
Thu, 31 Oct 2013 17:00:34 +0000 (11:00 -0600)
committerJens Axboe <axboe@kernel.dk>
Thu, 31 Oct 2013 17:00:34 +0000 (11:00 -0600)
commit952b05e00103bf45576e1860cde0626bd42ed52a
treedca89d04b01dfbf99d2ea375922446e2fea9eebe
parent8afbf87460396a13e025cdd2203978d137a14a74
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>
client.c
diskutil.c
diskutil.h
json.h
stat.c
stat.h