summaryrefslogtreecommitdiffstats
path: root/sys/contrib
Commit message (Collapse)AuthorAgeFilesLines
* Change __FreeBSD_Version into the proper __FreeBSD_version.roberto2000-08-012-6/+6
| | | | Submitted by: Alain.Thivillon@hsc.fr (Alain Thivillon) (for ip_fil.c)
* Add missing '0' to FreeBSD_version test: 50011 -> 500011ache2000-08-011-5/+5
|
* activate pfil_hooks and covert ipfilter to use itdarrenr2000-07-312-6/+10
|
* fix conflictsdarrenr2000-07-1913-109/+221
|
* Remove these here, these were repocopied to src/sys/ufs/ffs.peter2000-06-233-5532/+0
|
* Update to new copyright.mckusick2000-06-222-46/+12
|
* When running with quotas enabled on a filesystem using soft updates,mckusick2000-06-181-2/+3
| | | | | | | | the system would panic when a user's inode quota was exceeded (see PR 18959 for details). This fixes that problem. PR: 18959 Submitted by: Jason Godsey <jason@unixguy.fidalgo.net>
* Some additional performance improvements. When freeing an inodemckusick2000-06-181-8/+18
| | | | | | | | | | check to see if it has been committed to disk. If it has never been written, it can be freed immediately. For short lived files this change allows the same inode to be reused repeatedly. Similarly, when upgrading a fragment to a larger size, if it has never been claimed by an inode on disk, it too can be freed immediately making it available for reuse often in the next slowly growing block of the same file.
* ARGH! I have too many source trees :-(phk2000-06-161-4/+2
| | | | Fix prototype errors in last commit.
* Virtualizes & untangles the bioops operations vector.phk2000-06-161-2/+0
| | | | Ref: Message-ID: <18317.961014572@critter.freebsd.dk> To: current@
* Unused include: #include "fla.h"peter2000-06-101-1/+0
|
* Fix a reference to an old FreeBSD 2.2 register name.peter2000-05-281-3/+3
| | | | s/PCI_COMMAND_STATUS_REG/PCIR_COMMAND/
* define CSUM_DELAY_DATA to match mergedarrenr2000-05-261-0/+4
|
* Back out the previous change to the queue(3) interface.jake2000-05-262-25/+25
| | | | | | It was not discussed and should probably not happen. Requested by: msmith and others
* fix up #ifdef jungle for FreeBSDdarrenr2000-05-251-4/+9
|
* remove duplicate prototypesdarrenr2000-05-251-2/+0
|
* fix duplicate rcsid'sdarrenr2000-05-241-3/+0
|
* It would have been nice if this actually compiled. Close the headerpeter2000-05-241-0/+1
| | | | comment */.
* fix up conflictsdarrenr2000-05-2411-174/+639
|
* fix conflictsdarrenr2000-05-244-71/+190
|
* fix conflictsdarrenr2000-05-242-258/+746
|
* fix conflictsdarrenr2000-05-241-10/+0
|
* fix conflictsdarrenr2000-05-242-273/+831
|
* fix conflictsdarrenr2000-05-242-300/+611
|
* fix conflictsdarrenr2000-05-243-190/+578
|
* Change the way that the queue(3) structures are declared; don't assume thatjake2000-05-232-25/+25
| | | | | | | | the type argument to *_HEAD and *_ENTRY is a struct. Suggested by: phk Reviewed by: phk Approved by: mdodd
* Compute the checksum before handing the packet off to IPFilter.jlemon2000-05-211-0/+8
| | | | Tested by: Cy Schubert <Cy.Schubert@uumail.gov.bc.ca>
* Fix bug in dealing with "hlen == 1 and opt > 1"darrenr2000-05-091-4/+10
|
* Add missing include machine/in_cksum.h.ps2000-05-092-0/+3
| | | | Submitted by: n_hibma
* Separate the struct bio related stuff out of <sys/buf.h> intophk2000-05-052-1/+2
| | | | | | | | | | | | | | | <sys/bio.h>. <sys/bio.h> is now a prerequisite for <sys/buf.h> but it shall not be made a nested include according to bdes teachings on the subject of nested includes. Diskdrivers and similar stuff below specfs::strategy() should no longer need to include <sys/buf.> unless they need caching of data. Still a few bogus uses of struct buf to track down. Repocopy by: peter
* Add $FreeBSD$peter2000-05-011-1/+2
|
* Enforce and respect the 8 unit limit.phk2000-04-231-1/+3
|
* Complete the bio/buf divorce for all code below devfs::strategyphk2000-04-151-22/+22
| | | | | | | | | | Exceptions: Vinum untouched. This means that it cannot be compiled. Greg Lehey is on the case. CCD not converted yet, casts to struct buf (still safe) atapi-cd casts to struct buf to examine B_PHYS
* Introduce extended attribute support for FFS, allowing arbitraryrwatson2000-04-151-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | (name, value) pairs to be associated with inodes. This support is used for ACLs, MAC labels, and Capabilities in the TrustedBSD security extensions, which are currently under development. In this implementation, attributes are backed to data vnodes in the style of the quota support in FFS. Support for FFS extended attributes may be enabled using the FFS_EXTATTR kernel option (disabled by default). Userland utilities and man pages will be committed in the next batch. VFS interfaces and man pages have been in the repo since 4.0-RELEASE and are unchanged. o ufs/ufs/extattr.h: UFS-specific extattr defines o ufs/ufs/ufs_extattr.c: bulk of support routines o ufs/{ufs,ffs,mfs}/*.[ch]: hooks and extattr.h includes o contrib/softupdates/ffs_softdep.c: extattr.h includes o conf/options, conf/files, i386/conf/LINT: added FFS_EXTATTR o coda/coda_vfsops.c: XXX required extattr.h due to ufsmount.h (This should not be the case, and will be fixed in a future commit) Currently attributes are not supported in MFS. This will be fixed. Reviewed by: adrian, bp, freebsd-fs, other unthanked souls Obtained from: TrustedBSD Project
* Move B_ERROR flag to b_ioflags and call it BIO_ERROR.phk2000-04-022-2/+2
| | | | | | | | | | | | | (Much of this done by script) Move B_ORDERED flag to b_ioflags and call it BIO_ORDERED. Move b_pblkno and b_iodone_chain to struct bio while we transition, they will be obsoleted once bio structs chain/stack. Add bio_queue field for struct bio aware disksort. Address a lot of stylistic issues brought up by bde.
* o Get basic if_media support working.lile2000-03-261-295/+272
| | | | | | | o Add more diagnostic and status messages. o General clean up of old debug messages and small style fixes.
* Rename the existing BUF_STRATEGY() to DEV_STRATEGY()phk2000-03-201-12/+11
| | | | | | | | substitute BUF_WRITE(foo) for VOP_BWRITE(foo->b_vp, foo) substitute BUF_STRATEGY(foo) for VOP_STRATEGY(foo->b_vp, foo) This patch is machine generated except for the ccd.c and buf.h parts.
* Remove B_READ, B_WRITE and B_FREEBUF and replace them with a newphk2000-03-202-3/+3
| | | | | | | | | | | | | | | | | | | | | field in struct buf: b_iocmd. The b_iocmd is enforced to have exactly one bit set. B_WRITE was bogusly defined as zero giving rise to obvious coding mistakes. Also eliminate the redundant struct buf flag B_CALL, it can just as efficiently be done by comparing b_iodone to NULL. Should you get a panic or drop into the debugger, complaining about "b_iocmd", don't continue. It is likely to write on your disk where it should have been reading. This change is a step in the direction towards a stackable BIO capability. A lot of this patch were machine generated (Thanks to style(9) compliance!) Vinum users: Greg has not had time to test this yet, be careful.
* o Fix typo in the RapidFire 3540 adapter namelile2000-03-191-3/+3
| | | | | | | | | 4/16/100 -> 100/16/4 so that it matches all of the others. o Since we went to all the trouble of getting the correct working memory size actually use it. * Submitted by: Nikolai Saoukh <nms@otdel-1.org>
* o Replace the old "oltr" driver with the completely re-writtenlile2000-03-185-7136/+9210
| | | | | | | | | | | new-bus Olicom driver, previously known as "ol". The new driver unfortunately does not support ISA cards yet. o Update the microcode files, interface library and include files to the latest PowerMACH works version. Force even byte alignment of adapter microcode. o Roll in some of the patches from Nikolai Saoukh <nms@ethereal.ru>.
* Re add rev 1.11 diffs to ip_fil.h Also discover that I did not undefineguido2000-02-1018-8/+29
| | | | | | | CVS_FUBAR (which no longer exists) and thus forgot to add $FreeBSD's. Add them. Approved by: jkh (is part of ipfilter upgrade)
* Bring over ipfilter v3_3_8 kernel sources, including merging theguido2000-02-0920-93/+108
| | | | | | | | local modifications. Also fix initializing fr_running in KLD case. Rename ipl_inited to fr_runninhg in mlfk_ipl Approved by: jkh
* When writing out bitmap buffers, need to skip over ones that alreadymckusick2000-01-301-1/+2
| | | | | | | have a write in progress. Otherwise one can get in an infinite loop trying to get them all flushed. Submitted by: Matthew Dillon <dillon@apollo.backplane.com>
* Remove a somewhat odd #if that is always true (NOLTR will be alwayspeter2000-01-291-4/+0
| | | | 1 or more if this file is being compiled)
* During fastpath processing for removal of a short-lived inode, themckusick2000-01-181-48/+56
| | | | | | | | | | set of restrictions for cancelling an inode dependency (inodedep) is somewhat stronger than originally coded. Since this check appears in two places, we codify it into the function check_inode_unwritten which we then call from the two sites, one freeing blocks and the other freeing directory entries. Submitted by: Steinar Haug via Matthew Dillon
* Need to reorganize the flushing of directory entry (pagedep) dependenciesmckusick2000-01-181-63/+62
| | | | | | | | | | | | | | so that they never try to lock an inode corresponding to ".." as this can lead to deadlock. We observe that any inode with an updated link count is always pushed into its buffer at the time of the link count change, so we do not need to do a VOP_UPDATE, but merely find its buffer and write it. The only time we need to get the inode itself is from the result of a mkdir whose name will never be ".." and hence locking such an inode will never request a lock above us in the filesystem tree. Thanks to Brian Fundakowski Feldman for providing the test program that tickled soft updates into hanging in "inode" sleep. Submitted by: Brian Fundakowski Feldman <green@FreeBSD.org>
* Better bounding on softdep_flushfiles; other minor tweeks to checks.mckusick2000-01-171-7/+9
|
* Must track multiple uncommitted renames until one ultimately getsmckusick2000-01-171-22/+65
| | | | committed to disk or is removed.
* Apply patches in rev 1.2 and 1.9 that I forgotguido2000-01-141-2/+3
| | | | Pointe out by: bde
* Non-operational change, fix compiler warning.dillon2000-01-141-1/+1
| | | | Reviewed by: mckusick
OpenPOWER on IntegriCloud