summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* MFC r264544:trasz2014-05-071-63/+65
| | | | | | | Add kern.iscsi.fail_on_disconnection; this is required for gmultipath to work. Sponsored by: The FreeBSD Foundation
* MFC r264538:trasz2014-05-071-1/+0
| | | | | | Remove useless debug. Sponsored by: The FreeBSD Foundation
* MFC r264537:trasz2014-05-071-1/+4
| | | | | | Be more strict with locking for is_waiting_for_iscsid variable. Sponsored by: The FreeBSD Foundation
* MFC r264536:trasz2014-05-072-31/+0
| | | | | | | Get rid of ISCSIDCLOSE; it wasn't used and is redundant anyway, because of ISCSIDFAIL. Sponsored by: The FreeBSD Foundation
* MFC r264535:trasz2014-05-071-3/+3
| | | | | | English. Sponsored by: The FreeBSD Foundation
* MFC r264534:trasz2014-05-071-1/+9
| | | | | | If we fail to create LUN, try again on next configuration reload. Sponsored by: The FreeBSD Foundation
* MFC r264533:trasz2014-05-071-3/+4
| | | | | | Use consistent punctuation. Sponsored by: The FreeBSD Foundation
* MFC r264532:trasz2014-05-071-3/+3
| | | | | | Use proper terminology in debug messages. Sponsored by: The FreeBSD Foundation
* MFC r264531:trasz2014-05-072-10/+13
| | | | | | Constify. Sponsored by: The FreeBSD Foundation
* MFC r264530:trasz2014-05-078-37/+56
| | | | | | Properly pass the initiator address when running in proxy mode. Sponsored by: The FreeBSD Foundation
* MFC r264529:trasz2014-05-071-11/+13
| | | | | | | Use socket address from accept(2) instead of retrieving it via getpeername(2). Sponsored by: The FreeBSD Foundation
* MFC r264528:trasz2014-05-073-8/+16
| | | | | | | | | | | | Rework the way we enable CTL iSCSI port. Previously conf_apply() needed it to be already enabled, because listening in proxy mode requires it; however, it's conf_apply() that opens pidfiles, so it resulted in port being enabled before pidfile was opened. This was not so bad, but it was also disabled when pidfile couldn't be opened due to ctld already running; this means that starting second ctld instance screwed up the first. Sponsored by: The FreeBSD Foundation
* MFC r264527:trasz2014-05-071-6/+21
| | | | | | Make it possible to interrupt login when running in proxy mode. Sponsored by: The FreeBSD Foundation
* MFC r264526:trasz2014-05-078-63/+74
| | | | | | | Properly identify target portal when running in proxy mode. While here, remove CTL_ISCSI_CLOSE, it wasn't used or implemented anyway. Sponsored by: The FreeBSD Foundation
* MFC r264525:trasz2014-05-073-2/+25
| | | | | | | Add some stuff to make it easier to figure out for the system administrator whether the ICL_KERNEL_PROXY stuff got compiled in correctly. Sponsored by: The FreeBSD Foundation
* MFC r264524:trasz2014-05-075-125/+164
| | | | | | | | Make it possible for the iSCSI target side to operate in both normal and ICL_KERNEL_PROXY mode, and fix some bit rot so the latter actually works again. Sponsored by: The FreeBSD Foundation
* MFC r264500:trasz2014-05-071-7/+6
| | | | | | Stop treating LUN 0 as mandatory. There is no reason to do that. Sponsored by: The FreeBSD Foundation
* MFC r263740:trasz2014-05-073-41/+60
| | | | | | Use a less unusual syntax in debug printfs. Sponsored by: The FreeBSD Foundation
* MFC r264264 by mav@:trasz2014-05-071-1/+1
| | | | | | Wakeup only one thread of added in r263978i at a time. This slightly reduces lock congestion between threads.
* MFC r264163:trasz2014-05-071-3/+4
| | | | | | Remove hack to pass STAILQ to a function and do it properly instead. Sponsored by: The FreeBSD Foundation
* MFC r264122:trasz2014-05-072-37/+169
| | | | | | | Rework the iSCSI PDU transmit code to avoid lock contention and coalesce PDUs before sending. Sponsored by: The FreeBSD Foundation
* MFC r264110:trasz2014-05-073-13/+13
| | | | | | All the iSCSI sysctls are also tunables; advertise that. Sponsored by: The FreeBSD Foundation
* MFC r264109:trasz2014-05-074-27/+27
| | | | | | We don't need TAILQ for iSCSI PDUs; STAILQ is enough. Sponsored by: The FreeBSD Foundation
* MFC r264026:trasz2014-05-071-4/+1
| | | | | | Enable a KASSERT. Sponsored by: The FreeBSD Foundation
* MFC r264025:trasz2014-05-071-11/+29
| | | | | | | | | | | | Get rid of the "autoscaling", instead just set socket buffer sizes in the usual way. The only thing the old code did was making things less predictable. MFC r264058: Fix build, broken by r264025. Sponsored by: The FreeBSD Foundation
* MFC r264024:trasz2014-05-071-7/+3
| | | | | | | Use atomic ops instead of mutexes where appropriate. Submitted by: mav@ Sponsored by: The FreeBSD Foundation
* MFC r264023:trasz2014-05-074-6/+10
| | | | | | | Instead of "icltx" and "iclrx", use thread names with prefix from upper layer, so that one can see which side of the stack the threads are for. Sponsored by: The FreeBSD Foundation
* MFC r264022:trasz2014-05-074-14/+21
| | | | | | | | Get rid of ICL lock; use upper-layer (initiator or target) lock instead. This avoids extra locking in icl_pdu_queue(); the upper layer needs to call it while holding its own lock anyway, to avoid sending PDUs out of order. Sponsored by: The FreeBSD Foundation
* MFC r264020:trasz2014-05-071-115/+9
| | | | | | | | Remove the homegrown ctl_be_block_io allocator, replacing it with UMA. There is no performance difference. Reviewed by: mav@ Sponsored by: The FreeBSD Foundation
* MFC r263979:trasz2014-05-071-3/+10
| | | | | | | | Hide CTL messages about SCSI error responses. Too many users take them for actual target errors. They can be enabled back by setting kern.cam.ctl.verbose=1, or booting with bootverbose. Sponsored by: The FreeBSD Foundation
* MFC r263978:trasz2014-05-071-29/+40
| | | | | | | Make it possible to have multiple CTL worker threads. Leave the default of 1 for now. Sponsored by: The FreeBSD Foundation
* MFC r263811:trasz2014-05-077-432/+19
| | | | | | Remove ctl_mem_pool.{c,h}. Sponsored by: The FreeBSD Foundation
* MFC r263810:trasz2014-05-071-39/+81
| | | | | | | Rework cfiscsi_datamove_in() to obey expected data transfer length received from the initiator. Sponsored by: The FreeBSD Foundation
* MFC r263745:trasz2014-05-071-2/+2
| | | | | | Target Transfer Tag is opaque; no need to htonl(3) it. Sponsored by: The FreeBSD Foundation
* MFC r263743:trasz2014-05-072-0/+10
| | | | | | Move the ic_outstanding_count under #ifdef DIAGNOSTIC. Sponsored by: The FreeBSD Foundation
* MFC r263742:trasz2014-05-071-2/+2
| | | | | | | Fix harmless warning after reconnecting a session and not doing anything with it. Sponsored by: The FreeBSD Foundation
* MFC r262338alc2014-05-072-10/+22
| | | | | | | | | | | | | | | | | | When the kernel is running in a virtual machine, it cannot rely upon the processor family to determine if the workaround for AMD Family 10h Erratum 383 should be enabled. To enable virtual machine migration among a heterogeneous collection of physical machines, the hypervisor may have been configured to report an older processor family with a reduced feature set. Effectively, the reported processor family and its features are like a "least common denominator" for the collection of machines. Therefore, when the kernel is running in a virtual machine, instead of relying upon the processor family, we now test for features that prove that the underlying processor is not affected by the erratum. (The features that we test for are unlikely to ever be emulated in software on an affected physical processor.) PR: 186061
* MFC r261908 by ian: Fix a typo, C_ALSOLUTE -> C_ABSOLUTE.emaste2014-05-061-1/+1
|
* MFC: r264739rmacklem2014-05-061-2/+4
| | | | | | Add {} braces so that the code conforms to the indentation. Fortunately, I don't think doing the assignment of cap->tsomax unconditionally causes any problem.
* MFC: r264738rmacklem2014-05-061-1/+3
| | | | | | For an NFSv4 mount with the "nocto" option, don't get the up to date file attributes upon close. This reduces the Getattr RPC count by about 65% for software builds.
* MFC: r264705, r264749rmacklem2014-05-062-1/+17
| | | | | | | Modify the NFSv4 client create/mkdir RPC so that it acquires post-create/mkdir directory attributes. This allows the RPC to name cache the newly created directory and reduces the lookup RPC count for applications creating a lot of directories.
* MFC: r264681rmacklem2014-05-062-5/+17
| | | | | | | Modify the NFSv4 client open/create RPC so that it acquires post-open/create directory attributes. This allows the RPC to name cache the newly created file and reduces the lookup RPC count by about 10% for software builds.
* MFC r265097:brooks2014-05-061-2/+11
| | | | | | | | | | | | | | | | | | | | | | | | | Merge from CheriBSD: commit 1d1b908107255ffdff4d17f015d8f057d73cc6cb Author: Brooks Davis <brooks@one-eyed-alien.net> Date: Fri Mar 28 16:24:45 2014 +0000 Add a long needed seatbelt. Exit with an error when make is called without a target at the top level rather than poluting the source tree and causing use confusion in future builds. commit a9d9aa341b2f4308a227ab460ba85f1f287ad028 Author: Brooks Davis <brooks@one-eyed-alien.net> Date: Tue Apr 29 16:06:12 2014 +0000 Simplify seatbelt added in 1d1b908 based in feedback. Discussed with: imp@FreeBSD.org Reviewed by: imp Sponsored by: DARPA, AFRL
* MFC r265102:kib2014-05-061-1/+1
| | | | | Fix two cases of recursive acquisitions of the vm object lock, only possible in rare failure situations.
* MFC r265100:kib2014-05-061-1/+3
| | | | Fix the comparision for the end of range in vm_phys_fictitious_reg_range().
* MFC: r264672rmacklem2014-05-063-29/+45
| | | | | | | Modify the Lookup RPC for NFSv4 so that it acquires directory attributes. This allows the client to cache directory names when they are looked up, reducing the Lookup RPC count by about 40% for software builds.
* MFC r264610:mav2014-05-061-7/+7
| | | | Correct AMD chipsets identification.
* MFC r260830:mav2014-05-061-0/+1
| | | | Add ID for one more ASMedia AHCI-compatible controller.
* MFC r259382:np2014-05-065-18/+80
| | | | | | | | | | | | Read card capabilities after firmware initialization, instead of setting them up as part of firmware initialization (which the driver gets to do only if it's the master driver). Read the range of tids available for the ETHOFLD functionality if it's enabled. New is_ftid() and is_etid() functions to test whether a tid falls within the range of filter tids or ETHOFLD tids respectively.
* MFC r263317, r263412, and r263451.np2014-05-065-589/+695
| | | | | | | | | | | | | | | | | | | | | | | r263317: cxgbe(4): significant rx rework. - More flexible cluster size selection, including the ability to fall back to a safe cluster size (PAGE_SIZE from zone_jumbop by default) in case an allocation of a larger size fails. - A single get_fl_payload() function that assembles the payload into an mbuf chain for any kind of freelist. This replaces two variants: one for freelists with buffer packing enabled and another for those without. - Buffer packing with any sized cluster. It was limited to 4K clusters only before this change. - Enable buffer packing for TOE rx queues as well. - Statistics and tunables to go with all these changes. The driver's man page will be updated separately. r263412: cxgbe(4): if_iqdrops statistic should include tunnel congestion drops. r263451: cxgbe(4): man page updates.
OpenPOWER on IntegriCloud