summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* MFC r288358: Add CD/DVD Capabilities and Mechanical Status Page.mav2015-10-053-0/+102
| | | | | | This page is obsolete since MMC-4, but still used by some software. approved by:
* MFC r288348: Umplement media load/eject support for removable devices.mav2015-10-0510-338/+228
| | | | | In case of block backend eject really closes the backing store, while load tries to open it back. Failed store open is reported as no media.
* MFC r288310: Add to CTL initial support for CDROMs and removable devices.mav2015-10-0515-140/+754
| | | | Relnotes: yes
* MFC r288264: Allow LOG SENSE command on non-disk devices.mav2015-10-052-2/+5
|
* MFC r288262: Remove concept of control device.mav2015-10-051-62/+24
|
* MFC r288261: Move ioctl frontend defines where they belong.mav2015-10-052-12/+12
|
* MFC r288260: Remove few more unused variables.mav2015-10-052-4/+0
|
* MFC r288259: Remove some duplicate, legacy, dead and questionable code.mav2015-10-0511-1003/+50
|
* MFC r288247: Pass to sobind() copy of the address, not the original.mav2015-10-051-2/+6
|
* MFC r288239: Properly lock LUN in ctl_failover_lun().mav2015-10-051-7/+25
|
* MFC r288224: Constify ctl_serialize_table.mav2015-10-052-2/+2
|
* MFC r288229: Fix bit masks changed for the wrong commands in r288221.mav2015-10-051-4/+4
|
* MFC r288221: Remove some dead code found by Clang analyzer.mav2015-10-0510-220/+17
|
* MFC r288220: Remove stale comments and some excessive empty lines.mav2015-10-052-84/+10
|
* MFC r288215: Switch I/O time accounting from system time to uptime.mav2015-10-054-24/+24
| | | | While there, make num_dmas accounted independently of CTL_TIME_IO.
* MFC r288214: Collect DMA statistics on secondary HA node.mav2015-10-051-3/+13
|
* MFC r288213:mav2015-10-051-236/+171
| | | | | | | Make HA handle datamove and done in a universal way, using port methods. Now from primary node point of view requests transferred from secondary node should look almost normal and always have valid port.
* MFC r288211: Remove some control_softc references.mav2015-10-056-52/+25
|
* MFC r288175: Allow WRITE SAME with NDOB bit set but without UNMAP.mav2015-10-052-4/+8
| | | | This combination was originally forbidden, but allowed at spc4r3.
* MFC r288170: Add new report types to REPORT LUNS command.mav2015-10-052-4/+7
| | | | This is only for completeness, since we have nothing new to report there.
* MFC r288166: Update WRITE ATOMIC(16) support to sbc4r8 draft.mav2015-10-053-7/+28
| | | | | This is only a cosmetic change. We still don't support atomic boundary field in the CDB, but at least now we do it formally.
* MFC r288165: Add support for READ BUFFER(16) command.mav2015-10-053-15/+55
|
* MFC r288148: Synchronize mode pages between HA peers.mav2015-10-053-2/+106
| | | | | | We allow to modify only few fields in mode pages now, but still it is not good if they unexpectedly change during failover. Also this fixes reporting of "Mode parameters changed" UAs on secondary node.
* MFC r288146: Make HA peers announce their parameters on connect.mav2015-10-054-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.
* MFC r288110: Add support for Control extension mode page.mav2015-10-053-27/+94
|
* MFC r288104: Remove duplicate and incomplete code handling LUN modify.mav2015-10-051-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.
* MFC r288067: Log iSCSI session reinstatements.mav2015-10-051-0/+10
| | | | | False session reinstatements can be result of misconfiguration, when several initiators use the same initiator name and ISID.
* MFC r288061: Make cltd ignore HA ports.mav2015-10-051-1/+7
|
* MFC r288059: Bunch of improvements to ctlstat.mav2015-10-052-54/+78
| | | | | | Add -p option to allow filtering by ports. Make -l and -p options work in all modes as filters. Improve output formatting to better fit columns.
* MFC r288043:mav2015-10-051-5/+4
| | | | Output times as normal microseconds, rather then in bintime format.
* MFC r288021: Mark with DMA flag I/Os waiting for iSCSI write data after R2T.mav2015-10-051-0/+5
| | | | Reads and immediate writes are not blocking, so don't bother.
* MFC r288020: Remove couple excess SGLIST I/O flags.mav2015-10-056-7/+4
| | | | Those flags duplicated respective (sg_entries > 0) values.
* MFC r287994: Always execute REPORT LUNS and REQUEST SENSE commands locally.mav2015-10-052-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.
* MFC r287993: Split two command flags with different meaning.mav2015-10-053-11/+13
| | | | This is only a cosmetical change.
* MFC r287991: Pack struct ctl_ha_msg_hdr by 8 bytes.mav2015-10-051-1/+1
|
* MFC r287986: Fix memory corruption when >128K transferred through HA link.mav2015-10-051-20/+6
| | | | While there, do some cleaning.
* MFC r287968: Mark I/Os with DMA flag while moving data through the HA link.mav2015-10-051-0/+3
|
* MFC r287967: Relax serseq option operation for reads.mav2015-10-054-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.
* MFC r287957: Kill HA link and shutdown the threads on shutdown.mav2015-10-053-11/+48
|
* MFC r287956: Update list of opcodes to 5/26/15.mav2015-10-051-8/+13
|
* MFC r287955: Update list of ASC/ASCQ codes from 5/20/12 to 8/12/15.mav2015-10-051-1/+166
|
* MFC r287940: Replicate initiators WWPNs and names between HA peers.mav2015-10-053-1/+91
|
* MFC r287933: Replicate port->init_devid to HA peer.mav2015-10-052-2/+26
|
* MFC r287921: When reporting TPT UA, report which of thresholds was reached.mav2015-10-054-21/+26
|
* MFC r287913: Report number of failed XCOPY segment.mav2015-10-051-8/+32
|
* MFC r279433 (by rstone): Implement asprintf in libkernmav2015-10-053-0/+82
|
* MFC r287912: Report proper medium error code for VERIFY commands.mav2015-10-054-15/+18
|
* MFC r287875: Fix reading after end of file for file-backed LUNs.mav2015-10-051-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.
* MFC r287868: Make COMPARE AND WRITE report offset of difference.mav2015-10-051-16/+43
|
* MFC r287860: Frontends don't need to set errors themselves.mav2015-10-051-11/+4
|
OpenPOWER on IntegriCloud