diff --git a/scst/README b/scst/README index 479f583a3..d012bc60a 100644 --- a/scst/README +++ b/scst/README @@ -658,9 +658,8 @@ A target driver may have also the following entries: exist and contain value 1. Subdirectory "sessions" contains one subdirectory for each connected -session with name equal to name of the connected initiator. - -Each session subdirectory contains the following entries: +session with name equal to name of the connected initiator with the +following entries: - initiator_name - contains initiator name @@ -672,6 +671,31 @@ Each session subdirectory contains the following entries: - commands - contains overall number of SCSI commands in this session. + - read_cmd_count - number of READ SCSI commands received since beginning + or last reset (writing 0 in this attribute) + + - read_io_count_kb - amount of data in KB read by the initiator since + beginning or last reset (writing 0 in this attribute) + + - write_cmd_count - number of WRITE SCSI commands received since + beginning or last reset (writing 0 in this attribute) + + - write_io_count_kb - amount of data in KB written by the initiator + since beginning or last reset (writing 0 in this attribute) + + - bidi_cmd_count - number of BIDI SCSI commands received since + beginning or last reset (writing 0 in this attribute) + + - bidi_io_count_kb - amount of data in KB transferred by the + initiator since beginning or last reset (writing 0 in this attribute) + + - none_cmd_count - number of not transferring data SCSI commands + (e.g. INQUIRY or TEST UNIT READY) received since beginning or last + reset (writing 0 in this attribute) + + - unknown_cmd_count - number of unknown SCSI commands received since + beginning or last reset (writing 0 in this attribute) + - latency - if CONFIG_SCST_MEASURE_LATENCY enabled, contains latency statistics for this session. diff --git a/scst/README_in-tree b/scst/README_in-tree index 55e81d947..b93a434d6 100644 --- a/scst/README_in-tree +++ b/scst/README_in-tree @@ -534,9 +534,8 @@ A target driver may have also the following entries: exist and contain value 1. Subdirectory "sessions" contains one subdirectory for each connected -session with name equal to name of the connected initiator. - -Each session subdirectory contains the following entries: +session with name equal to name of the connected initiator with the +following entries: - initiator_name - contains initiator name @@ -548,6 +547,31 @@ Each session subdirectory contains the following entries: - commands - contains overall number of SCSI commands in this session. + - read_cmd_count - number of READ SCSI commands received since beginning + or last reset (writing 0 in this attribute) + + - read_io_count_kb - amount of data in KB read by the initiator since + beginning or last reset (writing 0 in this attribute) + + - write_cmd_count - number of WRITE SCSI commands received since + beginning or last reset (writing 0 in this attribute) + + - write_io_count_kb - amount of data in KB written by the initiator + since beginning or last reset (writing 0 in this attribute) + + - bidi_cmd_count - number of BIDI SCSI commands received since + beginning or last reset (writing 0 in this attribute) + + - bidi_io_count_kb - amount of data in KB transferred by the + initiator since beginning or last reset (writing 0 in this attribute) + + - none_cmd_count - number of not transferring data SCSI commands + (e.g. INQUIRY or TEST UNIT READY) received since beginning or last + reset (writing 0 in this attribute) + + - unknown_cmd_count - number of unknown SCSI commands received since + beginning or last reset (writing 0 in this attribute) + - latency - if CONFIG_SCST_MEASURE_LATENCY enabled, contains latency statistics for this session.