sys: Remove $FreeBSD$: one-line bare tagRemove /^\s*\$FreeBSD\$$\n/
sys: Remove $FreeBSD$: one-line .c patternRemove /^[\s*]*__FBSDID\("\$FreeBSD\$"\);?\s*\n/
sys: Remove $FreeBSD$: two-line .h patternRemove /^\s*\*\n \*\s+\$FreeBSD\$$\n/
pvscsi: maximum target number is one less than number of targetsFix the number of targets we inquiry to be one less than the maximumnumber of targets adapter reports. This gets rid of the errors
pvscsi: maximum target number is one less than number of targetsFix the number of targets we inquiry to be one less than the maximumnumber of targets adapter reports. This gets rid of the errors reportedon VMware Workstation:(probe36:pvscsi0:0:65:0): INQUIRY. CDB: 12 00 00 00 24 00(probe36:pvscsi0:0:65:0): CAM status: CCB request completed with an errorWhile here, print the maximum number of targets.Reviewed by: impDifferential Revision: https://reviews.freebsd.org/D39867
show more ...
vmw_pvscsi: Expand vcpuHint to 16 bit to aliagn with host side change.vcpuHint has been expanded to 16 bit on host side to enableinterruptions to be routed to more CPUs. Guest side should align wi
vmw_pvscsi: Expand vcpuHint to 16 bit to aliagn with host side change.vcpuHint has been expanded to 16 bit on host side to enableinterruptions to be routed to more CPUs. Guest side should align withthe change.This change has been tested with hosts with 8-bit and 16-bit vcpuHint,on both platforms host side can get correct value.This driver is for ESXi product which only supports x86/x64. They arelittle-endian. So there is no need to consider big-endian system.PR: 264840Reviewed by: imp@, Zhenlei Huang
vmware: Remove unused devclass arguments to DRIVER_MODULE.
pvscsi_adapter_reset: Mark val as unused.This variable is unsed in a debug trace conditional on a privatedebugging macro (so not eligible for __diagused).
cam: fix xpt_bus_register and xpt_bus_deregister return errnoxpt_bus_register and xpt_bus_deregister returns a hybrid error that'sneither a cam_status, nor an errno, but a mix of both. Updatexpt
cam: fix xpt_bus_register and xpt_bus_deregister return errnoxpt_bus_register and xpt_bus_deregister returns a hybrid error that'sneither a cam_status, nor an errno, but a mix of both. Updatexpt_bus_register and xpt_bus_deregister to return an errno. The vastmajority of current users compare against zero, which can also bespelled CAM_SUCCESS. Nobody uses CAM_FAILURE, so remove that symbolto prevent comfusion (nothing returns it either).Where the return value is saved, ensure that the variable 'error' isused to store an errno and 'status' is used to store a cam_status whereit makes the code clearer (usually just in functions that already mixand match). Where the return value isn't used at all, avoid storing itat all.Reviewed by: scottl@, mav@ (earlier version)Sponsored by: NetflixDifferential Revision: https://reviews.freebsd.org/D30860
pvscsi: Advertise maxio of 256k.While the PV SCSI SG list can handle 512k of SG entries, it can only doso for I/O that's aligned to 4k or better. newfs_msdos does unalignedI/O, so triggers too lo
pvscsi: Advertise maxio of 256k.While the PV SCSI SG list can handle 512k of SG entries, it can only doso for I/O that's aligned to 4k or better. newfs_msdos does unalignedI/O, so triggers too long for host errors in cam when a 512k I/O isattempted. Prefer power of 2 256k to the absolute maximum 508k, thoughthat can be revisited should the latter show to give significantperformance improvement.MFC After: 3 daysTested by: darius on discord (508k version of patch)Sponsored by: Netflix
vmware: clean up empty lines in .c and .h files
Mark more nodes as CTLFLAG_MPSAFE or CTLFLAG_NEEDGIANT (17 of many)r357614 added CTLFLAG_NEEDGIANT to make it easier to find nodes that arestill not MPSAFE (or already are but aren’t properly mark
Mark more nodes as CTLFLAG_MPSAFE or CTLFLAG_NEEDGIANT (17 of many)r357614 added CTLFLAG_NEEDGIANT to make it easier to find nodes that arestill not MPSAFE (or already are but aren’t properly marked).Use it in preparation for a general review of all nodes.This is non-functional change that adds annotations to SYSCTL_NODE andSYSCTL_PROC nodes using one of the soon-to-be-required flags.Mark all obvious cases as MPSAFE. All entries that haven't been markedas MPSAFE before are by default marked as NEEDGIANTApproved by: kib (mentor, blanket)Commented by: kib, gallatin, melifaroDifferential Revision: https://reviews.freebsd.org/D23718
Fix build with GCCFix suggested by: jhb, scottlSponsored by: Panzura
Add the pvscsi driver to the tree.This driver allows to usage of the paravirt SCSI controllerin VMware products like ESXi. The pvscsi driver provides asubstantial performance improvement in bloc
Add the pvscsi driver to the tree.This driver allows to usage of the paravirt SCSI controllerin VMware products like ESXi. The pvscsi driver provides asubstantial performance improvement in block devices versusthe emulated mpt and mps SCSI/SAS controllers.Error handling in this driver has not been extensively testedyet.Submitted by: [email protected]Relnotes: yesSponsored by: VMware, PanzuraDifferential Revision: D18613