summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Whitespace and style nits.jhb2006-10-311-4/+3
|
* Hook up gjournal bits to the build.pjd2006-10-318-3/+18
| | | | Sponsored by: home.pl
* Add Makefile for geom_journal kernel module.pjd2006-10-311-0/+10
| | | | Sponsored by: home.pl
* Forgot to add file with gjournal specific fsck code.pjd2006-10-311-0/+774
| | | | Sponsored by: home.pl
* Add fs_unrefs field to the super block structure.pjd2006-10-311-1/+2
| | | | Sponsored by: home.pl
* Add recently added fs_unrefs field.pjd2006-10-311-2/+3
| | | | Sponsored by: home.pl
* Update after function renames.pjd2006-10-312-4/+3
| | | | Sponsored by: home.pl
* Implements gjournal support. If file system has gjournal support enabledpjd2006-10-317-14/+41
| | | | | | | | | | and -p flag was given perform fast file system checking (bascially only garbage collecting of orphaned objects). Rename bread() to blread() and bwrite() to blwrite() as we now link to the libufs library, which also implement functions with that names. Sponsored by: home.pl
* Teach about new fields (cg_unrefs and fs_unrefs) and new FS_GJOURNAL flag.pjd2006-10-312-5/+12
| | | | Sponsored by: home.pl
* Teach mount(8) about MNT_GJOURNAL flag.pjd2006-10-311-0/+2
| | | | | | | MNT_GJOURNAL flag is not a mount-time flag, but it is needed to show 'gjournal' option in mount(8) output. Sponsored by: home.pl
* Add -J flag to both newfs(8) and tunefs(8) which allows to enable gjournalpjd2006-10-316-9/+56
| | | | | | | | support. I left -j flag for UFS journal implementation which we may gain at some point. Sponsored by: home.pl
* Add gjournal specific code to the UFS file system:pjd2006-10-319-4/+250
| | | | | | | | | | | | | | | | - Add FS_GJOURNAL flag which enables gjournal support on a file system. - Add cg_unrefs field to the cylinder group structure which holds number of unreferenced (orphaned) inodes in the given cylinder group. - Add fs_unrefs field to the super block structure which holds total number of unreferenced (orphaned) inodes. - When file or a directory is orphaned (last reference is removed, but object is still open), increase fs_unrefs and cg_unrefs fields, which is a hint for fsck in which cylinder groups looks for such (orphaned) objects. - When file is last closed, decrease {fs,cg}_unrefs fields. - Add VV_DELETED vnode flag which points at orphaned objects. Sponsored by: home.pl
* Fix buildworld.glebius2006-10-311-1/+2
|
* Add MNT_GJOURNAL flag which indicates, that file system has gjournalpjd2006-10-311-3/+4
| | | | | | | | | | support enabled. Add mnt_gjprovider field which keeps gjournal provider's name on which file system is placed on. This allows to not place file system on gjournal directly and allows gjournal class to pair gjournal provider with file system. Sponsored by: home.pl
* Add userland control utility for gjournal GEOM class.pjd2006-10-314-0/+465
| | | | Sponsored by: home.pl
* Add gjournal GEOM class (kernel side), which implements block levelpjd2006-10-313-0/+3555
| | | | | | | | journaling and can be tought about marking file system as clean before doing journal switch, which easly allows to add journaling to file systems that don't have this feature. Sponsored by: home.pl
* Implement BIO_FLUSH handling by simply passing it down to the components.pjd2006-10-316-3/+174
| | | | Sponsored by: home.pl
* Implement cgwrite1(3) function which stored a given cylinder group on disk.pjd2006-10-315-2/+38
| | | | Sponsored by: home.pl
* Implement BIO_FLUSH handling for da(4), amr(4), ata(4) and ataraid(4).pjd2006-10-315-25/+135
| | | | Sponsored by: home.pl
* Add a new disk flag - DISKFLAG_CANFLUSHCACHE, which indicates that the diskpjd2006-10-313-2/+25
| | | | | | can handle BIO_FLUSH requests. Sponsored by: home.pl
* Add a new I/O request - BIO_FLUSH, which basically tells providers below topjd2006-10-314-1/+32
| | | | | | | flush their caches. For now will mostly be used by disks to flush their write cache. Sponsored by: home.pl
* remove gdbserver on ARCH i386 as we now install it again..jmg2006-10-311-0/+2
| | | | Submitted by: Pawel Worach
* Make EWOULDBLOCK a recoverable error so that the request is retransmitted.mohans2006-10-311-2/+2
| | | | | | | This bug results in data corruption with NFS/TCP. Writes are silently dropped on EWOULDBLOCK (because socket send buffer is full and sockbuf timer fires). Reviewed by: ups@
* Fix a typo resulting in truncated linux32 signal trampoline code copiedkib2006-10-311-1/+1
| | | | | | | to the usermode. Usually, signal handler segfaulted on return. Reviewed by: jhb MFC after: 3 days
* Allocate receive and transmit data structures during attach() and free themjhb2006-10-311-47/+82
| | | | | | | | | | | | | during detach() similar to other NIC drivers rather than allocating them during init() and freeing them during stop(): - Move creation of tx bus_dma tag amd maps and tx_buffer_area from em_setup_transmit_structures() to em_allocate_transmit_structures(). - Call em_allocate_xxx_structures() in em_attach(). - Only call em_free_xxx_structures() in em_detach(). - Change em_setup_xxx_structures() to free any existing tx or rx buffers and in the case of rx repopulate the ring with newer buffers. Reviewed by: jfv
* - Use callout_init_mtx() to close various callout-related races.jhb2006-10-311-18/+13
| | | | | | | | - Drain the two timers in detach. - Check IFF_DRV_RUNNING in the link task and bail w/o doing anything if it is clear. Reviewed by: jfv, scottl
* Rework the transmit register handling. In em_encap() store index ofglebius2006-10-312-33/+79
| | | | | | | | | | | the EOP descriptor in the first descriptor of the packet. And then in em_txeof() search for DD bits set only in the EOP descriptors, embedding the cleanup of all packet's descriptors into inner loop. This change is important for future chips, where DD bit is going to be set only on the EOP descriptors. Submitted by: jfv
* Remove unused softc pointer variable from the probe routine.jhb2006-10-311-3/+0
| | | | | CID: 1560 Found by: Coverity Prevent (tm)
* Merge new vendor release - 6.2.9.glebius2006-10-315-736/+755
| | | | | | | | | | | | | | | | | | Details: o if_em.c changes: - Added several new PCI ids. - Check em_check_phy_reset_block() before doing SIOCSIFMEDIA ioctl. - Don't touch TARC registers, they are now handled in shared code in if_em_hw.c. - Move RDH and RDT setting to the end of em_initialize_receive_unit(). - Declare em_read_pcie_cap_reg(), now empty. o if_em_hw.c dropped in from vendor, then restored rev. 1.15. o if_em_hw.h dropped in from vendor, then modified: - Added RX overrun interrupt flag to interrupt enable mask. - Remove declarations of em_io_read(), em_io_write(). Approved by: jfv
* Bind to INADDR_ANY in the default configuration. This makes bsnmpd(1)harti2006-10-311-3/+1
| | | | | | | automatically work on multi-homed hosts and without explicite specification of the hostname in the config file. Submitted by: jmg
* Define a base OID for the FreeBSD version as returned in sysObjectIDharti2006-10-311-1/+19
| | | | | | | by bsnmpd(1). The actual OID is formed by appending the release numbers to this base OID. Idea by: phk
* This commit was generated by cvs2svn to compensate for changes in r163820,harti2006-10-312-28/+63
|\ | | | | | | which included commits to RCS files with non-trunk default branches.
| * Vendor patch: synthesize the initial value for sysObjectId from the valueharti2006-10-312-28/+63
| | | | | | | | | | | | | | of uname -r in FreeBSD. This value can be overwritten in the configuration file. Suggested by: phk
* | Avoid implict node generation in oids, people tell me a fair bit ofphk2006-10-311-9/+7
| | | | | | | | SNMP software has trouble with them.
* | Claim my own subtree under freeBSDpeoplephk2006-10-311-3/+9
| |
* | Fix Typo.takawata2006-10-311-1/+1
| | | | | | | | Pointed out by: ru
* | The first of 3 major steps to move the CAM layer forward to usingmjacob2006-10-3125-96/+1616
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | the CAM_NEW_TRAN_CODE that has been in the tree for some years now. This first step consists solely of adding to or correcting CAM_NEW_TRAN_CODE pieces in the kernel source tree such that a both a GENERIC (at least on i386) and a LINT build with CAM_NEW_TRAN_CODE as an option will compile correctly and run (at least with some the h/w I have). After a short settle time, the other pieces (making CAM_NEW_TRAN_CODE the default and updating libcam and camcontrol) will be brought in. This will be an incompatible change in that the size of structures related to XPT_PATH_INQ and XPT_{GET,SET}_TRAN_SETTINGS change in both size and content. However, basic system operation and basic system utilities work well enough with this change. Reviewed by: freebsd-scsi and specific stakeholders
* | Fix a typo in the device ID table that prevented 5708S chips from beingscottl2006-10-311-2/+2
| | | | | | | | | | | | detected. Submitted by: pyun
* | Add support for Option GT 3G/3G quad datacard in ubsa.kevlo2006-10-312-5/+11
| | | | | | | | Approved by: cognet
* | Correct a security issue introduced in previous commit:delphij2006-10-312-3/+11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | instead of removing the file and issue a warning about the removal, do not do any operation at all in case -P is specified when the dinode has hard links. With -f and -P specified together, we assume that the user wants rm to overwrite the contents of the file and remove it (destroy the contents of file but leave its hard links as is). The reason of doing it this way is that, in case where a hard link is created by a malicious user (currently this is permitted even if the user has no access to the file). Losing the link can potentially mean that the actual owner would lose control completely to the user who wants to obtain access in a future day. Discussed with: Peter Jermey
* | - Add a 'verbose' switch -vmarkus2006-10-313-2/+17
| | | | | | | | | | | | | | | | - Only dump items that are being used for padding when being verbose. This brings bthidcontrol in line with the behaviour of usbhidctl(1). - Update the manpage accordingly Approved by: emax
* | Include <sys/types.h>, to get definition for uint32_t.cognet2006-10-301-0/+1
| | | | | | | | Submitted by: David Sharp
* | Assign start to the value we were able to allocate and use that toimp2006-10-301-10/+11
| | | | | | | | | | | | write out the BAR. Otherwise, we were trying to shift a 32-bit quantity on 32-bit platforms. Also, 'start' check sanity to where it is known.
* | In the replacement text of the __bswapN_const() macros encapsulate themarius2006-10-302-16/+24
| | | | | | | | | | | | | | | | | | | | | | | | argument in parentheses so these macros are safe to use and invocations with an expression as the argument like __bswap32_const(42 << 23 | 13) work as expected. Additionally, mask all the individually shifted bytes as appropriate so the bytes which exceed the width of the respective __bswapN_const() macro in invocations like __bswap16_const(0xdead600d) are ignored like it's the case with the corresponding __bswapN_var() function. MFC after: 3 days
* | Add configuration stubs for adding package derived files to the variousjulian2006-10-307-0/+42
| | | | | | | | | | sample configurations. Submitted by Jeremie Le Hen and tested by Jean Milanez Melo.
* | Add some code to support including files ffrom packages in the image.julian2006-10-302-15/+31
| | | | | | | | Submitted by: Jeremie Le Hen and tested by Jean Milanez Melo.
* | More fully support 64-bit bars. Prior to this commit, we supportedimp2006-10-303-58/+69
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | only those bars that had addresses assigned by the BIOS and where the bridges were properly programmed. Now even unprogrammed ones work. This was needed for sun4v. We still only implement up to 2GB memory ranges, even for 64-bit bars. PCI standards at least through 2.2 say that this is the max (or 1GB is, I only know it is < 32bits). o Always define pci_addr_t as uint64_t. A pci address is always 64-bits, but some hosts can't address all of them. o Preserve the upper half of the 64-bit word during resource probing. o Test to make sure that 64-bit values can fit in a u_long (true on some platforms, but not others). Don't use those that can't. o minor pedantry about data sizes. o Better bridge resource reporting in bootverbose case. o Minor formatting changes to cope with different data types on different platforms. Submitted by: jmg, with many changes by me to fully support 64-bit addresses.
* | - Handle timeouts from recv(2) properly.pjd2006-10-301-2/+6
| | | | | | | | | | | | | | | | | | - Increase timeout to 8 seconds (should be made configurable). Reported by: Ulrich Spoerlein <uspoerlein@gmail.com> Reported by: Christian Laursen <xi@borderworlds.dk> PR: kern/104829 MFC after: 1 week
* | This commit was generated by cvs2svn to compensate for changes in r163799,harti2006-10-301-5/+6
|\ \ | |/ | | | | which included commits to RCS files with non-trunk default branches.
| * Vendor patch: improve readability by using the IF_Mbps macro.harti2006-10-301-5/+6
| | | | | | | | Submitted by: glebius
OpenPOWER on IntegriCloud