diff options
author | Namhyung Kim <namhyung@gmail.com> | 2011-08-11 10:36:05 +0200 |
---|---|---|
committer | Jens Axboe <jaxboe@fusionio.com> | 2011-08-11 10:36:05 +0200 |
commit | c09c47caedc9854d59378d6e34c989e51cfdd2b4 (patch) | |
tree | ad7de20c08092cdf1cbbb83625a76acab3b0e2ce /include/scsi/fc_frame.h | |
parent | 8e4bf84474960e832b56293c9b0674c88b5b05ce (diff) |
blktrace: 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
so that the older versions of blktrace tools will report flush
requests as barriers from now on.
Cc: Steven Rostedt <rostedt@goodmis.org>
Cc: Frederic Weisbecker <fweisbec@gmail.com>
Cc: Ingo Molnar <mingo@redhat.com>
Signed-off-by: Namhyung Kim <namhyung@gmail.com>
Reviewed-by: Jeff Moyer <jmoyer@redhat.com>
Signed-off-by: Jens Axboe <jaxboe@fusionio.com>
Diffstat (limited to 'include/scsi/fc_frame.h')
0 files changed, 0 insertions, 0 deletions