Author: mav
Date: Tue Mar 26 07:55:24 2013
New Revision: 248722
URL: http://svnweb.freebsd.org/changeset/base/248722
Log:
geom_slice.c and its consumers like GEOM_LABEL are not touching the data
unless hotspots are used. Pass G_PF_ACCEPT_UNMAPPED flag through except
such rare cases (obsolet
Author: glebius
Date: Tue Mar 26 14:05:37 2013
New Revision: 248724
URL: http://svnweb.freebsd.org/changeset/base/248724
Log:
Cleanup: wrap long lines, cleanup comments, etc.
Modified:
head/sys/netgraph/netflow/netflow.c
head/sys/netgraph/netflow/ng_netflow.c
Modified: head/sys/netgraph/ne
Author: glebius
Date: Tue Mar 26 14:08:14 2013
New Revision: 248725
URL: http://svnweb.freebsd.org/changeset/base/248725
Log:
Return ENOMEM if malloc() fails.
Modified:
head/sys/netgraph/netflow/netflow.c
Modified: head/sys/netgraph/netflow/netflow.c
=
Author: alc
Date: Tue Mar 26 17:30:40 2013
New Revision: 248728
URL: http://svnweb.freebsd.org/changeset/base/248728
Log:
Introduce vm_radix_isleaf() and use it in a couple places. As compared to
using vm_radix_node_page() == NULL, the compiler is able to generate one
less conditional branc
Author: jimharris
Date: Tue Mar 26 18:01:24 2013
New Revision: 248729
URL: http://svnweb.freebsd.org/changeset/base/248729
Log:
Do not look at the namespace's thin provisioning field to determine if DSM
command is supported. The two are not related.
Sponsored by: Intel
Modified:
head/
Author: jimharris
Date: Tue Mar 26 18:16:30 2013
New Revision: 248730
URL: http://svnweb.freebsd.org/changeset/base/248730
Log:
Make the DSM range count 0-based. Previously we were deallocating one more
LBA than we should have been.
Sponsored by: Intel
Modified:
head/sys/dev/nvme/nvme
Author: jimharris
Date: Tue Mar 26 18:20:11 2013
New Revision: 248731
URL: http://svnweb.freebsd.org/changeset/base/248731
Log:
Add an internal _nvme_qpair_submit_request function, which performs
the submit action assuming the qpair lock has already been acquired.
Also change nvme_qpair_s
Author: jimharris
Date: Tue Mar 26 18:23:35 2013
New Revision: 248732
URL: http://svnweb.freebsd.org/changeset/base/248732
Log:
Add support for ABORT commands, including issuing these commands when
an I/O times out.
Also ensure that we retry commands that are aborted due to a timeout.
Author: jimharris
Date: Tue Mar 26 18:27:22 2013
New Revision: 248733
URL: http://svnweb.freebsd.org/changeset/base/248733
Log:
Break out the code for completing an nvme_tracker object into a separate
function.
This allows for completions outside the normal completion path, for example
Author: jimharris
Date: Tue Mar 26 18:29:04 2013
New Revision: 248734
URL: http://svnweb.freebsd.org/changeset/base/248734
Log:
Explicitly abort a timed out command, if the ABORT command sent to the
controller indicates the command was not found.
Sponsored by: Intel
Modified:
head/sys/
Author: jimharris
Date: Tue Mar 26 18:31:46 2013
New Revision: 248735
URL: http://svnweb.freebsd.org/changeset/base/248735
Log:
Specify command timeout interval on a per-command type basis.
This is primarily driven by the need to disable timeouts for asynchronous
event requests, which by
Author: jimharris
Date: Tue Mar 26 18:34:19 2013
New Revision: 248736
URL: http://svnweb.freebsd.org/changeset/base/248736
Log:
Move controller destruction code from nvme_detach() to new
nvme_ctrlr_destruct()
function.
Sponsored by: Intel
Modified:
head/sys/dev/nvme/nvme.c
head/sys/
Author: jimharris
Date: Tue Mar 26 18:37:36 2013
New Revision: 248737
URL: http://svnweb.freebsd.org/changeset/base/248737
Log:
Enable asynchronous event requests on non-Chatham devices.
Also add logic to clean up all outstanding asynchronous event requests
when resetting or shutting down
Author: jimharris
Date: Tue Mar 26 18:39:54 2013
New Revision: 248738
URL: http://svnweb.freebsd.org/changeset/base/248738
Log:
Add an interface for nvme shim drivers (i.e. nvd) to register for
notifications when new nvme controllers are added to the system.
Sponsored by: Intel
Modified:
Author: jimharris
Date: Tue Mar 26 18:42:05 2013
New Revision: 248739
URL: http://svnweb.freebsd.org/changeset/base/248739
Log:
Expose the get/set features API to nvme consumers.
Sponsored by: Intel
Modified:
head/sys/dev/nvme/nvme.h
head/sys/dev/nvme/nvme_private.h
Modified: head/sys
Author: jimharris
Date: Tue Mar 26 18:43:53 2013
New Revision: 248740
URL: http://svnweb.freebsd.org/changeset/base/248740
Log:
Create a generic nvme_ctrlr_cmd_get_log_page function, and change the
health information log page function to use it.
Sponsored by: Intel
Modified:
head/sys/d
Author: jimharris
Date: Tue Mar 26 18:45:16 2013
New Revision: 248741
URL: http://svnweb.freebsd.org/changeset/base/248741
Log:
Keep a doubly-linked list of outstanding trackers.
This enables in-order re-submission of I/O after a controller reset.
Sponsored by: Intel
Modified:
head/
Author: markj
Date: Tue Mar 26 18:46:40 2013
New Revision: 248742
URL: http://svnweb.freebsd.org/changeset/base/248742
Log:
Make sure to set OBJS consistently in the cases where SRCS is and isn't
already defined. Setting it with "+=" makes it possible for other make
scripts (e.g. bsd.dtrace.
Author: melifaro
Date: Tue Mar 26 18:57:25 2013
New Revision: 248743
URL: http://svnweb.freebsd.org/changeset/base/248743
Log:
Permit changing MTU in 6to4 relay.
This behavior is recommended by RFC 4213 clause 3.2.
Sometimes fragmentation is the least evil.
For example, some Linux IP
On 26.03.2013 22:57, Alexander V. Chernikov wrote:
> Author: melifaro
> Date: Tue Mar 26 18:57:25 2013
> New Revision: 248743
> URL: http://svnweb.freebsd.org/changeset/base/248743
>
> Log:
Merge r238492.
> Permit changing MTU in 6to4 relay.
>
> This behavior is recommended by RFC 4213 cla
Author: markj
Date: Tue Mar 26 19:43:18 2013
New Revision: 248744
URL: http://svnweb.freebsd.org/changeset/base/248744
Log:
Invert the meaning of -S (added in r247405) and document its meaning. Also,
don't carp about the watchdog command taking too long until after the
watchdog has been patt
Author: adrian
Date: Tue Mar 26 19:46:51 2013
New Revision: 248745
URL: http://svnweb.freebsd.org/changeset/base/248745
Log:
Add per-TXQ EDMA FIFO staging queue support.
Each set of frames pushed into a FIFO is represented by a list of
ath_bufs - the first ath_buf in the FIFO list is mark
Author: jimharris
Date: Tue Mar 26 19:50:46 2013
New Revision: 248746
URL: http://svnweb.freebsd.org/changeset/base/248746
Log:
Add controller reset capability to nvme(4) and ability to explicitly
invoke it from nvmecontrol(8).
Controller reset will be performed in cases where I/O are rep
Author: jimharris
Date: Tue Mar 26 19:52:57 2013
New Revision: 248747
URL: http://svnweb.freebsd.org/changeset/base/248747
Log:
Add API for nvme consumers to access controller and namespace identify data.
Sponsored by: Intel
Reviewed by: carl
Modified:
head/sys/dev/nvme/nvme.h
head/
Author: jimharris
Date: Tue Mar 26 19:58:17 2013
New Revision: 248748
URL: http://svnweb.freebsd.org/changeset/base/248748
Log:
Add handling for controller fatal status (csts.cfs).
On any I/O timeout, check for csts.cfs==1. If set, the controller
is reporting fatal status and we reset th
Author: jimharris
Date: Tue Mar 26 20:02:35 2013
New Revision: 248749
URL: http://svnweb.freebsd.org/changeset/base/248749
Log:
Add a tunable for the I/O timeout interval. Default is still 30 seconds,
but can be adjusted between a min/max of 5 and 120 seconds.
Sponsored by: Intel
Revie
Author: adrian
Date: Tue Mar 26 20:04:45 2013
New Revision: 248750
URL: http://svnweb.freebsd.org/changeset/base/248750
Log:
Implement the replacement EDMA FIFO code.
(Yes, the previous code temporarily broke EDMA TX. I'm sorry; I should've
actually setup ATH_BUF_FIFOEND on frames so txq-
Author: emaste
Date: Tue Mar 26 20:11:09 2013
New Revision: 248751
URL: http://svnweb.freebsd.org/changeset/base/248751
Log:
Unconditionally include ${SRCCONF} if overridden
This avoids silently failing to include ${SRCCONF} specified by a make(1)
invocation.
Modified:
head/share/mk/bs
Author: pfg
Date: Tue Mar 26 20:17:08 2013
New Revision: 248752
URL: http://svnweb.freebsd.org/changeset/base/248752
Log:
Dtrace: dtrace.c erroneously checks for memory alignment on amd64.
Merge change from illumos:
3511 dtrace.c erroneously checks for memory alignment on amd64
Il
Author: emaste
Date: Tue Mar 26 20:32:46 2013
New Revision: 248753
URL: http://svnweb.freebsd.org/changeset/base/248753
Log:
Always define and use PROGNAME
This avoids having separate cases in the install rule for PROGNAME set and
not set. This is a minor cleanup in advance of further su
Author: jimharris
Date: Tue Mar 26 20:32:57 2013
New Revision: 248754
URL: http://svnweb.freebsd.org/changeset/base/248754
Log:
By default, always escalate to controller reset when an I/O times out.
While aborts are typically cleaner than a full controller reset, many times
an I/O timeout
Author: jimharris
Date: Tue Mar 26 20:56:58 2013
New Revision: 248755
URL: http://svnweb.freebsd.org/changeset/base/248755
Log:
Make nvme_ctrlr_reset a nop if a reset is already in progress.
This protects against cases where a controller crashes with multiple
I/O outstanding, each timing
Author: jimharris
Date: Tue Mar 26 21:00:18 2013
New Revision: 248756
URL: http://svnweb.freebsd.org/changeset/base/248756
Log:
Create struct nvme_status.
NVMe error log entries include status, so breaking this out into
its own data structure allows it to be included in both the
nvme_co
Author: jimharris
Date: Tue Mar 26 21:01:53 2013
New Revision: 248757
URL: http://svnweb.freebsd.org/changeset/base/248757
Log:
Add structure definitions and a controller command function for
error log pages.
Sponsored by: Intel
Reviewed by: carl
Modified:
head/sys/dev/nvme/nvme.h
Author: jimharris
Date: Tue Mar 26 21:03:03 2013
New Revision: 248758
URL: http://svnweb.freebsd.org/changeset/base/248758
Log:
Add structure definitions and controller command function for firmware
log pages.
Sponsored by: Intel
Reviewed by: carl
Modified:
head/sys/dev/nvme/nvme.h
Author: jimharris
Date: Tue Mar 26 21:05:15 2013
New Revision: 248759
URL: http://svnweb.freebsd.org/changeset/base/248759
Log:
When an asynchronous event request is completed, automatically fetch the
specified log page.
This satisfies the spec condition that future async events of the sa
Author: jimharris
Date: Tue Mar 26 21:08:32 2013
New Revision: 248760
URL: http://svnweb.freebsd.org/changeset/base/248760
Log:
Pass associated log page data to async event consumers, if requested.
Sponsored by: Intel
Reviewed by: carl
Modified:
head/sys/dev/nvme/nvme.c
head/sys/dev
Author: jimharris
Date: Tue Mar 26 21:14:51 2013
New Revision: 248761
URL: http://svnweb.freebsd.org/changeset/base/248761
Log:
Cap the number of retry attempts to a configurable number. This ensures
that if a specific I/O repeatedly times out, we don't retry it indefinitely.
The default
Author: jimharris
Date: Tue Mar 26 21:16:53 2013
New Revision: 248762
URL: http://svnweb.freebsd.org/changeset/base/248762
Log:
Ensure the controller's MDTS is accounted for in max_xfer_size.
The controller's IDENTIFY data contains MDTS (Max Data Transfer Size) to
allow the controller to
Author: jimharris
Date: Tue Mar 26 21:19:26 2013
New Revision: 248763
URL: http://svnweb.freebsd.org/changeset/base/248763
Log:
Remove the is_started flag from struct nvme_controller.
This flag was originally added to communicate to the sysctl code
which oids should be built, but there ar
Author: jimharris
Date: Tue Mar 26 21:42:53 2013
New Revision: 248764
URL: http://svnweb.freebsd.org/changeset/base/248764
Log:
Set Pre-boot Software Load Count to 0 at the end of the controller
start process.
The spec indicates the OS driver should use Set Features (Software
Progress M
Author: jimharris
Date: Tue Mar 26 21:45:37 2013
New Revision: 248765
URL: http://svnweb.freebsd.org/changeset/base/248765
Log:
Have nvd(4) register for controller notifications.
Also have nvd maintain controller/namespace relationships internally.
Sponsored by: Intel
Reviewed by: c
Author: jimharris
Date: Tue Mar 26 21:48:41 2013
New Revision: 248766
URL: http://svnweb.freebsd.org/changeset/base/248766
Log:
Just disable the controller instead of deleting IO queues during detach.
This is just as effective, and removes the need for a bunch of admin commands
to a contr
Author: jimharris
Date: Tue Mar 26 21:58:38 2013
New Revision: 248767
URL: http://svnweb.freebsd.org/changeset/base/248767
Log:
Add the ability to internally mark a controller as failed, if it is unable to
start or reset. Also add a notifier for NVMe consumers for controller fail
conditions
Author: jimharris
Date: Tue Mar 26 22:06:05 2013
New Revision: 248768
URL: http://svnweb.freebsd.org/changeset/base/248768
Log:
Abort and do not retry any outstanding admin commands left over after
a controller reset.
Sponsored by: Intel
Reviewed by: carl
Modified:
head/sys/dev/nvme
Author: jimharris
Date: Tue Mar 26 22:09:51 2013
New Revision: 248769
URL: http://svnweb.freebsd.org/changeset/base/248769
Log:
Replace usages of mtx_pool_find used for admin commands with a polling
mechanism.
Now that all requests are timed, we are guaranteed to get a completion
notifi
Author: jimharris
Date: Tue Mar 26 22:11:34 2013
New Revision: 248770
URL: http://svnweb.freebsd.org/changeset/base/248770
Log:
Change a number of malloc(9) calls to use M_WAITOK instead of
M_NOWAIT.
Sponsored by: Intel
Suggested by: carl
Reviewed by: carl
Modified:
head/sys/dev/n
Author: jimharris
Date: Tue Mar 26 22:13:07 2013
New Revision: 248771
URL: http://svnweb.freebsd.org/changeset/base/248771
Log:
Move common code from the different nvme_allocate_request functions into a
separate function.
Sponsored by: Intel
Suggested by: carl
Reviewed by: carl
Modi
Author: jimharris
Date: Tue Mar 26 22:14:47 2013
New Revision: 248772
URL: http://svnweb.freebsd.org/changeset/base/248772
Log:
Use errno and strerror to print more descriptive messages when operations
fail in nvmecontrol(8).
While here, use consistent checks of return values from stat, o
Author: jimharris
Date: Tue Mar 26 22:17:10 2013
New Revision: 248773
URL: http://svnweb.freebsd.org/changeset/base/248773
Log:
Clean up debug prints.
1) Consistently use device_printf.
2) Make dump_completion and dump_command into something more
human-readable.
Sponsored by: I
Author: jilles
Date: Tue Mar 26 22:46:56 2013
New Revision: 248774
URL: http://svnweb.freebsd.org/changeset/base/248774
Log:
accept(2): Mention inheritance of O_ASYNC and signal destination.
While almost nobody uses O_ASYNC, and rightly so, the inheritance of the
related properties across
Author: jimharris
Date: Tue Mar 26 23:04:06 2013
New Revision: 248775
URL: http://svnweb.freebsd.org/changeset/base/248775
Log:
Report support for unmapped I/O by adding PIM_UNMAPPED flag.
Submitted by: jhb, scottl
Modified:
head/sys/dev/isci/isci_controller.c
head/sys/dev/isci/isci_io
Author: markj
Date: Tue Mar 26 23:11:30 2013
New Revision: 248776
URL: http://svnweb.freebsd.org/changeset/base/248776
Log:
Fix interval-based rotations when the -t flag is used. In this case, find
the most-recently archived logfile and use its mtime to determine whether
or not to rotate, as
Author: jkim
Date: Tue Mar 26 23:58:13 2013
New Revision: 248777
URL: http://svnweb.freebsd.org/changeset/base/248777
Log:
Loosen restrictions for quoted strings. Now we can use more complex strings
and "escaped" quote characters.
MFC after:1 month
Modified:
head/usr.sbin/config/m
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
On 2013-03-26 19:58:13 -0400, Jung-uk Kim wrote:
> Author: jkim Date: Tue Mar 26 23:58:13 2013 New Revision: 248777
> URL: http://svnweb.freebsd.org/changeset/base/248777
>
> Log: Loosen restrictions for quoted strings. Now we can use more
> complex
Author: jimharris
Date: Wed Mar 27 00:15:22 2013
New Revision: 248778
URL: http://svnweb.freebsd.org/changeset/base/248778
Log:
Panic should the SCI framework ever request a pointer into the ccb's
data buffer for a ccb that is unmapped.
This case is currently not possible, since the SCI f
On Tue, 26 Mar 2013, Jim Harris wrote:
Author: jimharris
Date: Tue Mar 26 22:17:10 2013
New Revision: 248773
URL: http://svnweb.freebsd.org/changeset/base/248773
Log:
Clean up debug prints.
1) Consistently use device_printf.
2) Make dump_completion and dump_command into something more
Author: adrian
Date: Wed Mar 27 00:35:45 2013
New Revision: 248779
URL: http://svnweb.freebsd.org/changeset/base/248779
Log:
* Stop processing after HAL_EIO; this is what the reference driver does.
* If we hit an empty queue condition (which I haven't yet root caused, grr.)
.. make sure we
Author: jimharris
Date: Wed Mar 27 00:37:00 2013
New Revision: 248780
URL: http://svnweb.freebsd.org/changeset/base/248780
Log:
Fix printf format issue on i386.
Reported by: bz
Modified:
head/sys/dev/nvme/nvme_qpair.c
Modified: head/sys/dev/nvme/nvme_qpair.c
===
Author: adrian
Date: Wed Mar 27 03:33:19 2013
New Revision: 248781
URL: http://svnweb.freebsd.org/changeset/base/248781
Log:
Add the reference clock for each supported chip.
Obtained from:Linux (openwrt)
Modified:
head/sys/mips/atheros/ar71xx_chip.c
head/sys/mips/atheros/ar71xx
Author: adrian
Date: Wed Mar 27 03:38:58 2013
New Revision: 248782
URL: http://svnweb.freebsd.org/changeset/base/248782
Log:
Commit initial (unfinished!) support for the AR933x series of embedded
CPUs.
The AR933x is a mips24k based SoC with an AR9380 series SoC on board,
two gigabit eth
61 matches
Mail list logo