summaryrefslogtreecommitdiffstats
path: root/sys/cam
Commit message (Collapse)AuthorAgeFilesLines
* Removed unused malloc types.mav2015-11-062-4/+0
| | | | | Submitted by: Dmitry Luhtionov <dmitryluhtionov@gmail.com> MFC after: 1 week
* Add two more KASSERTs.mav2015-11-061-0/+8
|
* Extend mask of VMware virtual disks.mav2015-11-051-1/+1
|
* Don't try to replicate mode pages not present on this device.mav2015-10-261-0/+5
| | | | MFC after: 3 days
* Give CTL support for PIM_EXTLUNS when talking to CAM.mav2015-10-245-101/+103
| | | | | CTL itself still lives in flat LUN space, but it can generate extended numbers if CAM SIM reports such capability.
* Add partial support for QUERY TMF to CAM and isp(4).mav2015-10-232-8/+21
| | | | | | | | This change allows to decode respective functions in isp(4) in target mode and pass them through CAM to CTL. Unfortunately neither CAM nor isp(4) support returning response info for those task management functions now. On the other side I just have no initiator to test this functionality.
* Fix LUN disable in CAM broken at r285155.mav2015-10-231-1/+1
| | | | MFC after: 1 week
* Make some panic strings mode informative.mav2015-10-212-47/+48
|
* Make delete method set via kern.cam.da.X.delete_method persistent.mav2015-10-111-37/+35
| | | | | | | | | This allows to set delete method via tunable, before device capabilities are known. Also allow ZERO method for devices not reporting LBP, if user explicitly requests it -- it may be useful if storage supports compression and WRITE SAME, but does not support UNMAP. MFC after: 2 weeks
* Remove legacy CHS geometry from dmesg and unify capacity outputs.mav2015-10-113-17/+11
|
* Remove compatibility shims for legacy ATA device names.mav2015-10-113-64/+2
| | | | | We got new ATA stack in FreeBSD 8.x, switched to it at 9.x, completely removed old stack at 10.x, so at 11.x it is time to remove compat shims.
* Remove lock upgrade attempt from ctl_be_block_open_file().mav2015-10-111-15/+0
| | | | | | | | I am not sure what for it was done. Now open routine should automatically fall back to read-only if open for writing is impossible. In such case attempt to upgrade to write sounds strange. MFC after: 1 week
* Add missing vnode lock in case of file modify request.mav2015-10-081-2/+4
| | | | | Submitted by: Richard Kojedzinszky MFC after: 1 week
* More aggressively fill WUT read pipeline.mav2015-10-011-5/+4
| | | | On some tests I've measured 5% copy speedup from this.
* Make zero WUT use WRITE SAME with recently allowed NDOB flag.mav2015-10-011-5/+3
|
* Implement SPC-3 exceptions to SPC-2 RESERVE and RELEASE behavior.mav2015-10-011-1/+9
|
* Unify PR variable names to reduce confusion.mav2015-10-012-66/+66
|
* Use proper STAILQ_* macros where possible.mav2015-09-302-20/+7
|
* Make pass, sg and targ drivers respect HBA's maxio.mav2015-09-307-9/+36
| | | | Previous limitation of 64K (DFLTPHYS) is quite annoying.
* Really implement PREVENT ALLOW MEDIUM REMOVAL command.mav2015-09-295-21/+66
|
* Don't report SYNC_NV bit set in SYNCHRONIZE CACHE as error.mav2015-09-291-2/+2
| | | | | While this bit is obsolete in SBC-3, behavior controlled by it is allowed on device discretion.
* Fix arguments order.mav2015-09-291-8/+8
|
* Report that we can read all flavours of DVD. Why not?mav2015-09-291-1/+55
|
* Add CD/DVD Capabilities and Mechanical Status Page.mav2015-09-293-0/+102
| | | | This page is obsolete since MMC-4, but still used by some software.
* Umplement media load/eject support for removable devices.mav2015-09-2810-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.
* Add to CTL initial support for CDROMs and removable devices.mav2015-09-277-131/+699
| | | | Relnotes: yes
* Allow LOG SENSE command on non-disk devices.mav2015-09-262-2/+5
|
* Remove concept of control device.mav2015-09-261-62/+24
|
* Move ioctl frontend defines where they belong.mav2015-09-262-12/+12
|
* Remove few more unused variables.mav2015-09-262-4/+0
|
* Remove some duplicate, legacy, dead and questionable code.mav2015-09-268-406/+23
|
* Pass to sobind() copy of the address, not the original.mav2015-09-261-2/+6
|
* Properly lock LUN in ctl_failover_lun().mav2015-09-251-7/+25
|
* Fix bit masks changed for the wrong commands in r288221.mav2015-09-251-4/+4
|
* Constify ctl_serialize_table.mav2015-09-252-2/+2
|
* Remove some dead code found by Clang analyzer.mav2015-09-2510-220/+17
|
* Remove stale comments and some excessive empty lines.mav2015-09-252-84/+10
|
* Switch I/O time accounting from system time to uptime.mav2015-09-254-24/+24
| | | | While there, make num_dmas accounted independently of CTL_TIME_IO.
* Collect DMA statistics on secondary HA node.mav2015-09-251-3/+13
|
* Make HA handle datamove and done in a universal way, using port methods.mav2015-09-251-236/+171
| | | | | Now from primary node point of view requests transferred from secondary node should look almost normal and always have valid port.
* Remove some control_softc references.mav2015-09-256-52/+25
|
* Allow WRITE SAME with NDOB bit set but without UNMAP.mav2015-09-242-4/+8
| | | | This combination was originally forbidden, but allowed at spc4r3.
* Add new report types to REPORT LUNS command.mav2015-09-242-4/+7
| | | | This is only for completeness, since we have nothing new to report there.
* Update WRITE ATOMIC(16) support to sbc4r8 draft.mav2015-09-243-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.
* Add support for READ BUFFER(16) command.mav2015-09-243-15/+55
|
* Synchronize mode pages between HA peers.mav2015-09-233-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.
* 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.
OpenPOWER on IntegriCloud