Add FLUSH/FUA support
authorNamhyung Kim <namhyung@gmail.com>
Thu, 11 Aug 2011 10:48:07 +0000 (12:48 +0200)
committerJens Axboe <jaxboe@fusionio.com>
Thu, 11 Aug 2011 10:48:07 +0000 (12:48 +0200)
commit344320932064efa7105314d2437027b0733f4631
treea22c553bb493773c894c1b7bb5c365894b06f73e
parentbc5f9ff87cb38ffa3b64ba607e535043eef06d14
Add FLUSH/FUA support

Add FLUSH/FUA support to blktrace. As FLUSH precedes WRITE and/or
FUA follows WRITE, use the same 'F' flag for both cases and
distinguish them by their (relative) position. The end results
look like (other flags might be shown also):

 - WRITE:            W
 - WRITE_FLUSH:      FW
 - WRITE_FUA:        WF
 - WRITE_FLUSH_FUA:  FWF

Note that we reuse TC_BARRIER due to lack of bit space of act_mask.

Signed-off-by: Namhyung Kim <namhyung@gmail.com>
Signed-off-by: Jens Axboe <jaxboe@fusionio.com>
act_mask.c
blkparse_fmt.c
blkrawverify.c
blktrace_api.h