summaryrefslogtreecommitdiff
path: root/sys/ufs
AgeCommit message (Collapse)Author
1999-06-01minor comment beautificationTodd C. Miller
1999-05-31New struct statfs with mount options. NOTE: this replaces statfs(2),Todd C. Miller
fstatfs(2), and getfsstat(2) so you will need to build a new kernel before doing a "make build" or you will get "unimplemented syscall" errors. The new struct statfs has the following featuires: o Has a u_int32_t flags field--now softdep can have a real flag. o Uses u_int32_t instead of longs (nicer on the alpha). Note: the man page used to lie about setting invalid/unused fields to -1. SunOS does that but our code never has. o Gets rid of f_type completely. It hasn't been used since NetBSD 0.9 and having it there but always 0 is confusing. It is conceivable that this may cause some old code to not compile but that is better than silently breaking. o Adds a mount_info union that contains the FSTYPE_args struct. This means that "mount" can now tell you all the options a filesystem was mounted with. This is especially nice for NFS. Other changes: o The linux statfs emulation didn't convert between BSD fs names and linux f_type numbers. Now it does, since the BSD f_type number is useless to linux apps (and has been removed anyway) o FreeBSD's struct statfs is different from our (both old and new) and thus needs conversion. Previously, the OpenBSD syscalls were used without any real translation. o mount(8) will now show extra info when invoked with no arguments. However, to see *everything* you need to use the -v (verbose) flag.
1999-05-27Use lblktosize(fs, foo) instead of foo*fs->fs_bsizeArtur Grabowski
1999-04-28zap the newhashinit hack.Artur Grabowski
Add an extra flag to hashinit telling if it should wait in malloc. update all calls to hashinit.
1999-04-25Reading large file from ext2fs caused vm_fault; gluk@ecsc.mipt.ruTodd C. Miller
Approved by csapuntz@openbsd.org
1999-03-17If an mfs io is successful set b_resid to 0.Artur Grabowski
From Chuck Silvers <chs@netbsd>.
1999-03-09POSIX says:Artur Grabowski
If O_TRUNC is set and the file did previously exist, upon successful completion the open() function shall mark for update the st_ctime and st_mtime fields of the file.
1999-03-09workaround deadlocks in the unmount/kill mount_mfs race.Artur Grabowski
XXX - This is wrong. I have to rethink this/rewrite mfs.
1999-02-26ext2fs is missing a LINK_MAX check tooTodd C. Miller
1999-02-26Better fix for i_nlink oflow from imp@openbsd.orgTodd C. Miller
Move the check up with the other sanity checks and unlock the vnode properly and jump to abortit, not bad when >= LINK_MAX.
1999-02-26compat with uvm vnode pagerArtur Grabowski
1999-02-26compat with uvm vnode pagerArtur Grabowski
1999-02-26add compatibility with uvm vnode pagersArtur Grabowski
1999-02-25Add missing check for i_ffs_nlink > LINK_MAX; marcs@znep.comTodd C. Miller
1999-01-22I'm stupid. Fix a panic when not DIAGNOSTIC.Artur Grabowski
1999-01-16Do not lose st_blocks when files > 2GBNiklas Hallqvist
1999-01-12fixed unused variable warnings when DIAGNOSTIC not definedTodd C. Miller
1999-01-11panic prints a newline for you, don't do it in the panic stringTodd C. Miller
1999-01-10fix panic messages and put some code in DIAGNOSTICArtur Grabowski
1998-12-05There's still a good bit of lock debugging that needs to happen. Don'tConstantine Sapuntzakis
turn it on by default or people will be getting too many panics.
1998-12-05Finally, enable lock checking for FFS, which has full-blown lock support.Constantine Sapuntzakis
1998-12-05Make sure the VLOCKSWORK diagnostic flag is correctly maintained.Constantine Sapuntzakis
1998-12-01remove the itrunc3 panicArtur Grabowski
(if someone can convince me that the call to vinvalbuf won't keep the buffers for the metadata, I will put it back)
1998-11-29remove unreached codeArtur Grabowski
1998-11-29splelingArtur Grabowski
1998-11-27indentation policeArtur Grabowski
1998-11-20s/dismounted/unmounted/Todd C. Miller
1998-11-12Integrate latest soft updates patches for McKusick.Constantine Sapuntzakis
Integrate cleaner ffs mount code from FreeBSD. Most notably, this mount code prevents you from mounting an unclean file system read-write.
1998-08-29Integrate changes from Kirk McKusickConstantine Sapuntzakis
1998-08-17Fix for FFS leaking buffer cache data on segfaults during write.Constantine Sapuntzakis
Thanks to Chuck Silvers (chuq@chuq.com)
1998-08-06Rename vop_revoke, vn_bwrite, vop_noislocked, vop_nolock, vop_nounlockConstantine Sapuntzakis
to be vop_generic_revoke, vop_generic_bwrite, vop_generic_islocked, vop_generic_lock and vop_generic_unlock. Create vop_generic_abortop and propogate change to all file systems. Fix PR/371. Get rid of locking in NULLFS (should be mostly unnecessary now except for forced unmounts).
1998-07-28Return EINVAL when msg_iovlen or iovcnt <= 0; Make uio_resid unsigned ↵Todd C. Miller
(size_t) and don't return EINVAL if it is < 0 in sys_{read,write}. Remove check for uio_resid < 0 uiomove() now that uio_resid is unsigned and brack remaining panics with #ifdef DIAGNOSTIC. vn_rdwr() must now take a size_t * as its 9th argument so change that and clean up uses of vn_rdwr(). Fixes 549 + more
1998-05-18The warnings shouldn't tell that this is ffs. It's confusing.Artur Grabowski
1998-03-27Make compile without diagnistic possible. (Yes very small kernel)Per Fogelstrom
1998-03-15Make machine word size a factor in max_softdeps. Keeps alpha fromTodd C. Miller
panic'ing.
1998-03-15Add Kirk McKusick's soft update code. This is an implementation of:Todd C. Miller
http://www.ece.cmu.edu/~ganger/papers/CSE-TR-254-95/ This code currently has a restrictive copyright (for the time being) and so is not enabled by default; "option FFS_SOFTUPDATES" will enable it. Note that you will need to re-run config(8) as the old softdep stubs have moved to ffs_softdep_stub.c.
1998-03-03GCC 2.8 -Wallryker
1998-03-01GCC 2.8 -WallNiklas Hallqvist
1998-02-08Updates to match type changes in syscall tablesThorsten Lockert
1998-01-17right f_bavail calculationMichael Shalayeff
1998-01-12Free cookies correctly in case of errorConstantine Sapuntzakis
1998-01-09Similar race in Ext2FSConstantine Sapuntzakis
1998-01-09Correction of long-standing race condition in vnode creation due toConstantine Sapuntzakis
possible sleep in MALLOC
1998-01-09Prevent double insertions into the inode hash queueConstantine Sapuntzakis
Silently allow removal of inodes that aren't on the hash queues
1997-12-11Fix rename in a better wayConstantine Sapuntzakis
1997-12-11Earlier patch broke rename. Disalbed it temporarily as I search for a solution.Constantine Sapuntzakis
1997-12-09when downgrading a filesystem to read-only, use softdep_flushfiles; mckusickTheo de Raadt
1997-12-02Unlock child temporarily while truncating directory. This preventsConstantine Sapuntzakis
a double locking bug in the soft updates code.
1997-11-11Make sure the clean bits are set correctly.Constantine Sapuntzakis
1997-11-10fix foul up from last commit.Niels Provos