Lines Matching +refs:is +refs:completion +refs:line
6 % This program is free software; you can redistribute it and/or modify
11 % This program is distributed in the hope that it will be useful,
31 blktrace is a block layer IO tracing mechanism which provides detailed
39 you don't need to patch blktrace support as it is already included.
75 A patch for a \emph{specific Linux kernel} is provided in bt/kernel (where
76 \emph{bt} is the name of the directory from the above git sequence). The
77 detailed actual patching instructions for a Linux kernel is outside the
79 Note that you may skip this step, if you kernel is at least 2.6.17-rc1.
138 Now to simply watch what is going on for a specific disk (to stop the
186 A \emph{btrace} script is included in the distribution to ease live
214 The program requested a read of 56 bytes of data, the CDB is included
215 in parenthesis after the data length. The completion event shows shows
222 Another way to run blktrace is to have blktrace save data away for later
338 of the more arcane command line options:
345 command line argument.
352 value that is version-specific. (Requires understanding of the internal
360 \emph{local} directory. The format of the file names is (by default)
361 \emph{device}.blktrace.\emph{cpu}, where \emph{device} is the base
371 …\item The default behaviour for blktrace is to run forever until explicitly killed by the user (vi…
383 \subsection{\label{sec:blktrace-args}Command line arguments}
397 & & (One device per line.) \\ \hline
401 The following masks may be passed with the \emph{-a} command line
403 line options.\smallskip
437 will help in understanding the command line options presented below.
442 of blktrace, and blkparse is combining event streams and dumping
454 \emph{-b} option, the default is to handle events in batches of 512.
470 \newpage\subsection{\label{sec:blkparse-args}Command line arguments}
475 -i \emph{file} & --input=\emph{file} & Specifies base name for input files -- default is…
485 … & & event type. The single-character \emph{typ} field is one of the \\
527 \item[I -- inserted] A request is being sent to the io scheduler for
529 request is fully formed at this time.
557 \item[P -- plug] When io is queued to a previously empty block device
559 added before this data is needed.
574 normal boundary conditions. dm is notably bad at this and will clone
577 \item[A -- remap] For stacked devices, incoming io is remapped to device
578 below it in the io stack. The remap action details what exactly is
611 \emph{u} & Elapsed value in microseconds (\emph{-t} command line option) \\ \hline
620 Thus, to specify the command in a 12-character field that is left aligned:
634 C & IO completion \\ \hline
649 This is a small string containing at least one character ('R' for read,
680 The header is the data in this line up to the 223490 (starting block).
687 \item[C -- complete] If a payload is present, this is presented between
690 If no payload is present, the sector and number of blocks are presented
692 was specified, then the elapsed time is presented. In either case,
693 it is followed by the error value for the completion.
698 \item[B -- bounced] If a payload is present, the number of payload bytes
699 is output, followed by the payload in hexadecimal between parenthesis.
701 If no payload is present, the sector and number of blocks are presented
703 specified, then the elapsed time is presented (in parenthesis). In
704 either case, it is followed by the command associated with the event
710 \item[S -- sleep] The starting sector and number of blocks is output
715 square brackets) is output.
719 (surrounded by square brackets) is output, followed by the number of
723 sector (separated by a slash (/) is output, followed by the command
726 \item[A -- remap] Sector and length is output, along with the original
729 \item[m -- message] The supplied message is appended to the end of
741 blktrace utilizes in the kernel to effect this. It is good background data
742 to help understand some of the outputs and command-line options above.
759 BLK\_TA\_PLUG & Device is plugged \\ \hline
760 BLK\_TA\_UNPLUG\_IO & Unplug device as IO is made available. \\ \hline
778 the request\_queue state, and is one of the request queue action
785 describes the action being performed on the BIO, and is one of
792 performed on the BIO (if bio is non-NULL), and is one of
799 describes the nature of the payload, and is one of