summaryrefslogtreecommitdiff
path: root/sys/ufs/ffs
AgeCommit message (Collapse)Author
2000-04-20Fix a problem that occurs when the filesystem fills up.Artur Grabowski
When the filesystem is able to allocate an indirect block but not the data block, it incorrectly unwinds the indirect block leaving a dangling pointer to a free block. This is said to fix the "freeing free block" panics people were seeing. From FreeBSD.
2000-03-04Cut the number of dependencies to reduce problems on low-memory machines.Artur Grabowski
2000-02-07update to use new checkexp vfs operationassar
2000-01-14Try to allocate the first indirect block in the same cg as the inode.Artur Grabowski
This improves read speed for files of moderate size (100-500k). From FreeBSD (mckusick@FreeBSD.ORG).
2000-01-14rename DEBUGLOCKS to LOCKDEBUG to be consistent with the rest of the kernelArtur Grabowski
1999-12-06When truncating directories by less than a block we shouldn't zero theArtur Grabowski
part of the block that we're deallocating. From NetBSD.
1999-12-06ffs_init is a vfsop. Move it to ffs_vfsops.Artur Grabowski
1999-12-06Always make sure that softdep mounts are not async.Artur Grabowski
1999-12-06Don't compute values that we don't use later.Artur Grabowski
1999-12-06#if 0 some broken unreached code.Artur Grabowski
1999-12-05Integrate the latest soft updates code.Artur Grabowski
From mckusick@mckusick.com.
1999-12-03Clean up ffs_mount.Artur Grabowski
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-02-26compat with uvm vnode pagerArtur Grabowski
1999-01-11panic prints a newline for you, don't do it in the panic stringTodd C. Miller
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-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-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-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-09Correction of long-standing race condition in vnode creation due toConstantine Sapuntzakis
possible sleep in MALLOC
1997-12-09when downgrading a filesystem to read-only, use softdep_flushfiles; mckusickTheo de Raadt
1997-11-11Make sure the clean bits are set correctly.Constantine Sapuntzakis
1997-11-09Include stub decl for struct vop_vfree_args to avoid copiler warnings.Todd C. Miller
1997-11-07$OpenBSD$Niklas Hallqvist
1997-11-06FFS softdep stubConstantine Sapuntzakis
1997-11-06Updates for VFS Lite 2 + soft update.Constantine Sapuntzakis
1997-10-06back out vfs lite2 till after 2.2Theo de Raadt
1997-10-06VFS Lite2 ChangesConstantine Sapuntzakis
1997-07-22range error fix; mckusick@McKusick.COMTheo de Raadt
1997-06-20Change errno cause by mounting invalid filesystems from EINVAL to EFTYPE.kstailey
1997-05-30Integrate new ext2fs, reverting ufs support for the old one.Jason Downs
1997-03-02Add noatime option to not update atime on files in a filesystem (unlessTodd C. Miller
ctime or mtime has changed). Useful for laptops and news servers.
1997-02-24OpenBSD tagsNiklas Hallqvist
1997-02-11Add fs_id support and random inode generation numbers for ffs.Todd C. Miller