summaryrefslogtreecommitdiffstats
path: root/sys/cam
Commit message (Collapse)AuthorAgeFilesLines
...
* Make HA peers announce their parameters on connect.mav2015-09-234-7/+99
| | | | | | | HA protocol requires strict version, parameters and configuration match. Differences there may cause full set of problems up to kernel panic. To avoid that, validate peer parameters on connect, and abort connection immediately if some mismatch detected.
* Add support for Control extension mode page.mav2015-09-223-27/+94
|
* Remove duplicate and incomplete code handling LUN modify.mav2015-09-221-85/+2
| | | | | Instead reuse code from LUN creation. This allows most of LUN media options to be changed live with modify request without full restart.
* Log iSCSI session reinstatements.mav2015-09-211-0/+10
| | | | | False session reinstatements can be result of misconfiguration, when several initiators use the same initiator name and ISID.
* Mark with DMA flag I/Os waiting for iSCSI write data after R2T.mav2015-09-201-0/+5
| | | | Reads and immediate writes are not blocking, so don't bother.
* Remove couple excess SGLIST I/O flags.mav2015-09-206-7/+4
| | | | Those flags duplicated respective (sg_entries > 0) values.
* Always execute REPORT LUNS and REQUEST SENSE commands locally.mav2015-09-192-5/+8
| | | | | | | | | REPORT LUNS command is more related to target rather then specific LUN. This node may be primary for LUNs for some reason unknown to another, and command forwarded to another node won't be able to report them. REQUEST SENSE is related to LUN, but in our implementation it reports only UAs and CAs, that are stored locally rather then on primary node.
* Split two command flags with different meaning.mav2015-09-193-11/+13
| | | | This is only a cosmetical change.
* Pack struct ctl_ha_msg_hdr by 8 bytes.mav2015-09-191-1/+1
|
* Fix memory corruption when >128K transferred through HA link.mav2015-09-191-20/+6
| | | | While there, do some cleaning.
* Mark I/Os with DMA flag while moving data through the HA link.mav2015-09-181-0/+3
|
* Relax serseq option operation for reads.mav2015-09-184-4/+31
| | | | | | | | Previously, with serseq enabled, next command was unblocked only after previous completed. With this change, for read operations, next command is unblocked as soon as last media read completed. This is important for frontends that actually wait for data move completion (like camtgt), or when data are moved through the HA link, or especially when both.
* Kill HA link and shutdown the threads on shutdown.mav2015-09-183-11/+48
|
* Update list of opcodes to 5/26/15.mav2015-09-181-8/+13
|
* Update list of ASC/ASCQ codes from 5/20/12 to 8/12/15.mav2015-09-181-1/+166
|
* Replicate initiators WWPNs and names between HA peers.mav2015-09-173-1/+91
|
* Replicate port->init_devid to HA peer.mav2015-09-172-2/+26
|
* When reporting TPT UA, report which of thresholds was reached.mav2015-09-174-21/+26
|
* Report number of failed XCOPY segment.mav2015-09-171-8/+32
|
* Report proper medium error code for VERIFY commands.mav2015-09-174-15/+18
|
* Fix reading after end of file for file-backed LUNs.mav2015-09-161-2/+18
| | | | | If backing file is smaller then the LUN size, we have to explicitly clear the rest of the buffer to not leak some random data from previous I/Os.
* Make COMPARE AND WRITE report offset of difference.mav2015-09-161-16/+43
|
* Fix fixed sense writing when passed more data then it can fit.mav2015-09-161-4/+6
| | | | MFC after: 1 week
* Frontends don't need to set errors themselves.mav2015-09-161-11/+4
|
* Don't flap the HA link if sysctl is reset to the same value.mav2015-09-161-6/+11
|
* Make CAM log errors that make it wait.mav2015-09-152-3/+6
| | | | | | | Waiting can take minutes, and it would be good for user to know what is going on. MFC after: 2 weeks
* Fix completion/error status reporting.mav2015-09-151-6/+12
|
* Close potential race between datamove and HA failover.mav2015-09-151-3/+20
|
* Preserve the device queue status before retrying a sense request inmarkj2015-09-151-3/+6
| | | | | | | | | | chdone(). Previously, the retry could clear the CAM_DEV_QFRZN bit in the CCB status, leaving the queue frozen. Submitted by: Jeff Miller <Jeff.Miller@isilon.com> Reviewed by: ken MFC after: 2 weeks Sponsored by: EMC / Isilon Storage Division
* Implement data/status aggregation for secondary HA node.mav2015-09-141-2/+9
| | | | | For short read requests this reduces latency by 30%, reporting command completion after two interlink roundtrips instead of full three.
* Implement data/status aggregation for camsim backend.mav2015-09-141-0/+7
| | | | | This is almost pointless for primary HA node, but useful for secondary, where between fe_datamove and fe_done calls goes another link roundtrip.
* Remove CTL_PRIV_LBA_LEN from HA messages.mav2015-09-142-12/+0
| | | | Previously it was used for statistics, but now just a 16 extra bytes.
* Implement QUERY TASK, QUERY TASK SET and QUERY ASYNC EVENT.mav2015-09-146-156/+298
| | | | Now we support most of SAM-5 task management.
* Map CLEAR TASK SET and I_T NEXUS RESET for iSCSI.mav2015-09-131-0/+12
| | | | The last should not be called without iSCSIProtocolLevel negotiation.
* Implement iSCSI TARGET COLD RESET task management function.mav2015-09-131-1/+23
| | | | Implement it as CTL_TASK_TARGET_RESET plus termination of all sessions.
* Improve read-only support.mav2015-09-135-5/+22
|
* Reannounce port to HA peer if LUN map changed after online.mav2015-09-131-6/+12
|
* Report INQUIRY DATA HAS CHANGED for related LUNs on port on-/offline.mav2015-09-134-18/+54
|
* Report CTL_UA_LUN_CHANGE on LUN map change.mav2015-09-131-23/+28
|
* Make TARGET RESET respect LUN mapping.mav2015-09-131-1/+7
|
* Check for obsolete NUL bin in CSCD descriptor.mav2015-09-122-1/+3
|
* Add HA support for CTL_TASK_I_T_NEXUS_RESET.mav2015-09-121-2/+13
|
* Fix false CTL_UA_RES_RELEASE on secondary HA node.mav2015-09-121-3/+5
|
* Decode WRITE ATOMIC(16) command.mav2015-09-121-1/+2
|
* Improve XCOPY error reporting.mav2015-09-122-17/+30
|
* Report that we have no limit on POPULATE TOKEN segment size.mav2015-09-121-2/+1
|
* Correct RTPG bitmask.mav2015-09-121-1/+1
|
* Some HA polishing.mav2015-09-121-56/+89
|
* CTL documentation update, mostly for HA.mav2015-09-121-9/+8
|
* Make ctld restart on primary HA node less invasive for secondary.mav2015-09-111-5/+5
|
OpenPOWER on IntegriCloud