Author: mav
Date: Tue Dec 22 12:53:01 2015
New Revision: 292596
URL: https://svnweb.freebsd.org/changeset/base/292596
Log:
MFC r291730: Update isp_put_icb_2400() for new structure fields.
Modified:
stable/10/sys/dev/isp/isp_library.c
Directory Properties:
stable/10/ (props changed)
Modif
Author: mav
Date: Tue Dec 22 12:54:13 2015
New Revision: 292597
URL: https://svnweb.freebsd.org/changeset/base/292597
Log:
MFC r291868: Rework WWNs generation to make cards without NVRAM more useful.
Modified:
stable/10/sys/dev/isp/isp_freebsd.c
Directory Properties:
stable/10/ (props cha
Author: mav
Date: Tue Dec 22 13:19:29 2015
New Revision: 292598
URL: https://svnweb.freebsd.org/changeset/base/292598
Log:
MFC r291654, r291727, r291821, r291872, r292034, r292041, r292249, r292042:
Add initial support for 16Gbps FC QLogic chips.
Modified:
stable/10/share/man/man4/isp.4
s
Author: mav
Date: Thu Jul 20 11:37:02 2017
New Revision: 321291
URL: https://svnweb.freebsd.org/changeset/base/321291
Log:
MFC r320729: Add GEOM::descr attribute for symmetry with GEOM::ident.
Modified:
stable/10/sys/geom/geom_disk.c
Directory Properties:
stable/10/ (props changed)
Modif
Author: mav
Date: Sat Aug 5 08:36:04 2017
New Revision: 322079
URL: https://svnweb.freebsd.org/changeset/base/322079
Log:
MFC r321921: Add compat shim part missed at r305197.
This fixes compatibility between old kernel and new ZFS tools.
It seems to be tradition to forget it.
PR:
Author: mav
Date: Sat Aug 5 08:37:38 2017
New Revision: 322081
URL: https://svnweb.freebsd.org/changeset/base/322081
Log:
MFC r321685: Fix IORDY bits definition.
According to the ATA specs, IORDYDIS should be bit 10, IORDY -- bit 11.
PR: 221049
Submitted by: aaron.s...
Author: mav
Date: Sun Aug 6 08:15:21 2017
New Revision: 322116
URL: https://svnweb.freebsd.org/changeset/base/322116
Log:
MFC r321720, r321856: Attach ichwd(4) only to ISA bus of the LPC bridge.
Resource allocation for parent device does not look good by itself, but
attempt to allocate t
Author: mav
Date: Mon Aug 7 07:40:00 2017
New Revision: 322138
URL: https://svnweb.freebsd.org/changeset/base/322138
Log:
MFC r321794: Improve FHA locality control for NFS read/write requests.
This change adds two new tunables, allowing to control serialization for
read and write NFS req
Author: mav
Date: Wed Nov 22 21:24:47 2017
New Revision: 326105
URL: https://svnweb.freebsd.org/changeset/base/326105
Log:
MFC r325552: s/NgSendMsgReply/NgSendReplyMsg/ in man to match the code.
Submitted by: Dmitry Luhtionov
Modified:
stable/10/lib/libnetgraph/Makefile
stable/10/lib/
Author: mav
Date: Wed Sep 19 19:52:53 2018
New Revision: 338808
URL: https://svnweb.freebsd.org/changeset/base/338808
Log:
MFC r308750:
Add support for UART found in the Ingenic XBurst system on chips.
These CPUs has non-standard UART enable bit hidden in the UART FIFO
Control Register.
Author: mav
Date: Wed Sep 19 19:54:13 2018
New Revision: 338809
URL: https://svnweb.freebsd.org/changeset/base/338809
Log:
MFC r317659, r317752:
Make some UART consoles to not spin wait for data to be sent.
At least with Tx FIFO enabled it shows me ~10% reduction of verbose boot
time wi
Author: mav
Date: Thu Jan 5 11:01:17 2017
New Revision: 311396
URL: https://svnweb.freebsd.org/changeset/base/311396
Log:
MFC r309297: Make SES status updates more aggressive.
- On control request update all status pages, since they may also be
affected if user enables/disables enclosur
Author: mav
Date: Thu Jan 5 11:03:04 2017
New Revision: 311398
URL: https://svnweb.freebsd.org/changeset/base/311398
Log:
MFC r310230:
Don't treat informational exceptions (warnings and impending failures)
a.k.a. SCSI SMART events as errors. Log them to console and continue.
Modified:
s
Author: mav
Date: Thu Jan 5 11:16:15 2017
New Revision: 311400
URL: https://svnweb.freebsd.org/changeset/base/311400
Log:
MFC r294558: Hide "soconnect() error" messages under bootverbose.
They can be too noisy.
Modified:
stable/10/sys/cam/ctl/ctl_ha.c
Directory Properties:
stable/10/
Author: mav
Date: Thu Jan 5 11:17:09 2017
New Revision: 311401
URL: https://svnweb.freebsd.org/changeset/base/311401
Log:
MFC r295476 (by trasz): Remove stray semicolons from the iSCSI code.
Modified:
stable/10/sys/cam/ctl/ctl.c
stable/10/sys/dev/iscsi/iscsi.h
Directory Properties:
stab
Author: mav
Date: Thu Jan 5 11:20:31 2017
New Revision: 311402
URL: https://svnweb.freebsd.org/changeset/base/311402
Log:
MFC r298810 (by pfg): sys/cam: spelling fixes in comments.
No functional change.
Modified:
stable/10/sys/cam/cam.h
stable/10/sys/cam/cam_periph.c
stable/10/sys/c
Author: mav
Date: Thu Jan 5 11:23:55 2017
New Revision: 311403
URL: https://svnweb.freebsd.org/changeset/base/311403
Log:
MFC r310257: Improve support for informational exceptions.
While CTL still has no real events to report in this way (like SMART),
it is possible to trigger false even
Author: mav
Date: Thu Jan 5 11:25:12 2017
New Revision: 311404
URL: https://svnweb.freebsd.org/changeset/base/311404
Log:
MFC r310259:
Following SPC-5, make REQUEST SENSE report "Logical unit not supported"
in returned parameter data for not accessible LUNs.
Modified:
stable/10/sys/cam/c
Author: mav
Date: Thu Jan 5 11:28:47 2017
New Revision: 311407
URL: https://svnweb.freebsd.org/changeset/base/311407
Log:
MFC r310265: Add set of macros to simplify code access to mode pages fields.
Modified:
stable/10/sys/cam/ctl/ctl.c
stable/10/sys/cam/ctl/ctl_error.c
stable/10/sys/cam
Author: mav
Date: Thu Jan 5 11:30:24 2017
New Revision: 311409
URL: https://svnweb.freebsd.org/changeset/base/311409
Log:
MFC r310266: Add support for NUAR bit in Control mode page.
Modified:
stable/10/sys/cam/ctl/ctl.c
Directory Properties:
stable/10/ (props changed)
Modified: stable/1
Author: mav
Date: Thu Jan 5 11:32:01 2017
New Revision: 311411
URL: https://svnweb.freebsd.org/changeset/base/311411
Log:
MFC r310272: Add new bits into Extended Inquiry VPD page.
Modified:
stable/10/sys/cam/ctl/ctl.c
stable/10/sys/cam/scsi/scsi_all.h
Directory Properties:
stable/10/ (
Author: mav
Date: Thu Jan 5 11:33:38 2017
New Revision: 311413
URL: https://svnweb.freebsd.org/changeset/base/311413
Log:
MFC r310275: Fix typo in function name.
Modified:
stable/10/sys/cam/ctl/ctl_error.c
Directory Properties:
stable/10/ (props changed)
Modified: stable/10/sys/cam/ctl/
Author: mav
Date: Thu Jan 5 11:35:10 2017
New Revision: 311415
URL: https://svnweb.freebsd.org/changeset/base/311415
Log:
MFC r310284:
When writing fixed format sense data, set VALID bit only if provided value
for INFORMATION field fit into available 4 bytes (has no non-zero bytes
except
Author: mav
Date: Thu Jan 5 11:36:52 2017
New Revision: 311417
URL: https://svnweb.freebsd.org/changeset/base/311417
Log:
MFC r310285:
When reporting "Logical block address out of range" error, report the LBA
in sense data INFORMATION field.
Modified:
stable/10/sys/cam/ctl/ctl.c
stable
Author: mav
Date: Thu Jan 5 11:38:22 2017
New Revision: 311419
URL: https://svnweb.freebsd.org/changeset/base/311419
Log:
MFC r310298: Improve error handling when I/O split between several BIOs.
If we get several error codes, handle one with lowest offset.
Modified:
stable/10/sys/cam/ct
Author: mav
Date: Thu Jan 5 11:39:54 2017
New Revision: 311421
URL: https://svnweb.freebsd.org/changeset/base/311421
Log:
MFC r310339: Bump specifications support to SAM-6/SPC-5.
Modified:
stable/10/sys/cam/ctl/ctl.c
stable/10/sys/cam/scsi/scsi_all.h
Directory Properties:
stable/10/ (p
Author: mav
Date: Thu Jan 5 11:41:53 2017
New Revision: 311423
URL: https://svnweb.freebsd.org/changeset/base/311423
Log:
MFC r310356: Add support for locally assigned RFC 4122 UUID LUN identifiers.
Modified:
stable/10/sys/cam/ctl/ctl.c
stable/10/usr.sbin/ctladm/ctladm.8
Directory Properti
Author: mav
Date: Thu Jan 5 11:43:47 2017
New Revision: 311425
URL: https://svnweb.freebsd.org/changeset/base/311425
Log:
MFC r310360, r310361: Report UUID and MD5 LUN IDs.
Modified:
stable/10/sys/cam/cam_xpt.c
stable/10/sys/cam/scsi/scsi_all.c
stable/10/sys/cam/scsi/scsi_all.h
Directory
Author: mav
Date: Thu Jan 5 11:45:36 2017
New Revision: 311428
URL: https://svnweb.freebsd.org/changeset/base/311428
Log:
MFC r310366: Add support for SITUA bit in Logical Block Provisioning mode
page.
VMware tries to enable this bit to avoid multiple threshold notifications
in case of
Author: mav
Date: Thu Jan 5 11:47:26 2017
New Revision: 311430
URL: https://svnweb.freebsd.org/changeset/base/311430
Log:
MFC r310373:
Add support for REPORTING OPTIONS == 3 in REPORT SUPPORTED OPERATION CODES.
Modified:
stable/10/sys/cam/ctl/ctl.c
stable/10/sys/cam/scsi/scsi_all.h
Direc
Author: mav
Date: Thu Jan 5 11:49:07 2017
New Revision: 311432
URL: https://svnweb.freebsd.org/changeset/base/311432
Log:
MFC r310389:
Fix REPORT SUPPORTED OPERATION CODES for READ/WRITE BUFFER commands.
Specifications require MODE parameter of those commands to be treated
the same as
Author: mav
Date: Thu Jan 5 11:50:01 2017
New Revision: 311433
URL: https://svnweb.freebsd.org/changeset/base/311433
Log:
MFC r310390: Add support for REPD bit in RSTMF command.
We have no real timeout values to report there, but its better then error.
Modified:
stable/10/sys/cam/ctl/ct
Author: mav
Date: Thu Jan 5 11:52:11 2017
New Revision: 311436
URL: https://svnweb.freebsd.org/changeset/base/311436
Log:
MFC r310478: Add place-holders for TAPE STREAM MIRRORING subcommands of XCOPY.
We do not support tapes, so this is only a comments.
Modified:
stable/10/sys/cam/ctl/c
Author: mav
Date: Thu Jan 5 11:53:43 2017
New Revision: 311438
URL: https://svnweb.freebsd.org/changeset/base/311438
Log:
MFC r310489: Implement printing forwarded sense data.
Modified:
stable/10/sys/cam/scsi/scsi_all.c
stable/10/sys/cam/scsi/scsi_all.h
Directory Properties:
stable/10/
Author: mav
Date: Thu Jan 5 11:55:18 2017
New Revision: 311440
URL: https://svnweb.freebsd.org/changeset/base/311440
Log:
MFC r310524: Improve length handling when writing sense data.
- Allow maximal sense size limitation via Control Extension mode page.
- When sense size limited, incl
Author: mav
Date: Thu Jan 5 11:56:54 2017
New Revision: 311442
URL: https://svnweb.freebsd.org/changeset/base/311442
Log:
MFC r310534: Improve third-party copy error reporting.
For EXTENDED COPY:
- improve parameters checking to report some errors before copy start;
- forward sense d
Author: mav
Date: Thu Jan 5 12:56:41 2017
New Revision: 311443
URL: https://svnweb.freebsd.org/changeset/base/311443
Log:
MFC r297756: Add couple new constants from SPC5r08.
Modified:
stable/10/sys/cam/scsi/scsi_all.h
Directory Properties:
stable/10/ (props changed)
Modified: stable/10/
Author: mav
Date: Thu Jan 5 13:29:57 2017
New Revision: 311444
URL: https://svnweb.freebsd.org/changeset/base/311444
Log:
MFC r305591: Decode ATA Status Return descriptor.
Modified:
stable/10/sys/cam/scsi/scsi_all.c
stable/10/sys/cam/scsi/scsi_all.h
Modified: stable/10/sys/cam/scsi/scsi_a
Author: mav
Date: Sun Jan 8 08:52:53 2017
New Revision: 311673
URL: https://svnweb.freebsd.org/changeset/base/311673
Log:
MFC r311446: Fix bootverbose affecting code logic in r294558.
Reported by:Jilles Tjoelker
Modified:
stable/10/sys/cam/ctl/ctl_ha.c
Directory Properties:
stabl
Author: mav
Date: Tue Jan 10 08:25:03 2017
New Revision: 311866
URL: https://svnweb.freebsd.org/changeset/base/311866
Log:
MFC r310633: Add MAX_LUNS overflow safety checks.
While this MAX_LUNS limitation is too synthetic and should be removed,
it is better to enforce it while it is here.
Author: mav
Date: Tue Jan 10 19:15:37 2017
New Revision: 311883
URL: https://svnweb.freebsd.org/changeset/base/311883
Log:
MFC r309251: Process port interrupt even is PxIS register is zero.
ASMedia ASM1062 AHCI chips with some fancy firmware handling PMP inside
seems sometimes forgeting t
Author: mav
Date: Tue Jan 10 19:16:50 2017
New Revision: 311885
URL: https://svnweb.freebsd.org/changeset/base/311885
Log:
MFC r309252: Add more ASMedia PCI IDs from different sources.
Exact device names are not clear, but its better then nothing at all.
Modified:
stable/10/sys/dev/ahci/
Author: mav
Date: Wed Jan 11 07:46:01 2017
New Revision: 311921
URL: https://svnweb.freebsd.org/changeset/base/311921
Log:
MFC r310703:
Pass proper arguments (handles, not directly structure pointers) to
scif_cb_domain_device_removed().
This should fix NULL dereference on task managemen
Author: mav
Date: Thu Jan 19 11:17:09 2017
New Revision: 312406
URL: https://svnweb.freebsd.org/changeset/base/312406
Log:
MFC r311971: Report random flash storage as non-rotating to GEOM_DISK.
While doing it, introduce respective constants in geom_disk.h.
Modified:
stable/10/sys/dev/mmc
Author: mav
Date: Fri Jan 20 13:01:25 2017
New Revision: 312530
URL: https://svnweb.freebsd.org/changeset/base/312530
Log:
MFC r311517: Add some more mode page fields.
Modified:
stable/10/share/misc/scsi_modes
Directory Properties:
stable/10/ (props changed)
Modified: stable/10/share/mis
Author: mav
Date: Sat Jan 21 08:15:51 2017
New Revision: 312565
URL: https://svnweb.freebsd.org/changeset/base/312565
Log:
MFC r311623: Make do_buff_decode() not read past the end of the buffer.
Abort format processing as soon as we have no enough data.
Modified:
stable/10/lib/libcam/scs
Author: mav
Date: Sat Jan 21 08:17:30 2017
New Revision: 312567
URL: https://svnweb.freebsd.org/changeset/base/312567
Log:
MFC r311636: Make 'camcontrol modepage' support subpages.
Modified:
stable/10/sbin/camcontrol/camcontrol.8
stable/10/sbin/camcontrol/camcontrol.c
stable/10/sbin/camco
Author: mav
Date: Sat Jan 21 08:19:42 2017
New Revision: 312569
URL: https://svnweb.freebsd.org/changeset/base/312569
Log:
MFC r311897: Add checks for received mode page length.
If our buffer is too small, we may receive part of the page, and should
not try read/write past the end of the
Author: mav
Date: Sat Jan 21 08:30:10 2017
New Revision: 312571
URL: https://svnweb.freebsd.org/changeset/base/312571
Log:
MFC r310539: Remove CTL_MAX_LUNS from places where it is not required.
Modified:
stable/10/sys/cam/ctl/ctl.c
stable/10/sys/cam/ctl/ctl_frontend.c
stable/10/sys/cam/ct
Author: mav
Date: Sat Jan 21 08:31:49 2017
New Revision: 312573
URL: https://svnweb.freebsd.org/changeset/base/312573
Log:
MFC r310555: Some random code cleaning.
- Reduce indentation.
- Remove extra braces.
- Add few missing savety checks.
Modified:
stable/10/sys/cam/ctl/ctl.c
Di
Author: mav
Date: Sat Jan 21 08:32:56 2017
New Revision: 312575
URL: https://svnweb.freebsd.org/changeset/base/312575
Log:
MFC r310575: Fix improperly used nexus.targ_lun.
Modified:
stable/10/sys/cam/ctl/ctl.c
Directory Properties:
stable/10/ (props changed)
Modified: stable/10/sys/cam/c
Author: mav
Date: Sat Jan 21 08:34:27 2017
New Revision: 312577
URL: https://svnweb.freebsd.org/changeset/base/312577
Log:
MFC r310635: Decouple limits on number of LUNs per port and LUs per CTL.
Those two values are not directly related, so make them independent.
This does not change any
Author: mav
Date: Sat Jan 21 08:36:05 2017
New Revision: 312579
URL: https://svnweb.freebsd.org/changeset/base/312579
Log:
MFC r310640, r310643:
Add support for revert to defaults (RTD) bit in MODE SELECT.
Modified:
stable/10/sys/cam/ctl/ctl.c
stable/10/sys/cam/ctl/ctl.h
stable/10/sys/c
Author: mav
Date: Sat Jan 21 08:37:53 2017
New Revision: 312581
URL: https://svnweb.freebsd.org/changeset/base/312581
Log:
MFC r310644: Fix/synchronize field types in struct ctl_modepage_header.
Modified:
stable/10/sys/cam/ctl/ctl.c
stable/10/sys/cam/ctl/ctl.h
Directory Properties:
stable
Author: mav
Date: Sat Jan 21 08:39:39 2017
New Revision: 312583
URL: https://svnweb.freebsd.org/changeset/base/312583
Log:
MFC r310646: Do not update "saved" mode page on every MODE SELECT.
We do not have non-volatile memory to really save those values, so we
neither report nor support th
Author: mav
Date: Sat Jan 21 08:41:00 2017
New Revision: 312585
URL: https://svnweb.freebsd.org/changeset/base/312585
Log:
MFC r310649: Allow more efficient use of private area.
There are 16 bytes of space, so we may store two pointers in one.
Modified:
stable/10/sys/cam/ctl/ctl_io.h
s
Author: mav
Date: Sat Jan 21 08:43:41 2017
New Revision: 312587
URL: https://svnweb.freebsd.org/changeset/base/312587
Log:
MFC r311892: Do not wait for HA thread shutdown if scheduler is stopped.
This wait loop made system hang on panic instead of reboot.
Modified:
stable/10/sys/cam/ctl/
Author: mav
Date: Wed Jan 25 07:51:53 2017
New Revision: 312742
URL: https://svnweb.freebsd.org/changeset/base/312742
Log:
MFC r311935: Pretend we support some IOCTLs to not scary upper layers.
Modified:
stable/10/sys/dev/ntb/if_ntb/if_ntb.c
Directory Properties:
stable/10/ (props changed
Author: mav
Date: Thu Jan 26 20:50:01 2017
New Revision: 312835
URL: https://svnweb.freebsd.org/changeset/base/312835
Log:
MFC r310778, r310782: Improve use of I/O's private area.
- Since I/Os are allocates from per-port pools, make allocations store
pointer to CTL softc there, and use i
Author: mav
Date: Thu Jan 26 20:51:50 2017
New Revision: 312837
URL: https://svnweb.freebsd.org/changeset/base/312837
Log:
MFC r311680: Make CTL_GETSTATS ioctl return partial data if buffer is small.
Modified:
stable/10/sys/cam/ctl/ctl.c
Directory Properties:
stable/10/ (props changed)
M
Author: mav
Date: Thu Jan 26 20:57:48 2017
New Revision: 312839
URL: https://svnweb.freebsd.org/changeset/base/312839
Log:
MFC r311787: Allocate memory for prevent flags only for removable LUs.
This array takes 64KB of RAM now, that was more then half of struct ctl_lun
size. If at some p
(c) 2015 Alexander Motin
+ * Copyright (c) 2014-2017 Alexander Motin
* All rights reserved.
*
* Portions of this software were developed by Edward Tomasz Napierala
@@ -2558,6 +2558,7 @@ ctl_ioctl(struct cdev *dev, u_long cmd,
struct thread *td)
{
struct ctl_softc *softc
Author: mav
Date: Thu Jan 26 21:02:06 2017
New Revision: 312843
URL: https://svnweb.freebsd.org/changeset/base/312843
Log:
MFC r311873: Fix malloc(M_WAITOK) under mutex, introduced at r311787.
Modified:
stable/10/sys/cam/ctl/ctl.c
Directory Properties:
stable/10/ (props changed)
Modified
Author: mav
Date: Thu Jan 26 21:07:46 2017
New Revision: 312845
URL: https://svnweb.freebsd.org/changeset/base/312845
Log:
MFC r312026: Improve CAM_CDB_POINTER support.
Modified:
stable/10/sys/cam/cam_ccb.h
stable/10/sys/cam/cam_periph.c
stable/10/sys/cam/ctl/ctl_frontend_cam_sim.c
stab
Author: mav
Date: Thu Jan 26 21:08:58 2017
New Revision: 312847
URL: https://svnweb.freebsd.org/changeset/base/312847
Log:
MFC r312231: When in kernel, map ctl_scsi_zero_io() to ctl_zero_io().
Modified:
stable/10/sys/cam/ctl/ctl_util.c
stable/10/sys/cam/ctl/ctl_util.h
Directory Properties:
Author: mav
Date: Thu Jan 26 21:21:59 2017
New Revision: 312849
URL: https://svnweb.freebsd.org/changeset/base/312849
Log:
MFC r312232: Add under-/overrun support to IOCTL and CAM SIM frontends.
Modified:
stable/10/sys/cam/ctl/ctl_frontend_cam_sim.c
stable/10/sys/cam/ctl/ctl_frontend_ioctl.
Author: mav
Date: Thu Jan 26 21:35:58 2017
New Revision: 312850
URL: https://svnweb.freebsd.org/changeset/base/312850
Log:
MFC r296891 (by imp):
Make sure we check for CAM_CDB_POINTER for all drivers. Also, for the
drivers I've touched, filter out CAM_CDB_PHYS.
Differential Revision: ht
Author: mav
Date: Fri Jan 27 05:59:26 2017
New Revision: 312862
URL: https://svnweb.freebsd.org/changeset/base/312862
Log:
MFC r312533: Report disk addition errors on `add` or `create` subcommand.
Modified:
stable/10/sys/geom/multipath/g_multipath.c
Directory Properties:
stable/10/ (props
Author: mav
Date: Sun Jan 29 14:29:02 2017
New Revision: 312951
URL: https://svnweb.freebsd.org/changeset/base/312951
Log:
MFC r312228: Make `camcontrol cmd ... -i ...` return only valid bytes.
Previously code ignored resid field and returned extra zeroes in case of
data underflow. Now i
Author: mav
Date: Tue Feb 7 01:39:25 2017
New Revision: 313363
URL: https://svnweb.freebsd.org/changeset/base/313363
Log:
MFC r312343: Improve error message on duplicate iSCSI port.
Modified:
stable/10/sys/cam/ctl/ctl_frontend_iscsi.c
Directory Properties:
stable/10/ (props changed)
Mod
Author: mav
Date: Tue Feb 7 01:42:53 2017
New Revision: 313365
URL: https://svnweb.freebsd.org/changeset/base/313365
Log:
MFC r312291, r312669:
Make CTL frontends report kern_data_resid for under-/overruns.
It seems like kern_data_resid was never really implemented. This change
finall
Author: mav
Date: Tue Feb 7 01:44:18 2017
New Revision: 313367
URL: https://svnweb.freebsd.org/changeset/base/313367
Log:
MFC r312348: Remove writing 'residual' field of struct ctl_scsiio.
This field has no practical use and never readed. Initiators already
receive respective residual s
Author: mav
Date: Tue Feb 7 01:56:26 2017
New Revision: 313369
URL: https://svnweb.freebsd.org/changeset/base/313369
Log:
MFC r312603: Add initial support for CTL module unloading.
It is only a first step and not perfect, but better then nothing.
The main blocker is CAM target frontend,
313371)
@@ -1,7 +1,7 @@
/*-
* Copyright (c) 2003, 2008 Silicon Graphics International Corp.
* Copyright (c) 2012 The FreeBSD Foundation
- * Copyright (c) 2014-2015 Alexander Motin
+ * Copyright (c) 2014-2017 Alexander Motin
* All rights reserved.
*
* Portions of this software were developed by Edw
Author: mav
Date: Wed Feb 8 16:01:14 2017
New Revision: 313444
URL: https://svnweb.freebsd.org/changeset/base/313444
Log:
MFC r312750: Add Timeout and Protect mode page description from MMC-6.
Modified:
stable/10/share/misc/scsi_modes
Directory Properties:
stable/10/ (props changed)
Mod
Author: mav
Date: Wed Feb 8 16:07:59 2017
New Revision: 313446
URL: https://svnweb.freebsd.org/changeset/base/313446
Log:
MFC r312767: Partially workaround ASMedia HBA error recovery.
Taking closer look on my ASM1062 I found that it has bunch of issues around
error recovery: reported wro
Author: mav
Date: Tue Feb 21 05:13:16 2017
New Revision: 314026
URL: https://svnweb.freebsd.org/changeset/base/314026
Log:
MFC r313736: Fix panic on shutdown of ramdisk LU with zero capacity.
Modified:
stable/10/sys/cam/ctl/ctl_backend_ramdisk.c
Directory Properties:
stable/10/ (props cha
Author: mav
Date: Sat Feb 25 01:53:45 2017
New Revision: 314238
URL: https://svnweb.freebsd.org/changeset/base/314238
Log:
MFC r313910: Change XCOPY memory allocations.
Before this change XCOPY code could allocate memory in chunks up to 16-32MB
(VMware does XCOPY in 4MB chunks by default)
Author: mav
Date: Tue Feb 28 06:32:01 2017
New Revision: 314380
URL: https://svnweb.freebsd.org/changeset/base/314380
Log:
MFC r313744: No need to erase sense_data when sense_len is set to zero.
Modified:
stable/10/sys/cam/ctl/ctl_error.c
Directory Properties:
stable/10/ (props changed)
Author: mav
Date: Fri Mar 3 06:03:01 2017
New Revision: 314581
URL: https://svnweb.freebsd.org/changeset/base/314581
Log:
MFC r313851: Fix tight loop spinning on postponed requests.
Modified:
stable/10/sys/dev/iscsi/iscsi.c
Directory Properties:
stable/10/ (props changed)
Modified: stab
Author: mav
Date: Fri Mar 3 06:04:42 2017
New Revision: 314583
URL: https://svnweb.freebsd.org/changeset/base/314583
Log:
MFC r313852: Freeze CAM SIM when request is postponed due to MaxCmdSN.
This allows to avoid resource allocation (especially offload) for requests
that can not be exec
Author: mav
Date: Sun Mar 5 05:15:35 2017
New Revision: 314696
URL: https://svnweb.freebsd.org/changeset/base/314696
Log:
MFC r313945: Remove broken remnants of obsolete INOT API.
Modified:
stable/10/sys/dev/isp/isp_freebsd.c
Directory Properties:
stable/10/ (props changed)
Modified: st
Author: mav
Date: Sun Mar 5 05:17:36 2017
New Revision: 314698
URL: https://svnweb.freebsd.org/changeset/base/314698
Log:
MFC r313936, r313937: Move CTIO waitq from per-LUN to per-channel.
All resources lack of which may put CTIO into the queue are either
per-channel or potentially per-q
Author: mav
Date: Mon Mar 6 06:09:33 2017
New Revision: 314725
URL: https://svnweb.freebsd.org/changeset/base/314725
Log:
MFC r314358: Announce that sbp_targ(4) does not support initiator mode.
Modified:
stable/10/sys/dev/firewire/sbp_targ.c
Directory Properties:
stable/10/ (props change
Author: mav
Date: Mon Mar 6 06:19:02 2017
New Revision: 314727
URL: https://svnweb.freebsd.org/changeset/base/314727
Log:
MFC r314027: Do not blindly free completed ATIOs/INOTs on invalidation.
When LUN is disabled, SIM starts returning queued ATIOs/INOTs. But at the
same time there can
Author: mav
Date: Mon Mar 6 06:20:14 2017
New Revision: 314729
URL: https://svnweb.freebsd.org/changeset/base/314729
Log:
MFC r314038: Remove ancient __FreeBSD_version checks.
Modified:
stable/10/sys/dev/isp/isp_freebsd.c
stable/10/sys/dev/isp/isp_freebsd.h
Directory Properties:
stable/1
Author: mav
Date: Mon Mar 6 06:21:26 2017
New Revision: 314731
URL: https://svnweb.freebsd.org/changeset/base/314731
Log:
MFC r314045: Remove duplicate INOT allocation.
For some reason isp_handle_platform_notify_fc() allocated INOT just
before calling isp_handle_platform_target_tmf(), wh
Author: mav
Date: Mon Mar 6 06:22:37 2017
New Revision: 314733
URL: https://svnweb.freebsd.org/changeset/base/314733
Log:
MFC r314086: Fix multiple problems around LUN disable under load.
- Move private data about ATIOs/INOTs from per-LUN to per-channel data.
This allows active commands
Author: mav
Date: Mon Mar 6 06:23:45 2017
New Revision: 314735
URL: https://svnweb.freebsd.org/changeset/base/314735
Log:
MFC r314088: Slightly polish isp_dump_atpd().
Modified:
stable/10/sys/dev/isp/isp_freebsd.c
Directory Properties:
stable/10/ (props changed)
Modified: stable/10/sys/
Author: mav
Date: Mon Mar 6 06:24:53 2017
New Revision: 314737
URL: https://svnweb.freebsd.org/changeset/base/314737
Log:
MFC r314193: Some code cleanup.
Modified:
stable/10/sys/cam/ctl/scsi_ctl.c
Directory Properties:
stable/10/ (props changed)
Modified: stable/10/sys/cam/ctl/scsi_ctl.
Author: mav
Date: Mon Mar 6 06:26:02 2017
New Revision: 314739
URL: https://svnweb.freebsd.org/changeset/base/314739
Log:
MFC r314196: Unify ATIO/INOT CCBs requeuing.
Modified:
stable/10/sys/cam/ctl/scsi_ctl.c
Directory Properties:
stable/10/ (props changed)
Modified: stable/10/sys/cam/
Author: mav
Date: Mon Mar 6 06:26:43 2017
New Revision: 314740
URL: https://svnweb.freebsd.org/changeset/base/314740
Log:
MFC r314200: We can't access periph after ctlfe_free_ccb().
Modified:
stable/10/sys/cam/ctl/scsi_ctl.c
Directory Properties:
stable/10/ (props changed)
Modified: sta
Author: mav
Date: Mon Mar 6 06:28:30 2017
New Revision: 314743
URL: https://svnweb.freebsd.org/changeset/base/314743
Log:
MFC r314203: Fix missing xpt_done() for ATIO/INOT on missing LUN.
Modified:
stable/10/sys/dev/isp/isp_freebsd.c
Directory Properties:
stable/10/ (props changed)
Modi
Author: mav
Date: Mon Mar 6 06:29:42 2017
New Revision: 314745
URL: https://svnweb.freebsd.org/changeset/base/314745
Log:
MFC r314204: Explicitly abort ATIO if CTIO sending status has failed.
This helps SIM to free related resources in questionable cases.
Modified:
stable/10/sys/cam/ctl
Author: mav
Date: Mon Mar 6 06:30:55 2017
New Revision: 314747
URL: https://svnweb.freebsd.org/changeset/base/314747
Log:
MFC r314208: Respecting r314204 tighten ATIO cleanup requirements.
Every ATIO must complete with either successfully sent status or XPT_ABORT.
Modified:
stable/10/sy
Author: mav
Date: Mon Mar 6 06:32:14 2017
New Revision: 314749
URL: https://svnweb.freebsd.org/changeset/base/314749
Log:
MFC r314246: Improve CAM target frontend reference counting.
Before this change it was possible to trigger some use-after-free panics
by disabling LUNs/ports under he
Author: mav
Date: Mon Mar 6 06:33:18 2017
New Revision: 314751
URL: https://svnweb.freebsd.org/changeset/base/314751
Log:
MFC r314247: Axe out some forever disabled questionable functionality.
This code is complicated enough even in its base shape.
Modified:
stable/10/sys/cam/ctl/scsi_c
Author: mav
Date: Mon Mar 6 06:35:32 2017
New Revision: 314753
URL: https://svnweb.freebsd.org/changeset/base/314753
Log:
MFC r314255: Reenable CTL_WITH_CA, optimizing it for lower memory usage.
This code was disabled due to its high memory usage. But now we need this
functionality for
Author: mav
Date: Mon Mar 6 06:36:45 2017
New Revision: 314755
URL: https://svnweb.freebsd.org/changeset/base/314755
Log:
MFC r314257: Add reporting SAS protocol, in case we ever have one.
Modified:
stable/10/sys/cam/ctl/ctl.c
stable/10/sys/cam/ctl/ctl_frontend.c
Directory Properties:
st
Author: mav
Date: Mon Mar 6 06:38:26 2017
New Revision: 314757
URL: https://svnweb.freebsd.org/changeset/base/314757
Log:
MFC r314299, r314300: Fix residual length reporting in target mode.
This allows to properly handle cases when target wants to receive or send
more data then initiator
701 - 800 of 877 matches
Mail list logo