mirror of
https://github.com/SCST-project/scst.git
synced 2026-08-18 05:06:31 +00:00
Removed trailing whitespace.
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@1566 d57e44dd-8a1f-0410-8b47-8ef2f437770f
This commit is contained in:
+13
-13
@@ -221,19 +221,19 @@ echo "add disk1 0" >/sys/kernel/scst_tgt/targets/iscsi/iqn.2006-10.net.vlnb:tgt/
|
||||
echo "add cdrom 1" >/sys/kernel/scst_tgt/targets/iscsi/iqn.2006-10.net.vlnb:tgt/luns/mgmt
|
||||
|
||||
echo "add_target iqn.2006-10.net.vlnb:tgt1" >/sys/kernel/scst_tgt/targets/iscsi/mgmt
|
||||
echo "add_target_attribute iqn.2006-10.net.vlnb:tgt1 IncomingUser1 joe2 12charsecret2" >/sys/kernel/scst_tgt/targets/iscsi/mgmt
|
||||
echo "add_target_attribute iqn.2006-10.net.vlnb:tgt1 IncomingUser joe 12charsecret" >/sys/kernel/scst_tgt/targets/iscsi/mgmt
|
||||
echo "add_target_attribute iqn.2006-10.net.vlnb:tgt1 OutgoingUser jim1 12charpasswd" >/sys/kernel/scst_tgt/targets/iscsi/mgmt
|
||||
echo "No" >/sys/kernel/scst_tgt/targets/iscsi/iqn.2006-10.net.vlnb:tgt1/InitialR2T
|
||||
echo "Yes" >/sys/kernel/scst_tgt/targets/iscsi/iqn.2006-10.net.vlnb:tgt1/ImmediateData
|
||||
echo "8192" >/sys/kernel/scst_tgt/targets/iscsi/iqn.2006-10.net.vlnb:tgt1/MaxRecvDataSegmentLength
|
||||
echo "8192" >/sys/kernel/scst_tgt/targets/iscsi/iqn.2006-10.net.vlnb:tgt1/MaxXmitDataSegmentLength
|
||||
echo "131072" >/sys/kernel/scst_tgt/targets/iscsi/iqn.2006-10.net.vlnb:tgt1/MaxBurstLength
|
||||
echo "32768" >/sys/kernel/scst_tgt/targets/iscsi/iqn.2006-10.net.vlnb:tgt1/FirstBurstLength
|
||||
echo "1" >/sys/kernel/scst_tgt/targets/iscsi/iqn.2006-10.net.vlnb:tgt1/MaxOutstandingR2T
|
||||
echo "CRC32C,None" >/sys/kernel/scst_tgt/targets/iscsi/iqn.2006-10.net.vlnb:tgt1/HeaderDigest
|
||||
echo "CRC32C,None" >/sys/kernel/scst_tgt/targets/iscsi/iqn.2006-10.net.vlnb:tgt1/DataDigest
|
||||
echo "32" >/sys/kernel/scst_tgt/targets/iscsi/iqn.2006-10.net.vlnb:tgt1/QueuedCommands
|
||||
echo "add_target_attribute iqn.2006-10.net.vlnb:tgt1 IncomingUser1 joe2 12charsecret2" >/sys/kernel/scst_tgt/targets/iscsi/mgmt
|
||||
echo "add_target_attribute iqn.2006-10.net.vlnb:tgt1 IncomingUser joe 12charsecret" >/sys/kernel/scst_tgt/targets/iscsi/mgmt
|
||||
echo "add_target_attribute iqn.2006-10.net.vlnb:tgt1 OutgoingUser jim1 12charpasswd" >/sys/kernel/scst_tgt/targets/iscsi/mgmt
|
||||
echo "No" >/sys/kernel/scst_tgt/targets/iscsi/iqn.2006-10.net.vlnb:tgt1/InitialR2T
|
||||
echo "Yes" >/sys/kernel/scst_tgt/targets/iscsi/iqn.2006-10.net.vlnb:tgt1/ImmediateData
|
||||
echo "8192" >/sys/kernel/scst_tgt/targets/iscsi/iqn.2006-10.net.vlnb:tgt1/MaxRecvDataSegmentLength
|
||||
echo "8192" >/sys/kernel/scst_tgt/targets/iscsi/iqn.2006-10.net.vlnb:tgt1/MaxXmitDataSegmentLength
|
||||
echo "131072" >/sys/kernel/scst_tgt/targets/iscsi/iqn.2006-10.net.vlnb:tgt1/MaxBurstLength
|
||||
echo "32768" >/sys/kernel/scst_tgt/targets/iscsi/iqn.2006-10.net.vlnb:tgt1/FirstBurstLength
|
||||
echo "1" >/sys/kernel/scst_tgt/targets/iscsi/iqn.2006-10.net.vlnb:tgt1/MaxOutstandingR2T
|
||||
echo "CRC32C,None" >/sys/kernel/scst_tgt/targets/iscsi/iqn.2006-10.net.vlnb:tgt1/HeaderDigest
|
||||
echo "CRC32C,None" >/sys/kernel/scst_tgt/targets/iscsi/iqn.2006-10.net.vlnb:tgt1/DataDigest
|
||||
echo "32" >/sys/kernel/scst_tgt/targets/iscsi/iqn.2006-10.net.vlnb:tgt1/QueuedCommands
|
||||
|
||||
echo "add disk2 0" >/sys/kernel/scst_tgt/targets/iscsi/iqn.2006-10.net.vlnb:tgt1/luns/mgmt
|
||||
echo "add nullio 26" >/sys/kernel/scst_tgt/targets/iscsi/iqn.2006-10.net.vlnb:tgt1/luns/mgmt
|
||||
|
||||
+1
-1
@@ -23,7 +23,7 @@ building the kernel source tree in /usr/src/redhat/SOURCES/.
|
||||
- The kernel source tree can now be built by running the commands
|
||||
below. These commands will not only create a kernel source tree but will
|
||||
also install a kernel .config file:
|
||||
|
||||
|
||||
yum install unifdef
|
||||
rm -rf /usr/src/redhat/BUILD
|
||||
mkdir -p /usr/src/redhat/BUILD
|
||||
|
||||
+7
-7
@@ -571,7 +571,7 @@ Standard SCST dev handlers have at least the following common entries:
|
||||
threads. Valid only if threads_num attribute >0.
|
||||
|
||||
- type - SCSI type of this device
|
||||
|
||||
|
||||
See below for more information about other entries of this subdirectory
|
||||
of the standard SCST dev handlers.
|
||||
|
||||
@@ -603,7 +603,7 @@ of the standard SCST dev handlers.
|
||||
has the following entries:
|
||||
|
||||
- None, one or more subdirectories for each existing SGV cache.
|
||||
|
||||
|
||||
- global_stats - file containing global SGV caches statistics.
|
||||
|
||||
Each SGV cache's subdirectory has the following item:
|
||||
@@ -803,7 +803,7 @@ looking inside this file.
|
||||
DEST_GROUP_NAME.
|
||||
|
||||
- "clear" - deletes all initiators from this group.
|
||||
|
||||
|
||||
For "add" and "del" commands INITIATOR_NAME can be a simple DOS-type
|
||||
patterns, containing '*' and '?' symbols. '*' means match all any
|
||||
symbols, '?' means match only any single symbol. For instance,
|
||||
@@ -1071,7 +1071,7 @@ For example:
|
||||
|
||||
echo "add_device disk1 filename=/disk1; blocksize=4096; nv_cache=1" >/sys/kernel/scst_tgt/handlers/vdisk_fileio/mgmt
|
||||
|
||||
will create a FILEIO virtual device disk1 with backend file /disk1
|
||||
will create a FILEIO virtual device disk1 with backend file /disk1
|
||||
with block size 4K and NV_CACHE enabled.
|
||||
|
||||
Each vdisk_fileio's device has the following attributes in
|
||||
@@ -1236,7 +1236,7 @@ using "barrier=1" and "barrier=flush" mount options correspondingly. You
|
||||
can check if the barriers turn on or off by looking in /proc/mounts.
|
||||
Windows and, AFAIK, other UNIX'es don't need any special explicit
|
||||
options and do necessary barrier actions on write-back caching devices
|
||||
by default.
|
||||
by default.
|
||||
|
||||
But even in case of journaled file systems your unsaved cached data will
|
||||
still be lost in case of power/hardware/software failures, so you may
|
||||
@@ -1295,7 +1295,7 @@ Pass-through mode
|
||||
In the pass-through mode (i.e. using the pass-through device handlers
|
||||
scst_disk, scst_tape, etc) SCSI commands, coming from remote initiators,
|
||||
are passed to local SCSI devices on target as is, without any
|
||||
modifications.
|
||||
modifications.
|
||||
|
||||
In the SYSFS interface all real SCSI devices are listed in
|
||||
/sys/kernel/scst_tgt/devices in form host:channel:id:lun numbers, for
|
||||
@@ -1334,7 +1334,7 @@ be bigger, than corresponding values of the corresponding SCSI devices
|
||||
on the target. Otherwise you will see symptoms like small transfers work
|
||||
well, but large ones stall and messages like: "Unable to complete
|
||||
command due to SG IO count limitation" are printed in the kernel logs.
|
||||
|
||||
|
||||
You can't control from the user space limit of the scatter-gather
|
||||
segments, but for block devices usually it is sufficient if you set on
|
||||
the initiators /sys/block/DEVICE_NAME/queue/max_sectors_kb in the same
|
||||
|
||||
Reference in New Issue
Block a user