diff options
author | Robert Love <robert.w.love@intel.com> | 2009-01-14 14:14:32 -0500 |
---|---|---|
committer | James Bottomley <James.Bottomley@HansenPartnership.com> | 2009-03-12 13:57:57 -0400 |
commit | 5ef074161b5bcd84acfe19f0ecd72b74765d8770 (patch) | |
tree | 1f86395bb33b72cd154d9a5adb725d59d1ac2963 /drivers/scsi | |
parent | 0762a4824d6c6f8eb5d2646dfda95581d99afaa5 (diff) |
[SCSI] Improve SCSI_LOGGING Kconfig entry
The Kconfig entry for SCSI_LOGGING refers the reader to
drivers/scsi/scsi.c, but I didn't find any useful information
there. There is certainly logging code in that file, but the
logging types and logging levels are described in
drivers/scsi/scsi_logging.h.
Also, the procfs file referred to in the section is incorrect.
It should be /proc/sys/dev/scsi/logging_level and not
/proc/scsi/scsi.
Signed-off-by: Robert Love <robert.w.love@intel.com>
Signed-off-by: James Bottomley <James.Bottomley@HansenPartnership.com>
Diffstat (limited to 'drivers/scsi')
-rw-r--r-- | drivers/scsi/Kconfig | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/drivers/scsi/Kconfig b/drivers/scsi/Kconfig index 898c2b59592b..601c2a8ec242 100644 --- a/drivers/scsi/Kconfig +++ b/drivers/scsi/Kconfig | |||
@@ -224,14 +224,15 @@ config SCSI_LOGGING | |||
224 | can enable logging by saying Y to "/proc file system support" and | 224 | can enable logging by saying Y to "/proc file system support" and |
225 | "Sysctl support" below and executing the command | 225 | "Sysctl support" below and executing the command |
226 | 226 | ||
227 | echo "scsi log token [level]" > /proc/scsi/scsi | 227 | echo <bitmask> > /proc/sys/dev/scsi/logging_level |
228 | 228 | ||
229 | at boot time after the /proc file system has been mounted. | 229 | where <bitmask> is a four byte value representing the logging type |
230 | and logging level for each type of logging selected. | ||
230 | 231 | ||
231 | There are a number of things that can be used for 'token' (you can | 232 | There are a number of logging types and you can find them in the |
232 | find them in the source: <file:drivers/scsi/scsi.c>), and this | 233 | source at <file:drivers/scsi/scsi_logging.h>. The logging levels |
233 | allows you to select the types of information you want, and the | 234 | are also described in that file and they determine the verbosity of |
234 | level allows you to select the level of verbosity. | 235 | the logging for each logging type. |
235 | 236 | ||
236 | If you say N here, it may be harder to track down some types of SCSI | 237 | If you say N here, it may be harder to track down some types of SCSI |
237 | problems. If you say Y here your kernel will be somewhat larger, but | 238 | problems. If you say Y here your kernel will be somewhat larger, but |