summaryrefslogtreecommitdiffstats
path: root/share
Commit message (Collapse)AuthorAgeFilesLines
* Extend taskqueue(9) to enable per-taskqueue callbacks.will2013-03-231-0/+28
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The scope of these callbacks is primarily to support actions that affect the taskqueue's thread environments. They are entirely optional, and consequently are introduced as a new API: taskqueue_set_callback(). This interface allows the caller to specify that a taskqueue requires a callback and optional context pointer for a given callback type. The callback types included in this commit can be used to register a constructor and destructor for thread-local storage using osd(9). This allows a particular taskqueue to define that its threads require a specific type of TLS, without the need for a specially-orchestrated task-based mechanism for startup and shutdown in order to accomplish it. Two callback types are supported at this point: - TASKQUEUE_CALLBACK_TYPE_INIT, called by every thread when it starts, prior to processing any tasks. - TASKQUEUE_CALLBACK_TYPE_SHUTDOWN, called by every thread when it exits, after it has processed its last task but before the taskqueue is reclaimed. While I'm here: - Add two new macros, TQ_ASSERT_LOCKED and TQ_ASSERT_UNLOCKED, and use them in appropriate locations. - Fix taskqueue.9 to mention taskqueue_start_threads(), which is a required interface for all consumers of taskqueue(9). Reviewed by: kib (all), eadler (taskqueue.9), brd (taskqueue.9) Approved by: ken (mentor) Sponsored by: Spectra Logic MFC after: 1 month
* Retire the mislabeled ENABLE_SUID_SSH knob.des2013-03-222-8/+0
|
* Document some flags to the uma_zcreate(). Not all flags are documented,glebius2013-03-211-0/+54
| | | | | only those that at least are used in the kernel, or that definitely work.
* Document uma_find_refcnt().glebius2013-03-211-1/+11
|
* Document NGM_NAT_LIBALIAS_INFO.glebius2013-03-211-1/+26
| | | | Submitted by: Dmitry Luhtionov <dmitryluhtionov gmail.com>
* Merge libzfs_core branch:mm2013-03-211-0/+1
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | includes MFV 238590, 238592, 247580 MFV 238590, 238592: In the first zfs ioctl restructuring phase, the libzfs_core library was introduced. It is a new thin library that wraps around kernel ioctl's. The idea is to provide a forward-compatible way of dealing with new features. Arguments are passed in nvlists and not random zfs_cmd fields, new-style ioctls are logged to pool history using a new method of history logging. http://blog.delphix.com/matt/2012/01/17/the-future-of-libzfs/ MFV 247580 [1]: To address issues of several deadlocks and race conditions the locking code around dsl_dataset was rewritten and the interface to synctasks was changed. User-Visible Changes: "zfs snapshot" can create more arbitrary snapshots at once (atomically) "zfs destroy" destroys multiple snapshots at once "zfs recv" has improved performance Backward Compatibility: I have extended the compatibility layer to support full backward compatibility by remapping or rewriting the responsible ioctl arguments. Old utilities are fully supported by the new kernel module. Forward Compatibility: New utilities work with old kernels with the following restrictions: - creating, destroying, holding and releasing of multiple snapshots at once is not supported, this includes recursive (-r) commands Illumos ZFS issues: 2882 implement libzfs_core 2900 "zfs snapshot" should be able to create multiple, arbitrary snapshots at once 3464 zfs synctask code needs restructuring References: https://www.illumos.org/issues/2882 https://www.illumos.org/issues/2900 https://www.illumos.org/issues/3464 [1] MFC after: 1 month Sponsored by: Hybrid Logic Inc. [1]
| * MFC @248493mm2013-03-193-3/+190
| |\
| * \ MFC @248461mm2013-03-1819-1486/+78
| |\ \
| * \ \ MFC @248093mm2013-03-0910-32/+145
| |\ \ \
| * | | | WiP merge of libzfs_core (MFV r238590, r238592)mm2013-03-051-0/+1
| | | | | | | | | | | | | | | | | | | | not yet working, ioctl handling needs to be changed
* | | | | Implement SOCK_CLOEXEC, SOCK_NONBLOCK and MSG_CMSG_CLOEXEC.jilles2013-03-191-8/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This change allows creating file descriptors with close-on-exec set in some situations. SOCK_CLOEXEC and SOCK_NONBLOCK can be OR'ed in socket() and socketpair()'s type parameter, and MSG_CMSG_CLOEXEC to recvmsg() makes file descriptors (SCM_RIGHTS) atomically close-on-exec. The numerical values for SOCK_CLOEXEC and SOCK_NONBLOCK are as in NetBSD. MSG_CMSG_CLOEXEC is the first free bit for MSG_*. The SOCK_* flags are not passed to MAC because this may cause incorrect failures and can be done later via fcntl() anyway. On the other hand, audit is expected to cope with the new flags. For MSG_CMSG_CLOEXEC, unp_externalize() is extended to take a flags argument. Reviewed by: kib
* | | | | iwn(4) doesn't support adhoc mode.glebius2013-03-191-3/+2
| |_|_|/ |/| | | | | | | | | | | | | | | PR: misc/177106 Submitted by: Hiren Panchasara <hiren.panchasara gmail.com>
* | | | Add bhyve to examples.neel2013-03-182-0/+181
| | | | | | | | | | | | | | | | | | | | Requested by: alfred, julian Obtained from: NetApp
* | | | Add preliminary support for IBM/Lenovo TrackPoint.jkim2013-03-181-3/+9
| |_|/ |/| | | | | | | | | | | | | | PR: kern/147237 (based on the initial patch for 8.x) Tested by: glebius (device detection and suspend/resume) MFC after: 1 month
* | | Cross-reference gvinum(8) instead of vinum(8).joel2013-03-161-2/+2
| | |
* | | Belatedly remove the vinum(4) manual page. The vinumglebius2013-03-162-1167/+0
| | | | | | | | | | | | | | | | | | manager is absent in FreeBSD since 6.0-RELEASE. Reviewed by: joel
* | | Add FreeBSD 9.1.joel2013-03-141-6/+9
| | |
* | | Sort sections.joel2013-03-141-23/+23
| | |
* | | Add GEOM_* kernel options to the SYNOPSIS.joel2013-03-141-1/+36
| | |
* | | vinum isn't a new product.joel2013-03-131-6/+1
| | |
* | | Add missed `_load' to the `if_foo_load="YES"' line.pluknet2013-03-132-2/+2
| | | | | | | | | | | | | | | PR: docs/176915 MFC after: 1 week
* | | Remove pav from portmgr whom had also stepped down a few months ago.eadler2013-03-121-1/+1
| | | | | | | | | | | | | | | | | | Thank you for your years of service. Reported by: rene
* | | Welcome Bryan to the team.eadler2013-03-121-1/+1
| | |
* | | Update Ruslan's last name per request.eadler2013-03-121-1/+1
| | | | | | | | | | | | Submitted by: rm
* | | Remove two members of portmgr that have recently stepped down. Thankeadler2013-03-121-5/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | you for your time on portmgr. Remove one member from bugmeister that has stepped down recently. Thank you for your time on bugmeister. While here clean up the graph a bit (remove dead cvs repos)
* | | Disconnect files removed in r248151bapt2013-03-111-3/+0
| | |
* | | Ports are no more exported via cvsup, remove cvsup examples and ↵bapt2013-03-116-159/+3
| | | | | | | | | | | | | | | | | | documentation refering to ports MFC after: 2 days
* | | Garbage collect NWFS and NCP bits which are now completely disconnectedattilio2013-03-092-112/+0
| |/ |/| | | | | | | | | from the tree since few months. This patch is not targeted for MFC.
* | The ZyXEL ZyAIR G-202 is also supported by zyd(4)gavin2013-03-071-1/+2
| | | | | | | | MFC after: 1 week
* | Suggest using the https: protocol not the svn: protocol to retrieve thegavin2013-03-071-4/+4
| | | | | | | | various repositories.
* | MFcalloutng:davide2013-03-046-15/+136
| | | | | | | | | | Dcoument the new functions added to condvar(9), sleep(9), sleepqueue(9) KPIs. Also document recent changes in timeout(9) and eventtimers(4).
* | Modernize some portions of the ports man page.eadler2013-03-041-12/+2
| | | | | | | | | | | | Stop documenting other operating systems's default patha Approved by: bcr (mentor)
* | Import libyaml as libbsdyml (private brand name)bapt2013-03-041-0/+1
|/ | | | | | | LibYAML is a YAML 1.1 parser and emitter under MIT license which will soon be used by the pkg boostrap (usr.bin/pkg) and bhyve Reviewed by: roberto, antoine
* Fix typos in hint names.mav2013-03-031-3/+3
| | | | MFC after: 1 week
* Garbage collect PORTALFS bits which are now completely disconnected fromattilio2013-03-022-68/+0
| | | | | | the tree since few months. This patch is not targeted for MFC.
* Garbage collect CODAFS bits which are now completely disconnected fromattilio2013-03-021-82/+0
| | | | | | the tree since few months. This patch is not targeted for MFC.
* Garbage collect XFS bits which are now already completely disconnectedattilio2013-03-021-108/+0
| | | | | | from the tree since few months. This is not targeted for MFC.
* Provide slightly more helpful feedback when we can't figure out whatbrooks2013-03-011-1/+1
| | | | | | compiler the user is using. PR: misc/173914
* MFcalloutng:mav2013-02-281-6/+6
| | | | | | | Switch eventtimers(9) from using struct bintime to sbintime_t. Even before this not a single driver really supported full dynamic range of struct bintime even in theory, not speaking about practical inexpediency. This change legitimates the status quo and cleans up the code.
* Refresh vendor driver version which adds ARC-1224 support.delphij2013-02-281-1/+3
| | | | | | | Many thanks to Areca for continuing to support FreeBSD. Submitted by: 黃清隆 <ching2048 areca com tw> MFC after: 3 days
* cxgbe(4): Consider all the API versions of the interfaces exported bynp2013-02-261-0/+9
| | | | | | | | | | | | | | the firmware (instead of just the main firmware version) when evaluating firmware compatibility. Document the new "hw.cxgbe.fw_install" knob being introduced here. This should fix kern/173584 too. Setting hw.cxgbe.fw_install=2 will mostly do what was requested in the PR but it's a bit more intelligent in that it won't reinstall the same firmware repeatedly if the knob is left set. PR: kern/173584 MFC after: 5 days
* Document VFCF_SBDRY.pluknet2013-02-211-1/+4
| | | | | Reviewed by: jhb X-MFC with: r247116
* In the EXAMPLES section: append the subsystem regular expression with apluknet2013-02-211-2/+2
| | | | | | typical interface name pattern as devd(8) uses full string match. Discussed with: avg, glebius
* Fix parallel build race with DEBUG_FLAGSemaste2013-02-201-7/+9
| | | | | Reported by: Jan Beich on freebsd-current Tested by: markj
* mdoc: sort sections.joel2013-02-181-11/+11
|
* Since clang 3.2 now has an option to suppress warnings about implicitlydim2013-02-161-1/+1
| | | | | | | promoted K&R parameters, remove the workarounds added for sendmail components in r228558. MFC after: 1 week
* fix leftover from an earlier experimentdes2013-02-151-1/+1
|
* Manually add the correct text for the LDNS and LDNS_UTILS options.des2013-02-151-0/+20
| | | | | There seems to be a bug in makeman that causes it to misunderstand the relationship between LDNS_UTILS and BIND_UTILS.
* The relationship between LDNS_UTILS and BIND_UTILS was inverted.des2013-02-151-1/+1
|
* Update src.conf(5) up to but not including my LDNS commits.des2013-02-151-15/+2
|
OpenPOWER on IntegriCloud