iscsi(4): Fix a typo in a source code comment- s/conditon/condition/(cherry picked from commit 5e21882bb4e7d36ebcf0300234486a54ff4e7b13)
Fix a common typo in man pages and src comments- s/desciptor/descriptor/(cherry picked from commit b1603638e38b3d8c23da6599e389db9a9218c240)
isci(4): Fix a common typo in src comments- s/exlusive/exclusive/(cherry picked from commit 2dfcc3a91dd4d21c16269b7add3141c99dfa48ab)
Fix some common typos in source code comments- s/struture/structure/- s/structre/structure/(cherry picked from commit 17db4b52fb41aeabeb945c68c1b5edd4db4eac31)
isci: use maxphys rather than 128KB to size s/g listIn the conversion into a tunable, we converted thesize of the s/g list used by the driver to be basedoff of a hardcoded size of 128k rather tha
isci: use maxphys rather than 128KB to size s/g listIn the conversion into a tunable, we converted thesize of the s/g list used by the driver to be basedoff of a hardcoded size of 128k rather than maxphys,this caused performance problems for us. Revert thisto use the maxphys tunable.Note that this constant is used to size dynamically allocatedthings, and not static data structs, so this is safe.Reviewed By: imp, kib, mavTested By:i dhwDifferential Revision: https://reviews.freebsd.org/D28023Sponsored by: Netflix
show more ...
Make MAXPHYS tunable. Bump MAXPHYS to 1M.Replace MAXPHYS by runtime variable maxphys. It is initialized fromMAXPHYS by default, but can be also adjusted with the tunable kern.maxphys.Make b_pag
Make MAXPHYS tunable. Bump MAXPHYS to 1M.Replace MAXPHYS by runtime variable maxphys. It is initialized fromMAXPHYS by default, but can be also adjusted with the tunable kern.maxphys.Make b_pages[] array in struct buf flexible. Size b_pages[] for buffercache buffers exactly to atop(maxbcachebuf) (currently it is sized toatop(MAXPHYS)), and b_pages[] for pbufs is sized to atop(maxphys) + 1.The +1 for pbufs allow several pbuf consumers, among them vmapbuf(),to use unaligned buffers still sized to maxphys, esp. when suchbuffers come from userspace (*). Overall, we save significant amountof otherwise wasted memory in b_pages[] for buffer cache buffers,while bumping MAXPHYS to desired high value.Eliminate all direct uses of the MAXPHYS constant in kernel and driversources, except a place which initialize maxphys. Some random (andarguably weird) uses of MAXPHYS, e.g. in linuxolator, are convertedstraight. Some drivers, which use MAXPHYS to size embeded structures,get private MAXPHYS-like constant; their convertion is out of scopefor this work.Changes to cam/, dev/ahci, dev/ata, dev/mpr, dev/mpt, dev/mvs,dev/siis, where either submitted by, or based on changes by mav.Suggested by: mav (*)Reviewed by: imp, mav, imp, mckusick, scottl (intermediate versions)Tested by: phoSponsored by: The FreeBSD FoundationDifferential revision: https://reviews.freebsd.org/D27225
Correct typo in ATA_WRITE_UNCORRECTABLE_PSEUDOAlso correct a typo in the comment for these values, noted by jimharris.Reviewed by: jimharrisSponsored by: The FreeBSD FoundationDifferential Revi
Correct typo in ATA_WRITE_UNCORRECTABLE_PSEUDOAlso correct a typo in the comment for these values, noted by jimharris.Reviewed by: jimharrisSponsored by: The FreeBSD FoundationDifferential Revision: https://reviews.freebsd.org/D3715
kernel: Fix several typos and minor errors- duplicate words- typos- references to old versions of FreeBSDReviewed by: imp, benno
sys/dev: further adoption of SPDX licensing ID tags.Mainly focus on files that use BSD 2-Clause license, however the tool Iwas using misidentified many licenses so this was mostly a manual - error
sys/dev: further adoption of SPDX licensing ID tags.Mainly focus on files that use BSD 2-Clause license, however the tool Iwas using misidentified many licenses so this was mostly a manual - errorprone - task.The Software Package Data Exchange (SPDX) group provides a specificationto make it easier for automated tools to detect and summarize well knownopensource licenses. We are gradually adopting the specification, notingthat the tags are considered only advisory and do not, in any way,superceed or replace the license texts.
scif_sas_controller: Fix inverted logic range checkPR: 217742Submitted by: Svyatoslav <razmyslov at viva64.com>Sponsored by: Viva64 (PVS-Studio)
Fix improper use of "its".Sponsored by: Dell EMC Isilon
isci: fix ATA PASSTHROUGH fixed sense data formatPR: kern/191717Submitted by: [email protected]Approved by: re (gjb)MFC after: 3 days
sys/dev: minor spelling fixes.Most affect comments, very few have user-visible effects.
etc: minor spelling fixes.Mostly comments but also some user-visible strings.MFC after: 2 weeks
Storage Controller Interface driver - typo in unimplemented macro inscic_sds_controller_registers.hs/contoller/controller/PR: 207336Submitted by: Tony Narlock <tony @ git-pull.com>
Fix typo (s/harware/hardware/)
Fix a case in ndling ATA_PASSTHROUGH commands that have an unaligned buffer.This impacts some home-rolled SMART tools.Reviewed by: jimharrisObtained from: NetflixMFC after: 2 days
Base the max number of SG elements on MAXPHYS.Sponsored by: IntelDiscussed with: scottl, emaxMFC after: 3 days
isci: Ensure ATA passthrough commands with RETURN_RESPONSE bit settranslate their response.Sponsored by: IntelDiscussed with: scottlMFC after: 3 days
For ATA_PASSTHROUGH commands, pretend isci(4) supports multiword DMAby treating it as UDMA.This fixes a problem introduced in r249933/r249939, where CAM sendsATA_DSM_TRIM to SATA devices using AT
For ATA_PASSTHROUGH commands, pretend isci(4) supports multiword DMAby treating it as UDMA.This fixes a problem introduced in r249933/r249939, where CAM sendsATA_DSM_TRIM to SATA devices using ATA_PASSTHROUGH_16. scsi_ata_trim()sets protocol as DMA (not UDMA) which is for multi-word DMA, eventhough no such mode is selected for the device. isci(4) would failthese commands which is the correct behavior but not consistent withother HBAs, namely LSI's.smh@ did some further testing on an LSI controller, which rejectedATA_PASSTHROUGH_16 commands with mode=UDMA_OUT, even though onlya UDMA mode was selected on the device. So this precludes addingany kind of mode detection in CAM to determine which mode to use ona per-device basis.Sponsored by: IntelDiscussed with: scottl, smhReported by: scottlTested by: scottlMFC after: 3 days
Fxi a bunch of typos.PR: misc/174625Submitted by: Jeremy Chadwick <[email protected]>
- Correct mispellings of word resourceSubmitted by: Christoph Mallon <[email protected]>
Fix typo: s/protocl/protocol
s/ is is / is /gs/ a a / a /gApproved by: cpercivaMFC after: 3 days
s/teh/the/gApproved by: cpercivaMFC after: 3 days
12