Re: hang during COMPARE AND SWAP

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, 2015-03-30 at 04:21 -0700, Christoph Hellwig wrote:
> When runing the libiscsi test suite from
> git://github.com/sahlberg/libiscsi I get a hang early on with the
> target/for-next branch:
> 
> root@vm:~/libiscsi# ./test-tool/iscsi-test-cu --test LINUX.*.* /dev/sg3 --dataloss
>     [SKIPPED] REPORT_SUPPORTED_OPCODES is not implemented.
> Bus transfer size is limited to 33550336 bytes. Clamping max transfers accordingly.
> 
> 
> 
>      CUnit - A Unit testing framework for C - Version 2.1-0
>      http://cunit.sourceforge.net/
> 
> 
> Suite: CompareAndWrite
>   Test: Simple ... [  109.370294] ABORT_TASK: Found referenced loopback task_tag: 0
> [  109.370854] ABORT_TASK: ref_tag: 0 already complete, skipping
> [  109.371381] ABORT_TASK: Sending TMR_TASK_DOES_NOT_EXIST for ref_tag: 0
>     [FAILED] Failed to send COMPAREANDWRITE command: SCSI driver error
> FAILED
>     1. test_compareandwrite_simple.c:99  - CU_ASSERT_EQUAL(ret,0)
>     2. test_compareandwrite_simple.c:113  - CU_FAIL("Block was not written correctly")
>   Test: DpoFua ... [  109.374181] TARGET_CORE[loopback]: Expected Transfer Length: 512 does not match SCSI CDB Length: 0 for SAM Opcode: 0x89
> [  109.376482] Rejecting underflow/overflow WRITE data

Ok, the verified bugfix for this one just went out to the list:

http://permalink.gmane.org/gmane.linux.scsi.target.devel/8406

Queuing this one up for v3.12.y stable.

Thanks for reporting.

--nab

--
To unsubscribe from this list: send the line "unsubscribe target-devel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Linux SCSI]     [Kernel Newbies]     [Linux SCSI Target Infrastructure]     [Share Photos]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Linux IIO]     [Device Mapper]

  Powered by Linux