| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
| |
Add kern.iscsi.fail_on_disconnection; this is required for gmultipath
to work.
Sponsored by: The FreeBSD Foundation
|
|
|
|
|
|
| |
Remove useless debug.
Sponsored by: The FreeBSD Foundation
|
|
|
|
|
|
| |
Be more strict with locking for is_waiting_for_iscsid variable.
Sponsored by: The FreeBSD Foundation
|
|
|
|
|
|
|
| |
Get rid of ISCSIDCLOSE; it wasn't used and is redundant anyway,
because of ISCSIDFAIL.
Sponsored by: The FreeBSD Foundation
|
|
|
|
|
|
| |
English.
Sponsored by: The FreeBSD Foundation
|
|
|
|
|
|
| |
If we fail to create LUN, try again on next configuration reload.
Sponsored by: The FreeBSD Foundation
|
|
|
|
|
|
| |
Use consistent punctuation.
Sponsored by: The FreeBSD Foundation
|
|
|
|
|
|
| |
Use proper terminology in debug messages.
Sponsored by: The FreeBSD Foundation
|
|
|
|
|
|
| |
Constify.
Sponsored by: The FreeBSD Foundation
|
|
|
|
|
|
| |
Properly pass the initiator address when running in proxy mode.
Sponsored by: The FreeBSD Foundation
|
|
|
|
|
|
|
| |
Use socket address from accept(2) instead of retrieving it via
getpeername(2).
Sponsored by: The FreeBSD Foundation
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
| |
Make it possible to interrupt login when running in proxy mode.
Sponsored by: The FreeBSD Foundation
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
| |
Stop treating LUN 0 as mandatory. There is no reason to do that.
Sponsored by: The FreeBSD Foundation
|
|
|
|
|
|
| |
Use a less unusual syntax in debug printfs.
Sponsored by: The FreeBSD Foundation
|
|
|
|
|
|
| |
Wakeup only one thread of added in r263978i at a time.
This slightly reduces lock congestion between threads.
|
|
|
|
|
|
| |
Remove hack to pass STAILQ to a function and do it properly instead.
Sponsored by: The FreeBSD Foundation
|
|
|
|
|
|
|
| |
Rework the iSCSI PDU transmit code to avoid lock contention and coalesce
PDUs before sending.
Sponsored by: The FreeBSD Foundation
|
|
|
|
|
|
| |
All the iSCSI sysctls are also tunables; advertise that.
Sponsored by: The FreeBSD Foundation
|
|
|
|
|
|
| |
We don't need TAILQ for iSCSI PDUs; STAILQ is enough.
Sponsored by: The FreeBSD Foundation
|
|
|
|
|
|
| |
Enable a KASSERT.
Sponsored by: The FreeBSD Foundation
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
| |
Use atomic ops instead of mutexes where appropriate.
Submitted by: mav@
Sponsored by: The FreeBSD Foundation
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
| |
Make it possible to have multiple CTL worker threads. Leave the default
of 1 for now.
Sponsored by: The FreeBSD Foundation
|
|
|
|
|
|
| |
Remove ctl_mem_pool.{c,h}.
Sponsored by: The FreeBSD Foundation
|
|
|
|
|
|
|
| |
Rework cfiscsi_datamove_in() to obey expected data transfer length
received from the initiator.
Sponsored by: The FreeBSD Foundation
|
|
|
|
|
|
| |
Target Transfer Tag is opaque; no need to htonl(3) it.
Sponsored by: The FreeBSD Foundation
|
|
|
|
|
|
| |
Move the ic_outstanding_count under #ifdef DIAGNOSTIC.
Sponsored by: The FreeBSD Foundation
|
|
|
|
|
|
|
| |
Fix harmless warning after reconnecting a session and not doing anything
with it.
Sponsored by: The FreeBSD Foundation
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
| |
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
| |
Fix two cases of recursive acquisitions of the vm object lock, only
possible in rare failure situations.
|
|
|
|
| |
Fix the comparision for the end of range in vm_phys_fictitious_reg_range().
|
|
|
|
|
|
|
| |
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.
|
|
|
|
| |
Correct AMD chipsets identification.
|
|
|
|
| |
Add ID for one more ASMedia AHCI-compatible controller.
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|