aboutsummaryrefslogtreecommitdiff
path: root/sys/gnu
Commit message (Collapse)AuthorAgeFilesLines
* MFC: Fix two off-by-one errors when sanity-checking inode numbers.Ian Dowse2002-07-012-2/+2
| | | | Notes: svn path=/stable/4/; revision=99176
* MFC (ext2_vfsops.c 1.91, cd9660_vfsops.c 1.98, ffs_vfsops.c 1.173: setBruce Evans2002-04-081-0/+4
| | | | | | | | | si_iosize_max correctly in ffs, and don't forget to set it in cd9660 and ext2fs (the original log message mistakenly said msdosfs instead of cd9660)). Notes: svn path=/stable/4/; revision=94185
* Bump __FreeBSD_version to 440002 to account for the mount structureMatthew Dillon2001-11-041-0/+1
| | | | | | | | | | change (LIST vnodelist -> TAILQ nvnodelist). At this time I am also adding a second TAILQ list, currently reserved, to the mount structure that will later be used to split the vnode list into a clean and dirty list, so as to get all mount structure changes over and done with now. Notes: svn path=/stable/4/; revision=86038
* MFC change vnode list under mount point from LIST to TAILQ in preparationMatthew Dillon2001-10-251-4/+5
| | | | | | | for scaleability fixes for machines with >= 2G of ram coming down the pipe. Notes: svn path=/stable/4/; revision=85499
* MFC: Bring sizeof(struct inode) back to 256 bytes by reducing theIan Dowse2001-09-291-2/+2
| | | | | | | size of i_spare[] and making ext2fs use a spare dinode field instead. Notes: svn path=/stable/4/; revision=84135
* Nuke the old dgm stuffBrian Somers2001-09-234-6888/+0
| | | | Notes: svn path=/stable/4/; revision=83860
* MFC: SSE kernel support. This is only active if you compilePeter Wemm2001-08-151-1/+1
| | | | | | | | | | | | | | | 'options CPU_ENABLE_SSE' in the kernel. This is a MFC of the code in -current, plus all the followup fixes and tweaks but adapted for the npx and compile differences in RELENG_4. The npx_intr() change comes from the 4.3 version of the diffs since -current uses traps vs. interrupts in npx.c. This is a giant no-op without the kernel compile option. Approved by: re (murray) Notes: svn path=/stable/4/; revision=81664
* MFC: ext2fs support on alpha. I have tested it using an ext2fs fs createdAndrew Gallatin2001-08-143-1/+5
| | | | | | | | by rh7.1 on alpha & it appears to work approved by: murray Notes: svn path=/stable/4/; revision=81638
* MFC: Change the interface to vflush() so that it can deal withIan Dowse2001-07-261-2/+2
| | | | | | | | | | | | | | | | extra references on the filesystem root vnode. This fixes bugs in a number of filesystems that could cause forced umounts to erroneously return EBUSY, and it centralises a lot of xxx_unmount logic. This unfortunately requires the recompilation of any filesystem KLDs, although I have added an extra sanity check that should help to avoid panics if old modules are used (the filesystem may refuse to umount, and if so, a warning message will appear on the console). Not objected to by: -stable Notes: svn path=/stable/4/; revision=80411
* This commit was manufactured by cvs2svn to create branch 'RELENG_4'.cvs2svn2001-06-011-0/+340
| | | | Notes: svn path=/stable/4/; revision=77591
* MFC:David E. O'Brien2001-03-051-2/+0
| | | | | | | | | | | | Convert all users of fldoff() to offsetof(). fldoff() is bad because it only takes a struct tag which makes it impossible to use unions, typedefs etc. Define __offsetof() in <machine/ansi.h> Define offsetof() in terms of __offsetof() in <stddef.h> and <sys/types.h> Notes: svn path=/stable/4/; revision=73745
* MFC: sync kq up to current (extend to device layer, plus other fixes)Jonathan Lemon2001-02-262-4/+6
| | | | Notes: svn path=/stable/4/; revision=73061
* This commit was manufactured by cvs2svn to create branch 'RELENG_4'.cvs2svn2001-02-102-0/+906
| | | | Notes: svn path=/stable/4/; revision=72295
* This commit was manufactured by cvs2svn to create branch 'RELENG_4'.cvs2svn2000-12-231-0/+255
| | | | Notes: svn path=/stable/4/; revision=70319
* MFC ufs_readwrite.c 1.72, ext2_readwrite.c 1.20. Fix a data-consistencyMatthew Dillon2000-12-221-0/+9
| | | | | | | | | race between write() and mmap(). I know this will slow write-appends down a bit and I am researching a better solution, but the race needs to be fixed now. Notes: svn path=/stable/4/; revision=70277
* MFC (1.6: quick fix for not writing group descriptor group, inodeBruce Evans2000-11-111-1/+2
| | | | | | | | | bitmaps or block bitmaps before unmount() completes). PR: 22726 Notes: svn path=/stable/4/; revision=68607
* MFC (pass the correct inode number to VFS_VGET() for mknod()).Bruce Evans2000-11-071-1/+3
| | | | | | | Approved by: jkh Notes: svn path=/stable/4/; revision=68422
* MFC (support filesystems with the not-so-new "sparse_superblocks"Bruce Evans2000-11-054-15/+45
| | | | | | | | | feature). Approved by: jkh Notes: svn path=/stable/4/; revision=68367
* MFC (1.25 fixed overruns of cookie buffer and directory buffer inBruce Evans2000-10-271-11/+22
| | | | | | | ext2_readdir()). Notes: svn path=/stable/4/; revision=67703
* MFC:Cameron Grant2000-08-201-1/+3
| | | | | | | | | fix ecc/nmi problem fix static don't waste voices Notes: svn path=/stable/4/; revision=64864
* move $FreeBSD$ to the same place as -currentPeter Wemm2000-08-031-2/+1
| | | | Notes: svn path=/stable/4/; revision=64202
* MFC: $FreeBSD$Peter Wemm2000-08-039-3/+13
| | | | Notes: svn path=/stable/4/; revision=64171
* MFC: x86 ASM cleanups allowed/required with/by Binutils 2.10.0.David E. O'Brien2000-07-073-4/+4
| | | | | | | | | | 1. Do not specify the size to operations; allow the assembler to decide. (we often were mixing 32-bit operations with 16-bit operands) 2. AT&T asm syntax requires a leading '*' in front of the operand for indirect calls and jumps. Notes: svn path=/stable/4/; revision=62729
* MFC sequential write detection heuristic. This extends the sequentialMatthew Dillon2000-04-261-1/+3
| | | | | | | | | | read heuristic to also cover sequential writes, causing write-behind to be used only for the sequential write case. This solves a number of performance issues with random writes to medium sized files using large block sizes, as occurs with DBM files. Notes: svn path=/stable/4/; revision=59662
* This commit was manufactured by cvs2svn to create branch 'RELENG_4'.cvs2svn2000-04-131-0/+672
| | | | Notes: svn path=/stable/4/; revision=59205
* This commit was manufactured by cvs2svn to create branch 'RELENG_4'.cvs2svn2000-03-1324-9036/+0
| | | | Notes: svn path=/stable/4/; revision=57955
* Don't forget to check for unsupported features when updating. It wasBruce Evans2000-03-092-2/+8
| | | | | | | | | | possible to defeat the check for rw incompatibilty by mounting ro and updating to rw. Approved by: jkh Notes: svn path=/head/; revision=57839
* MFS (ext2_lookup.c 1.17.2.2, ext2_vnops.c 1.42.2.2: fix "filetype" support).Bruce Evans2000-03-034-24/+48
| | | | | | | Approved by: jkh Notes: svn path=/head/; revision=57710
* Remove #if NDGB > 0 and #if NDGM > 0Peter Wemm2000-01-292-9/+0
| | | | Notes: svn path=/head/; revision=56874
* Give vn_isdisk() a second argument where it can return a suitable errno.Poul-Henning Kamp2000-01-102-4/+4
| | | | | | | Suggested by: bde Notes: svn path=/head/; revision=55756
* Support filesystems with the not-so-new "filetype" feature. ThisBruce Evans2000-01-052-132/+190
| | | | | | | | feature gives the d_type field for struct dirent. We used to panic in ext2_readdir() for filesystems with this feature. Notes: svn path=/head/; revision=55477
* Don't allow mounting (or mounting R/W) of filesystems with unsupportedBruce Evans2000-01-024-38/+68
| | | | | | | | | | | | | | features (except for file types in directory entries, which will be supported soon). Centralized the magic number and compatibility checking. Dropped support for ancient (pre-0.2b) filesystems, as in the Linux version. Our "support" consisted of printing more details in the error message before failing at mount time. Notes: svn path=/head/; revision=55313
* Merged changes in ext2_fs.h between Linux 1.2.2 and Linux 2.3.35. TheBruce Evans2000-01-014-100/+344
| | | | | | | | | | | | | main changes are: - many things are more dynamic; e.g., the inode size is a new parameter in the superblock instead of a constant. - extensions are controlled by new flags in the superblock. - directory entries may have a file type field. These changes are not used yet, except for a spelling change which affects ext2_cnv.c Notes: svn path=/head/; revision=55304
* Merged cosmetic changes from the initial import on the vendor branchBruce Evans2000-01-012-124/+236
| | | | | | | | | (mainly things that were lost or misformatted in a different way by moving them to ext2_fs_i.h and back, and ifdefs for user mode that were excessively edited). Notes: svn path=/head/; revision=55303
* Use an ifdef in ext2_fs.h instead of a bogus separate file (ext2_fs_i.h)Bruce Evans2000-01-015-90/+144
| | | | | | | | | | | | | to avoid the namespace problems caused by <ufs/ufs/inode.h> #defining i_mode, etc. ext2_fs_i.h had nothing to do with the Linux version. It was a small part of the Linux version of ext2_fs.h (the part that declares extra in-core fields for an inode). We don't need it because we use the ufs in-core inode for the extra fields. Notes: svn path=/head/; revision=55299
* Updated/corrected the list of GPL'ed files.Bruce Evans2000-01-012-0/+10
| | | | Notes: svn path=/head/; revision=55293
* This file is not used directly. The small parts of it that are used wereBruce Evans2000-01-011-780/+0
| | | | | | | | merged into ext2_vfsops.c in rev.1.1. This broke both merging from the vendor branch and the non-GPL'ed-ness of ext2_vfsops.c. Notes: svn path=/head/; revision=55292
* This file is not used directly. It was merged into ext2_linux_balloc.cBruce Evans2000-01-011-26/+0
| | | | | | | in rev.1.1. Notes: svn path=/head/; revision=55291
* This commit was generated by cvs2svn to compensate for changes in r55289,Bruce Evans2000-01-012-0/+806
|\ | | | | | | | | | | | | which included commits to RCS files with non-trunk default branches. Notes: svn path=/head/; revision=55290
| * Import the Linux ext2fs files that our GPL'ed ext2fs files seem to beBruce Evans2000-01-017-0/+2547
| | | | | | | | | based on. Obtained from: Linux 1.2.2 distribution Notes: svn path=/vendor-sys/ext2fs/dist/; revision=55289
* Change #ifdef KERNEL to #ifdef _KERNEL in the public headers. "KERNEL"Peter Wemm1999-12-294-8/+8
| | | | | | | | | is an application space macro and the applications are supposed to be free to use it as they please (but cannot). This is consistant with the other BSD's who made this change quite some time ago. More commits to come. Notes: svn path=/head/; revision=55206
* Second pass commit to introduce new ACL and Extended Attribute systemRobert Watson1999-12-192-0/+4
| | | | | | | | | | calls, vnops, vfsops, both in /kern, and to individual file systems that require a vfsop_ array entry. Reviewed by: eivind Notes: svn path=/head/; revision=54803
* Introduce NDFREE (and remove VOP_ABORTOP)Eivind Eklund1999-12-154-46/+6
| | | | Notes: svn path=/head/; revision=54655
* struct mountlist and struct mount.mnt_list have no business beingPoul-Henning Kamp1999-11-202-2/+2
| | | | | | | | | | | | | a CIRCLEQ. Change them to TAILQ_HEAD and TAILQ_ENTRY respectively. This removes ugly mp != (void*)&mountlist comparisons. Requested by: phk Submitted by: Jake Burkholder jake@checker.org PR: 14967 Notes: svn path=/head/; revision=53452
* Fix __asm__ clobber list abuse.David E. O'Brien1999-11-152-6/+10
| | | | | | | Submitted by: bde Notes: svn path=/head/; revision=53201
* Remove WILLRELE from VOP_SYMLINKEivind Eklund1999-11-132-2/+4
| | | | | | | | | Note: Previous commit to these files (except coda_vnops and devfs_vnops) that claimed to remove WILLRELE from VOP_RENAME actually removed it from VOP_MKNOD. Notes: svn path=/head/; revision=53131
* Remove WILLRELE from VOP_RENAMEEivind Eklund1999-11-122-4/+14
| | | | Notes: svn path=/head/; revision=53101
* Next step in the device cleanup process.Poul-Henning Kamp1999-11-092-2/+8
| | | | | | | | | | | Correctly lock vnodes when calling VOP_OPEN() from filesystem mount code. Unify spec_open() for bdev and cdev cases. Remove the disabled bdev specific read/write code. Notes: svn path=/head/; revision=53059
* Quick fix for breakage of ext2fs link counts as reported by stat(2) byBruce Evans1999-11-032-0/+2
| | | | | | | | | | the soft updates changes: only report the link count to be i_effnlink in ufs_getattr() for file systems that maintain i_effnlink. Tested by: Mike Dracopoulos <mdraco@math.uoa.gr> Notes: svn path=/head/; revision=52838
* Newline-terminate the complaint message about not being able to findMike Smith1999-11-012-2/+2
| | | | | | | the root vnode pointer. Notes: svn path=/head/; revision=52782