Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: master

Oct 18, 2012

  1. Fully backout latest changes.

    Pointy hat to:	sobomax
    
    
    git-svn-id: svn+ssh://svn.freebsd.org/base/head@241672 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
    authored
  2. Add ability to queue nvme_request objects if no nvme_trackers are ava…

    …ilable.
    
    This eliminates the need to manage queue depth at the nvd(4) level for
    Chatham prototype board workarounds, and also adds the ability to
    accept a number of requests on a single qpair that is much larger
    than the number of trackers allocated.
    
    Sponsored by:	Intel
    
    
    git-svn-id: svn+ssh://svn.freebsd.org/base/head@241665 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
    authored
  3. Preallocate a limited number of nvme_tracker objects per qpair, rather

    than dynamically creating them at runtime.
    
    Sponsored by:	Intel
    
    
    git-svn-id: svn+ssh://svn.freebsd.org/base/head@241664 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
    authored
  4. Create nvme_qpair_submit_request() which eliminates all of the code

    duplication between the admin and io controller-level submit
    functions.
    
    Sponsored by:	Intel
    
    
    git-svn-id: svn+ssh://svn.freebsd.org/base/head@241663 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
    authored
  5. Simplify how the qpair lock is acquired and released.

    Sponsored by:	Intel
    
    
    git-svn-id: svn+ssh://svn.freebsd.org/base/head@241662 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
    authored
  6. Cleanup uio-related code to use struct nvme_request and

    nvme_ctrlr_submit_io_request().
    
    While here, also fix case where a uio may have more than 1 iovec.
    NVMe's definition of SGEs (called PRPs) only allows for the first SGE to
    start on a non-page boundary.  The simplest way to handle this is to
    construct a temporary uio for each iovec, and submit an NVMe request
    for each.
    
    Sponsored by:	Intel
    
    
    git-svn-id: svn+ssh://svn.freebsd.org/base/head@241661 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
    authored
  7. Add nvme_ctrlr_submit_[admin|io]_request functions which consolidates

    code for allocating nvme_tracker objects and making calls into
    bus_dmamap_load for commands which have payloads.
    
    Sponsored by:	Intel
    
    
    git-svn-id: svn+ssh://svn.freebsd.org/base/head@241660 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
    authored
  8. Add struct nvme_request object which contains all of the parameters p…

    …assed
    
    from an NVMe consumer.
    
    This allows us to mostly build NVMe command buffers without holding the
    qpair lock, and also allows for future queueing of nvme_request objects
    in cases where the submission queue is full and no nvme_tracker objects
    are available.
    
    Sponsored by:	Intel
    
    
    git-svn-id: svn+ssh://svn.freebsd.org/base/head@241659 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
    authored
  9. Merge struct nvme_prp_list into struct nvme_tracker.

    This simplifies the driver significantly where it is constructing
    commands to be submitted to hardware.  By reducing the number of
    PRPs (NVMe parlance for SGE) from 128 to 32, it ensures we do not
    allocate too much memory for more common smaller I/O sizes, while
    still supporting up to 128KB I/O sizes.
    
    This also paves the way for pre-allocation of nvme_tracker objects
    for each queue which will simplify the I/O path even further.
    
    Sponsored by:	Intel
    
    
    git-svn-id: svn+ssh://svn.freebsd.org/base/head@241658 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
    authored
  10. Add return codes to all functions used for submitting commands to I/O

    queues.
    
    Sponsored by:	Intel
    
    
    git-svn-id: svn+ssh://svn.freebsd.org/base/head@241657 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
    authored
  11. put another bandaid on the build until i figure out bsnmp headers

    git-svn-id: svn+ssh://svn.freebsd.org/base/head@241656 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
    authored

Oct 17, 2012

  1. Add missing initialization for do_prefix.

    Corrects porting error in r238391
    
    Vendor issue and changeset reference:
    2883 changing "canmount" property to "on" should not always remount dataset
    https://www.illumos.org/issues/2883
    Changeset 13743:95aba6e49b9f
    
    Reported by:	Guido Falsi <mad@madpilot.net>, avg
    Obtained from:	illumos (issue #2883)
    MFC after:	1 week
    
    
    git-svn-id: svn+ssh://svn.freebsd.org/base/head@241655 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
    authored
  2. fix build

    MFC after:	1 week
    
    
    git-svn-id: svn+ssh://svn.freebsd.org/base/head@241654 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
    authored
  3. Ask to become root via sudo(8) and give user ability to save this pre…

    …ference.
    
    Reviewed by:	adrian (co-mentor)
    Approved by:	adrian (co-mentor)
    
    
    git-svn-id: svn+ssh://svn.freebsd.org/base/head@241653 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
    authored
  4. Don't redefine macros defined in if.h and ethernet.h.

    git-svn-id: svn+ssh://svn.freebsd.org/base/head@241652 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
    authored
  5. Remove harmless, but superfluous local change that creeped in along

    with the r241649.
    
    
    git-svn-id: svn+ssh://svn.freebsd.org/base/head@241651 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
    authored
  6. Fix VIMAGE build.

    Reported by:	Nikolai Lifanov <lifanov mail.lifanov.com>
    Pointy hat to:	glebius
    
    
    git-svn-id: svn+ssh://svn.freebsd.org/base/head@241650 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
    authored
  7. Revert latest changes to cron, until better version is worked out (I …

    …hope).
    
    Requested by:   few
    
    
    git-svn-id: svn+ssh://svn.freebsd.org/base/head@241649 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
    authored
  8. Avoid potential bad pointer dereference.

    Previously RuleAdd would leave entry->la unset for the first entry in
    the proxyList.
    
    Sponsored by: ADARA Networks
    MFC After: 1 week
    
    
    git-svn-id: svn+ssh://svn.freebsd.org/base/head@241648 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
    authored
  9. provide helper if_initbaudrate() to set if_baudrate_pf and if_baudrat…

    …e_pf.
    
    again, use ixgbe(4) as an example of how to use new helper function.
    
    Reviewed by:	jhb
    MFC after:	1 week
    
    
    git-svn-id: svn+ssh://svn.freebsd.org/base/head@241646 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
    authored
  10. Remove the netncp and nwfs files from here. They will be moved to the

    ObsoleteFiles.inc file later.
    
    Discussed with: attilio
    
    
    git-svn-id: svn+ssh://svn.freebsd.org/base/head@241645 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
    authored
  11. Avoid panic when a netmap instance cannot obtain memory.

    A uint32_t is always >= 0.
    
    Sponsored by: ADARA Networks
    
    
    git-svn-id: svn+ssh://svn.freebsd.org/base/head@241643 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
    authored
  12. Always provide sndbuf and MSS values in a flowc command, even when the

    driver is going to abort the connection right after the flowc.
    
    MFC after:	3 days
    
    
    git-svn-id: svn+ssh://svn.freebsd.org/base/head@241642 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
    authored
  13. Include a piece that was left out during r241629.

    Pointy hat to:	me
    
    
    git-svn-id: svn+ssh://svn.freebsd.org/base/head@241641 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
    authored
  14. Disconnect non-MPSAFE NTFS from the build in preparation for dropping

    GIANT from VFS. This code is particulary broken and fragile and other
    in-kernel implementations around, found in other operating systems,
    don't really seem clean and solid enough to be imported at all.
    If someone wants to reconsider in-kernel NTFS implementation for
    inclusion again, a fair effort for completely fixing and cleaning it
    up is expected.
    
    In the while NTFS regular users can use FUSE interface and ntfs-3g
    port to work with their NTFS partitions.
    
    This is not targeted for MFC.
    
    
    git-svn-id: svn+ssh://svn.freebsd.org/base/head@241636 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
    authored
  15. Disconnect non-MPSAFE NWFS from the build in preparation for dropping

    GIANT from VFS. In addition, disconnect also netncp, which is a base
    requirement for NWFS.
    
    In the possibility of a future maintenance of the code and later
    readd to the FreeBSD base, maybe we should think about a better location
    for netncp. I'm not entirely sure the / top location is actually right,
    however I will let network people to comment on that more specifically.
    
    This is not targeted for MFC.
    
    
    git-svn-id: svn+ssh://svn.freebsd.org/base/head@241629 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
    authored
  16. zfs: make use of getnewvnode_reserve in zfs_mknode and zfs_zget

    getnewvnode_reserve helps to avoid "recursing" back into zfs code
    via getnewvnode when that latter needs to reclaim some vnodes.
    zfs code may hold a number of locks around getnewvnode and doesn't
    expect any recursion to happen on those locks, because that never
    happens in solaris.
    
    I believe that this change also eleiminates a need for the delayed
    znode destruction via the taskqueue.
    
    Many thanks to kib for devising getnewvnode_reserve.
    
    Reported by:	flo
    Tested by:	bapt, kwm, swills
    MFC after:	2 weeks
    X-MFC after:	r241556
    
    
    git-svn-id: svn+ssh://svn.freebsd.org/base/head@241628 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
    authored
  17. Fix build.

    git-svn-id: svn+ssh://svn.freebsd.org/base/head@241627 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
    authored
  18. Whitespace cleanup.

    MFC after:	3 days
    
    
    git-svn-id: svn+ssh://svn.freebsd.org/base/head@241626 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
    authored
  19. o Use nanosleep(2) to sleep exact amount of time till the next second,

    not multiple of 1 second, which results in actual time to drift back
    and forth every run within 1 second of the actual action has
    been set for.
    
    Suggested by:   Ian Lepore
    
    o Schedule the first run in 1 second after starting up, not on the
    boundary of the next minute, which results in the every_second jobs
    not being run.
    
    
    git-svn-id: svn+ssh://svn.freebsd.org/base/head@241625 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
    authored

Oct 16, 2012

  1. report total number of ports for each lagg(4) interface

    via net.link.lagg.X.count sysctl
    
    MFC after:	1  week
    
    
    git-svn-id: svn+ssh://svn.freebsd.org/base/head@241619 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
    authored
  2. Properly handle non-keyword case by setting e->second to 0.

    git-svn-id: svn+ssh://svn.freebsd.org/base/head@241618 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
    authored
  3. introduce concept of ifi_baudrate power factor. the idea is to work

    around the problem where high speed interfaces (such as ixgbe(4))
    are not able to report real ifi_baudrate. bascially, take a spare
    byte from struct if_data and use it to store ifi_baudrate power
    factor. in other words,
    
    real ifi_baudrate = ifi_baudrate * 10 ^ ifi_baudrate power factor
    
    this should be backwards compatible with old binaries. use ixgbe(4)
    as an example on how drivers would set ifi_baudrate power factor
    
    Discussed with:	kib, scottl, glebius
    MFC after:	1 week
    
    
    git-svn-id: svn+ssh://svn.freebsd.org/base/head@241616 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
    authored
  4. Add support for samsung HM250JI

    PR:		usb/121474
    Submitted by:	Ben Stuyts <ben@altesco.nl>
    Approved by:	cperciva (implicit)
    MFC after:	3 days
    
    
    git-svn-id: svn+ssh://svn.freebsd.org/base/head@241613 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
    authored
  5. Obey the value of "MK_BMAKE".

    git-svn-id: svn+ssh://svn.freebsd.org/base/head@241612 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
    authored
Something went wrong with that request. Please try again.