[Stgt-devel] [PATCH] head and data digest
FUJITA Tomonori
fujita.tomonori
Mon Apr 23 00:21:27 CEST 2007
From: Albert Pauw <albert.pauw at gmail.com>
Subject: Re: [Stgt-devel] [PATCH] head and data digest
Date: Sun, 22 Apr 2007 17:39:26 +0200
> I set HeaderDigest to CRC32C on the disk target:
Do you enable the features? Here's an example:
root at ac:~/git# ./tgt/usr/tgtadm --op show --mode target --tid 1
MaxRecvDataSegmentLength=8192
MaxXmitDataSegmentLength=8192
HeaderDigest=None
DataDigest=None
InitialR2T=Yes
MaxOutstandingR2T=1
ImmediateData=Yes
FirstBurstLength=65536
MaxBurstLength=262144
DataPDUInOrder=Yes
DataSequenceInOrder=Yes
ErrorRecoveryLevel=0
IFMarker=No
OFMarker=No
DefaultTime2Wait=2
DefaultTime2Retain=20
OFMarkInt=Reject
IFMarkInt=Reject
MaxConnections=1
root at ac:~/git# ./tgt/usr/tgtadm --op update --mode target --tid 1 -n HeaderDigest -v CRC32C
root at ac:~/git# ./tgt/usr/tgtadm --op update --mode target --tid 1 -n DataDigest -v CRC32C
root at ac:~/git# ./tgt/usr/tgtadm --op show --mode target --tid 1
MaxRecvDataSegmentLength=8192
MaxXmitDataSegmentLength=8192
HeaderDigest=CRC32C
DataDigest=CRC32C
InitialR2T=Yes
MaxOutstandingR2T=1
ImmediateData=Yes
FirstBurstLength=65536
MaxBurstLength=262144
DataPDUInOrder=Yes
DataSequenceInOrder=Yes
ErrorRecoveryLevel=0
IFMarker=No
OFMarker=No
DefaultTime2Wait=2
DefaultTime2Retain=20
OFMarkInt=Reject
IFMarkInt=Reject
MaxConnections=1
With this configuration, the target accepts CRC32C and
None. Currently, there is no way to configure a target to accept only
CRC32C.
If it still doesn't work for you, please send the tcpdump log during a
login process.
More information about the stgt
mailing list