scst: Document CONFIG_SCST_DEBUG_SYSFS_EAGAIN

Signed-off-by: Bart Van Assche <bvanassche@acm.org>



git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@4509 d57e44dd-8a1f-0410-8b47-8ef2f437770f
This commit is contained in:
Vladislav Bolkhovitin
2012-09-08 04:43:07 +00:00
parent 1b9567a1cd
commit 0c9dda7577
2 changed files with 7 additions and 0 deletions

View File

@@ -289,6 +289,12 @@ in/out in Makefile:
circle around ABORTs and RESETs code. Needs CONFIG_SCST_DEBUG turned
on.
- CONFIG_SCST_DEBUG_SYSFS_EAGAIN - if defined, makes three out of four
reads of sysfs attributes fail with -EAGAIN and also makes every sysfs
write fail with -EAGAIN. This is useful to test -EAGAIN handling in user
space tools like e.g. scstadmin. See also the documentation of the
last_sysfs_mgmt_res sysfs attribute for more information.
- CONFIG_SCST_STRICT_SERIALIZING - if defined, makes SCST send all commands to
underlying SCSI device synchronously, one after one. This makes task
management more reliable, with cost of some performance penalty. This

View File

@@ -142,6 +142,7 @@ EXTRA_CFLAGS += -DCONFIG_SCST_DEBUG -g -fno-inline -fno-inline-functions
#EXTRA_CFLAGS += -DCONFIG_SCST_DEBUG_RETRY
#EXTRA_CFLAGS += -DCONFIG_SCST_DEBUG_OOM
#EXTRA_CFLAGS += -DCONFIG_SCST_DEBUG_SN
#EXTRA_CFLAGS += -DCONFIG_SCST_DEBUG_SYSFS_EAGAIN
#EXTRA_CFLAGS += -DCONFIG_SCST_MEASURE_LATENCY