summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* Pick up the right change, not it's close cousin. The onemjacob2010-05-111-2/+4
| | | | | | | | previously submitted was wrong. Point hat: mjacob X-MFC: 207933 MFC after: 1 week
* I added vfs_lowvnodes event, but it was only used for a short while and nowpjd2010-05-113-6/+1
| | | | | | it is totally unused. Remove it. MFC after: 3 days
* Eventhough r203504 eliminates taste traffic provoked by vdev_geom.c,pjd2010-05-111-1/+10
| | | | | | | | | | | | | | ZFS still like to open all vdevs, close them and open them again, which in turn provokes taste traffic anyway. I don't know of any clean way to fix it, so do it the hard way - if we can't open provider for writing just retry 5 times with 0.5 pauses. This should elimitate accidental races caused by other classes tasting providers created on top of our vdevs. MFC after: 3 days Reported by: James R. Van Artsdalen <james-freebsd-fs2@jrv.org> Reported by: Yuri Pankov <yuri.pankov@gmail.com>
* sh: Add some simple testcases for pathname expansion.jilles2010-05-111-0/+61
|
* Add missing new line characters to the warnings.pjd2010-05-111-2/+2
| | | | MFC after: 3 days
* Deal sensibly with more than 26 sg devices. It isn't a completemjacob2010-05-111-1/+6
| | | | | | | solution. Sponsored by: Panasas MFC after: 1 week
* Right now, WITNESS just blindly pipes all the output to theattilio2010-05-114-18/+24
| | | | | | | | | | | | | (TOCONS | TOLOG) mask even when called from DDB points. That breaks several output, where the most notable is textdump output. Fix this by having configurable callbacks passed to witness_list_locks() and witness_display_spinlock() for printing out datas. Reported by: several broken textdump outputs Tested by: Giovanni Trematerra <giovanni dot trematerra at gmail dot com> MFC after: 7 days X-MFC: r207922
* Enable 5.5 and 11Mbit TX rates.bschmidt2010-05-111-3/+3
| | | | | | Reviewed by: sam Approved by: rpaulo (mentor) MFC after: 3 days
* Fix style for witness functions prototypes.attilio2010-05-111-2/+2
| | | | MFC after: 7 days
* This fixes a bug with the one-2-one model socket when arrs2010-05-114-7/+22
| | | | | | | user sets up a socket to a server sends data and closes the socket before the server has called accept(). It used to NOT work at all. Now we add a flag to the assoc and defer assoc cleanup so that the accept will suceed.
* Document FIONREAD, FIONWRITE and FIONSPACE.brueffer2010-05-111-1/+25
| | | | | | Obtained from: NetBSD Submitted by: emaste MFC after: 1 week
* There is not a good reason to have a different prototype for db_printf()attilio2010-05-113-9/+11
| | | | | | | | when compared to printf(). Unify it by returning the number of characters displayed for db_printf() as well. MFC after: 7 days
* Fix a hang introduced in r206878 for kernel compiled with SMP support butattilio2010-05-111-1/+2
| | | | | | | | | being not actual SMP and similar situations by always initializing the smp ipi mutex. Reported by: marius MFC after: 3 days X-MFC: r206878
* Back out r205134. It is not stable.pjd2010-05-111-1/+1
| | | | MFC after: 3 days
* Fix failed assertion on destroying datasets from an older pool version.mm2010-05-111-3/+2
| | | | | | | | | OpenSolaris onnv revision: 9390:887948510f80 PR: kern/146471 Approved by: pjd, delphij (mentor) Obtained from: OpenSolaris (Bug ID 6826861) MFC after: 3 days
* Fix possible panic with zfs destroy.mm2010-05-112-2/+109
| | | | | | | | | OpenSolaris onnv revision: 8779:f164e0e90508 PR: kern/146471 Approved by: pjd, delphij (mentor) Obtained from: OpenSolaris (Bug ID 6784924) MFC after: 3 days
* Fix zfs rename (may occasionally fail with dataset busy).mm2010-05-111-1/+7
| | | | | | | | | OpenSolaris onnv revision: 8517:41a0783dde17 PR: kern/146471 Approved by: pjd, delphij (mentor) Obtained from: OpenSolaris (Bug ID 6784757) MFC after: 3 days
* Fix endianess bug in ZFS intent log (ZIL).mm2010-05-111-2/+8
| | | | | | | | OpenSolaris onnv revision: 8109:6147a1bdd359 Approved by: pjd, delphij (mentor) Obtained from: OpenSolaris (Bug ID 6760048) MFC after: 3 days
* Update synchronization annotations for struct vm_page. Add a commentalc2010-05-111-5/+8
| | | | explaining how the setting of PG_WRITEABLE is synchronized.
* boot time size the flowtablekmacy2010-05-101-3/+15
| | | | MFC after: 3 days
* MFV of tzdata2010j, r207896edwin2010-05-102-2/+53
| | | | | | | | - Bahia de Banderas (Mexican state of Nayarit) changed time zone UTC-7 to new time zone UTC-6 on April 4, 2010 (to share the same time zone as nearby city Puerto Vallarta, Jalisco). Obtained from: ftp://elsie.nci.nih.gov/pub/
* Include <machine/ofw_machdep.h> for OF_getscsinitid().marius2010-05-101-0/+1
|
* - Don't return EAGAIN from gv_unload(). It was used to work around thejh2010-05-104-5/+20
| | | | | | | | | | | deadlock fixed in r207671. - Wait for worker process to exit at class unload. The worker process was not guaranteed to exit before the linker unloaded the module. - Use 0 as the worker process exit status instead of ENXIO and style the NOTREACHED comment. Reviewed by: lulf X-MFC after: r207671
* In g_zero_destroy_geom(), return 0 instead of EBUSY in the success case.jh2010-05-101-1/+1
| | | | | | | EBUSY was probably used as a workaround for the deadlock fixed in r207671. Approved by: pjd X-MFC after: r207671
* Formatting nitimp2010-05-101-1/+2
|
* Now sge(4) supports TCP segmentation offload (TSO).yongari2010-05-101-4/+4
|
* SiS190 supports RX 10 bytes padding, CRC stripping as well as VLANyongari2010-05-101-50/+14
| | | | | | | | | | | | hardware tag insertion/stripping. Remove conditional code that disables these hardware features on SiS190. Also nuke RX fixup code which is no more required on strict-alignment architectures because SiS190 supports RX 10 bytes padding. Now all hardware features except jumbo frame and WOL are supported. Thanks to Masa Murayama who confirmed SiS190 also has the same hardware features of SiS191. I guess the only difference between SiS191 and SiS190 would be jumbo frame support. It will be implemented in near future.
* Implement TSO and TSO over VLAN. Increase number of allowedyongari2010-05-102-15/+103
| | | | | | | | | | | | | fragmentation of mbuf chain to 32 from 16 because TSO can send 64KB sized packet which in turn requires long list of mbuf chain. Due to lack of documentation, I'm not sure whether driver have to pull up ethernet/IP/TCP header with options to make controller work but driver have to parse TCP header to update pseudo TCP checksum anyway. The controller expects pseudo TCP checksum computed by upper stack and the checksum should follow the MS NDIS specification to make TSO work. Tested by: xclin <xclin <> cs dot nctu dot edu dot tw >
* Enable liblzma support in libarchivemm2010-05-108-17/+18
| | | | | | | | Adjust dependencies for programs using libarchive Add xz and linkage against liblzma to rescue system Approved by: kientzle, delphij (mentor) MFC after: 2 weeks
* The thread_unsuspend() requires both process mutex and process spinlockkib2010-05-101-4/+4
| | | | | | | locked. Postpone the process unlock till the thread_unsuspend() is called. Approved by: des (procfs maintainer) MFC after: 1 week
* For detach procfs ctl command, also clear P_STOPPED_TRACE process stopkib2010-05-101-1/+4
| | | | | | | | flag, and for each thread, TDB_SUSPEND debug flag, same as it is done by exit1() for orphaned debugee. Approved by: des (procfs maintainer) MFC after: 1 week
* Continue cleaning the queue instead of moving to the next queue orkib2010-05-101-4/+2
| | | | | | | bailing out if acquisition of page lock caused page position in the queue to change. Pointed out by: alc
* Add two public headers missing in r207842mm2010-05-104-6/+5
| | | | | | | Adjust CFLAGS for lzmainfo, xz, xzdec Approved by: delphij (mentor) MFC after: 2 weeks
* Import of liblzma, xz, xzdec, lzmainfo from vendor branchmm2010-05-10209-2/+43261
|\ | | | | | | | | | | | | | | Add support for xz and lzma to lesspipe.sh (xzless, lzless) Bump __FreeBSD_version Approved by: delphij (mentor) MFC after: 2 weeks
| * Vendor import of xz (stripped)mm2010-05-07195-0/+42846
| | | | | | Git revision: a290cfee3e23f046889c022aa96b4eca2016fdda Approved by: delphij (mentor)
* Export hardware MAC statistics through sysctl node. Previouslyyongari2010-05-093-78/+242
| | | | | | | | | | | | | | | | | | | | | | fxp(4) already used to extract most hardware MAC statistics but it didn't show them. With this change, all MAC statistics counters are exported. Because there are a couple of new counters for 82558 and 82559, enable extended MAC statistics functionality to get these counters. Accoring to public data sheet, 82559 MAC statistics return 24 DWORD counters(3 counters are unknown at this moment) so increase MAC counter structure to meet the MAC statistics block size. The completion of MAC counter dump is now checked against FXP_STATS_DR_COMPLETE status code which is appended at the end of status block. Previously fxp(4) ignored the status of the FXP_SCB_COMMAND_CU_DUMPRESET command. fxp(4) does not wait for the completion of pending command before issuing FXP_SCB_COMMAND_CU_DUMPRESET. Instead it skips the command and try it next time. This scheme may show better performance but there is chance to loose updated counters after stopping controller. So make sure to update MAC statistics in fxp_stop(). While I'm here move sysctl node creation to fxp_sysctl_node(). Tested by: Larry Baird < lab <> gta dot com >
* sh(1): Fix "reserved word" vs "keyword" inconsistency.jilles2010-05-091-9/+9
| | | | | Use "keyword" everywhere, like the output of the 'type' builtin, and only mention "reserved word" once to say it is the same thing.
* strptime(3) confused July with June with the fr_FR locale.edwin2010-05-091-0/+8
| | | | | | | | | | | | | When parsing the month "juillet" (abbr "jul"), %B recognized it as "juin" (abbr "jui") because the full name of the month names is checked at the same time as the abbrevation. The new behaviour checks the full names first before checking the abbrevation names. PR: kern/141939 Submitted by: Denis Chatelain <denis@tikuts.com> MFC after: 1 week
* Various wording, spelling and markup fixes.brueffer2010-05-091-9/+14
| | | | | | PR: 145251 Submitted by: Hywel Mallett <hywel@hmallett.co.uk> (partly) MFC after: 3 week
* Add flowtable support to IPv6kmacy2010-05-094-6/+60
| | | | | | | Tested by: qingli@ Reviewed by: qingli@ MFC after: 3 days
* Fix error in comment.jilles2010-05-091-1/+1
|
* sh: Add some parser tests.jilles2010-05-093-0/+53
| | | | | | | case1.0 tests POSIX requirements and one more for keywords in case statements. The others test very special cases of command substitution. These also work on stable/8.
* Push down the acquisition of the page queues lock into vm_pageq_remove().alc2010-05-092-27/+41
| | | | | | (This eliminates a surprising number of page queues lock acquisitions by vm_fault() because the page's queue is PQ_NONE and thus the page queues lock is not needed to remove the page from a queue.)
* Call vm_page_deactivate() rather than vm_page_dontneed() inalc2010-05-091-4/+2
| | | | | | | | | | swp_pager_force_pagein(). By dirtying the page, swp_pager_force_pagein() forces vm_page_dontneed() to insert the page at the head of the inactive queue, just like vm_page_deactivate() does. Moreover, because the page was invalid, it can't have been mapped, and thus the other effect of vm_page_dontneed(), clearing the page's reference bits has no effect. In summary, there is no reason to call vm_page_dontneed() since its effect will be identical to calling the simpler vm_page_deactivate().
* Generate some tests for sh's case command from the fnmatch tests.jilles2010-05-094-1/+256
| | | | | I'm committing the generated files because I don't like a build dependency for the sh(1) tests, and they are small and will not change much.
* sh: Fix bug in assignment error test.jilles2010-05-091-2/+2
| | | | | The test failed if the command returned nonzero exit status, and it really should return that.
* builtin(1): sh has no @ builtin command.jilles2010-05-091-2/+2
| | | | MFC after: 1 week
* Document clock and pshared condvar attributes.jilles2010-05-093-11/+107
| | | | | | | | | Note: clock accepts CLOCK_VIRTUAL and CLOCK_PROF too, but this seems broken as it simply waits for the difference of the current and given value of the clock as if it were CLOCK_MONOTONIC. So document only CLOCK_REALTIME and CLOCK_MONOTONIC as allowed. MFC after: 1 week
* Catch up with libusbhid merge (rev 205728).kaiw2010-05-091-11/+5
| | | | | | | | | | | | | | hid_get_data() now expects that the hid data passed in always contains the report ID byte. Thus we should not skip the the report ID byte in hid_interrupt(). Also, if HUP_KEYBOARD usage is an array, do not try to modify the 'data' pointer, instead, increase the hid_item_t field 'pos' by 'report_size' before calling hid_get_data() during each iteration. PR: usb/146367 Reported and tested by: Alex Deiter Pointy hat to: kaiw Reviewed by: emax
* Remove the page queues lock around a call to vm_page_activate(). Make thealc2010-05-091-3/+1
| | | | page dirty before adding it to the active queue.
OpenPOWER on IntegriCloud