- Support for per-target default security groups added
- FILEIO made multithreaded
- BLOCKIO made async
- Other improvements, fixes and cleanups
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@121 d57e44dd-8a1f-0410-8b47-8ef2f437770f
and scst_mgmt_translate_lun() was changed to a hash-based one, thanks
to Michael G. Byrnes.
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@116 d57e44dd-8a1f-0410-8b47-8ef2f437770f
- Use submit_bio() instead of generic_make_request
- Fixes case, when exported device blocksize >512
Seems, BLOCKIO works now, although the following not done yet:
1. BLOCKIO version vdisk_exec_verify(). It is basically the same as for the plain read, but it should read in own local data buffer and compare data with the command's ones, if requested.
2. There is a need for test on the underlying device with blocksize >512.
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@99 d57e44dd-8a1f-0410-8b47-8ef2f437770f
- Support for partial data transfers added
- Support asynchronous commands completions added
- Few important notes added
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@92 d57e44dd-8a1f-0410-8b47-8ef2f437770f
This patch fixes a race condition where a pointer to the just-finished SCST command would interfere with the incoming target
command.
Also, printing out TargetStatusSendReq IOCStatus is now done in debug/tracing mode if we're a SCSI device and the expected "error" case for attempting to send simultaneous status and sense is triggered.
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@86 d57e44dd-8a1f-0410-8b47-8ef2f437770f
initiator doesn't see the target and puts in the kernel log messages like that:
qla2300 0000:02:03.0: scsi(6:0:0): Abort command issued -- a 2002.
6:0:0:0: scsi: Device offlined - not ready after error recovery
6:0:0:0: rejecting I/O to offline device
All it does is move the enabling of target mode to the end of the
applyConfiguration subroutine. The key seems to be that target mode must
be enabled after SCST device and group assignments are configured.
From Brad Johnson <bjohnson@proficientsolutionsinc.com>
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@85 d57e44dd-8a1f-0410-8b47-8ef2f437770f
Feature bits is set, indicating to the name server that this is an
initiator. The attached patch sets BIT_0 instead if target mode is
enabled, indicating target mode support to the name server. (See the
INCITS FC-GS-4 document). This fixed many of my problems relating to
working with a switch fabric, including the discovery and addition of
the initiator ports in the fcports list.
From Brad Johnson <bjohnson@proficientsolutionsinc.com>
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@84 d57e44dd-8a1f-0410-8b47-8ef2f437770f
remove the lockdep's warning about "trying to register
- Ability to trace SYNCHRONIZE_CACHE, FUA and ORDERED commands added to
FILEIO
- NULLIO for FILEIO doesn't require anymore path to a real file/device
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@82 d57e44dd-8a1f-0410-8b47-8ef2f437770f
- corrects the amount of data transferred when cached sense data is used to satisfy a REQUEST SENSE command.
- removes support for non scatterlist buffers in scst_cmd (sg_cnt == 0).
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@81 d57e44dd-8a1f-0410-8b47-8ef2f437770f