summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Probe capability to find effective frequency. When the TSC is P-statejkim2011-04-123-2/+17
| | | | invariant, APERF/MPERF ratio can be used to find effective frequency.
* Add definitions for CPUID instruction 6, ECX information.jkim2011-04-122-0/+12
|
* Add a new tunable 'machdep.disable_tsc_calibration' to allow skipping TSCjkim2011-04-121-16/+93
| | | | | frequency calibration. For Intel processors, if brand string from CPUID contains its nominal frequency, this frequency is used instead.
* Refactor hard-reset implementation in ahci(4).mav2011-04-122-14/+74
| | | | | | | | | Instead of spinning in a tight loop for up to 15 seconds, polling for device readiness while it spins up, return reset completion just after PHY reports "connect well" or 100ms connection timeout. If device was found, use callout for checking device readiness with 100ms period up to full 31 second timeout. This fixes system freeze for 5-10 seconds on drives hot plug-in.
* Fix 'zfs list <path>' handling. If the path was found, the 'ret' variable waspjd2011-04-121-3/+4
| | | | | | | | uninitialized. PR: kern/155940 Submitted by: KOIE Hidetaka <koie@suri.co.jp> MFC after: 1 week
* Get rid of DSIZ; instead just call the sizing function if provided.trasz2011-04-123-16/+15
|
* The replication mode that is currently support is fullsync, not memsync.pjd2011-04-121-1/+8
| | | | | | | Correct this and print a warning if different replication mode is configured. MFC after: 1 week
* Implement automatic SCSI sense fetching for mvs(4).mav2011-04-122-38/+111
| | | | | Make few improvements/changes to ATAPI PIO support to pass most of scgcheck (cdrtools) tests.
* Restore previous behaviour - always match rule when we doing tagging,ae2011-04-121-4/+7
| | | | | | | even when tag is already exists. Reported by: Vadim Goncharov MFC after: 1 week
* Update some terminology: floppies are no longer built, and FreeBSD is notnwhitehorn2011-04-121-2/+3
| | | | necessarily distributed by CVS any longer.
* Implement automatic SCSI sense fetching for siis(4).mav2011-04-122-36/+90
| | | | | Fix device freeze leak on recovery request (READ LOG, REQUEST SENSE) failure.
* Implement automatic SCSI sense fetching for ahci(4).mav2011-04-122-34/+93
|
* Implement automatic SCSI sense fetching for ata(4) in ATA_CAM mode.mav2011-04-122-4/+81
| | | | | While it could be successfully done by CAM error recovery code, I was told by several people that it is also a SIM obligation.
* Use the full and proper company name for Swinburne University of Technologylstewart2011-04-1231-165/+172
| | | | | | | | throughout the source tree. Requested by: Grenville Armitage, Director of CAIA at Swinburne University of Technology MFC after: 3 days
* Introduce geom_map, a GEOM provider designed for use byadrian2011-04-122-0/+357
| | | | | | | | | | | | | | | | | | | | | embedded flash stores. Some devices - notably those with uboot - don't have an explicit partition table (eg like Redboot's FIS.) geom_map thus provides an easy way to export the hard-coded flash layout as geom providers for use by filesystems and other tools. It also includes a "search" function which allows for dynamic creation of partition layouts where the device only has a single hard-coded partition. For example, if there is a "kernel+rootfs" partition, a single image can be created which appends the rootfs after the kernel with an appropriate search string. geom_map can be told to search for said search string and create a partition beginning after it. Submitted by: Aleksandr Rybalko <ray@dlink.ua>
* We don't need to call EOWRITE4(sc, EHCI_USBINTR, 0) directly from each EHCIhselasky2011-04-126-31/+3
| | | | | | | | bus driver at detach, hence ehci_detach() does exactly this since r199718. Submitted by: Luiz Otavio O Souza MFC after: 7 days Approved by: thompsa (mentor)
* If building (custom) FreeBSD images people tend to patch param.h. In casebz2011-04-121-1/+1
| | | | | | | | | | | | this happens just before the build is started (within the same second) CHECK_TIME actually triggers thinking param.h is in the future (see f_Xtime, c_Xtime logi in find(1) sources for the details in !F_EXACTTIME case). Using the -mtime -0s (seconds, rather than no unit) avoids this 1s race. Submitted by: ed (2009-05-03) Reviewed by: cperciva (2009-05-03), emaste Tested by: bz (for almost two years) MFC after: 4 days
* Even though this block is not compiled currently, properly assignbz2011-04-121-2/+4
| | | | | | | CSUM_TSO to if_hwassist rather than if_capabilities to avoid future errors. Reviewed by: jeff
* MFV of r220547, tzdata2011f:edwin2011-04-111-2/+21
| | | | | | - During 2011 the Falkland Islands will remain on Summer time. Obtained from: ftp://elsie.nci.nih.gov/pub/
* Vrele ni_startdir in the experimental NFS server for the casermacklem2011-04-111-3/+2
| | | | | | | | of NFSv2 getting an error return from VOP_MKNOD(). Without this patch, the server file system remains busy after an NFSv2 VOP_MKNOD() fails. MFC after: 2 weeks
* Merge two similar functions to reduce duplication.jkim2011-04-111-30/+29
|
* Don't do make release and make install in one step. Setting DESTDIR fornwhitehorn2011-04-112-2/+4
| | | | make release has deleterious consequences.
* Make the keymap script continue to work now that stderr is beingnwhitehorn2011-04-111-1/+2
| | | | redirected to the log file.
* Add an install target to release/Makefile instead of grubbing aroundnwhitehorn2011-04-113-23/+28
| | | | | (and requesting that users grub around) in /usr/obj. Also make sure that make clean removes the bootonly media and clean up that target a little.
* De-dup the ar5416 rates array definition.adrian2011-04-113-28/+13
|
* Rework change made at r203146. Instead of reporting all wire errors asmav2011-04-111-13/+19
| | | | | | | | | | | SCSI status errors to CAM (that was wrong, as it too often turned retriable wire errors into non-retriable REQUEST SENSE errors), do it only for STALL errors on control pipe of the CBI devices. STALL on control pipe is just a one of the ways to report error for CBI devices. PR: usb/150401, usb/154593. Reviewed by: hselasky MFC after: 1 week
* Generate opt_ah.h now for all ath tools, a recent HAL change of mineadrian2011-04-115-0/+44
| | | | now requires it.
* - Refactor softdep_setup_freeblocks() into a set of functions to preparejeff2011-04-111-151/+221
| | | | | | | for a new journal specific partial truncate routine. - Use dep_current[] in place of specific dependency counts. This is automatically maintained when workitems are allocated and has less risk of becoming incorrect.
* Add some cleanup code to the module unload operation forrmacklem2011-04-103-0/+43
| | | | | | | | | | the experimental NFS server, so that it doesn't leak memory when unloaded. However, unloading the NFSv4 server is not recommended, since all NFSv4 state will be lost by the unload and clients will have to recover the state after a server reload/restart as if the server crashed/rebooted. MFC after: 2 weeks
* Rename a misnamed structure field (hr_loginclass), and reorder priv(9)trasz2011-04-103-28/+28
| | | | constants to match the order and naming of syscalls. No functional changes.
* Some callers of proc_reparent() already have the parent process locked.kib2011-04-101-2/+6
| | | | | | Detect the situation and avoid process lock recursion. Reported by: Fabian Keil <freebsd-listen fabiankeil de>
* In hast_proto_recv() remove unnecessary check. The size is checkedtrociny2011-04-101-6/+1
| | | | | | | later in hast_proto_recv_data(). Approved by: pjd (mentor) MFC after: 1 week
* In hast_proto_recv_data() check that the size of the data to betrociny2011-04-101-2/+5
| | | | | | | received does not exceed the buffer size. Approved by: pjd (mentor) MFC after: 1 week
* Fix a typo in comments.trociny2011-04-101-1/+1
| | | | | Approved by: pjd (mentor) MFC after: 3 days
* hastd(8) maintains a map of dirty extents, not hastctl(8). Fix this.trociny2011-04-101-2/+2
| | | | | Approved by: pjd (mentor) MFC after: 3 days
* Fix a bug in the userland rpc library, where it would use armacklem2011-04-101-1/+2
| | | | | | | | | | | | negative return value from write to update its position in a buffer. The patch, courtesy of Andrey Simonenko, also simplifies a conditional by removing the "i != cnt" clause, since it is always true at this point in the code. The bug caused problems for mountd, when it generated a large reply to an exports RPC request. Submitted by: simon at comsys.ntu-kpi.kiev.ua MFC after: 2 weeks
* Modify the man pages to reflect the addition of a backuprmacklem2011-04-102-31/+22
| | | | | | | stable restart file, as done by r220510. This is a content change. MFC after: 2 weeks
* Rename 07.lpr to 07.lpd and re-connect to the build. This wasuqs2011-04-1011-3/+1
| | | | | | | forgotten in r216178. Submitted by: antoine Pointyhat: uqs
* Add link to rctl(8).trasz2011-04-101-1/+2
|
* Remove stray semicolon.trasz2011-04-101-1/+1
|
* Update recommendation for mergemaster. The -a and -i options are exclusive.dougb2011-04-101-1/+1
| | | | | PR: docs/156271 Submitted by: Fedor Dikarev <fedor.dikarev@gmail.com>
* Fix a long standing SUJ performance problem:jeff2011-04-102-57/+215
| | | | | | | | | | | | | | | - Keep a hash of indirect blocks that have recently been freed and are still referenced in the journal. - Lookup blocks in this hash before forcing a new block write to wait on the journal entry to hit the disk. This is only necessary to avoid confusion between old identities as indirects and new identities as file blocks. - Don't free jseg structures until the journal has written a record that invalidates it. This keeps the indirect block information around for as long as is required to be safe. - Force an empty journal block write when required to flush out stale journal data that is simply waiting for the oldest valid sequence number to advance beyond it.
* Add support for a backup stable restart file to the nfsd,rmacklem2011-04-101-9/+110
| | | | | | | | | | used for NFSv4 restart. This permits the nfsd to create the stable restart file as required and minimizes the risk of trouble if the file is lost. Suggested by: Tim Kientzle Reviewed by: jhb MFC after: 2 weeks
* Add a VOP_UNLOCK() for the directory, when that is not whatrmacklem2011-04-091-1/+5
| | | | | | | | VOP_LOOKUP() returned. This fixes a bug in the experimental NFS server for the case where VFS_VGET() fails returning EOPNOTSUPP in the ReaddirPlus RPC, forcing the use of VOP_LOOKUP() instead. MFC after: 2 weeks
* Linuxolator calls VOP_READDIR with ncookies pointer. Implement akib2011-04-091-7/+3
| | | | | | | | | workaround for fdescfs to not panic when ncookies is not NULL, similar to the one committed as r152254, but simpler, due to fdescfs_readdir() not calling vfs_read_dirent(). PR: kern/156177 MFC after: 1 week
* Don't hardcode assumptions about basic rates, similar to what the rt2661bschmidt2011-04-092-21/+23
| | | | support code does. While here remove an unnecessary loop.
* Allow the user to use the live environment post-installation, as wellnwhitehorn2011-04-091-2/+5
| | | | as improving error handling.
* Rename the "Reboot" option to "Exit", which reflects what it actuallynwhitehorn2011-04-091-1/+1
| | | | | | does. The rc.local wrapper script will also soon grow an option to use the live environment after installation, so an immediate reboot isn't even necessarily implied.
* Document SHA256/512 modes.markm2011-04-091-2/+8
| | | | MFC after: 1 month
* Add SHA256/512 ($5$ and $6$) to crypt(3). Used in linux-world, doesn'tmarkm2011-04-096-1/+1009
| | | | | | | | hurt us. PR: misc/124164 Submitted by: KIMURA Yasuhiro < yasu utahime org > MFC after: 1 month
OpenPOWER on IntegriCloud