summaryrefslogtreecommitdiff
path: root/sys/ufs
AgeCommit message (Collapse)Author
2000-02-08prevent a panic when suspending on an idle systemNiklas Hallqvist
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-06Yet another solution to the mfs unmount/kill race (not ugly this time).Artur Grabowski
Require that the mount point is vfs_busy on entry to dounmount.
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-12-02Opps. Back out a part of last commit that wasn't intended for commit yet.Artur Grabowski
1999-11-26Yet another useless indentation fix (I don't like 'M' in my cvs updates).Artur Grabowski
1999-11-17Avoid overflowing when calculating blocks at the third level of indirection.Artur Grabowski
From NetBSD.
1999-11-17daddr_t vs. ufs_daddr_t cleanupArtur Grabowski
1999-11-17Use u_int32_t for lfs inode number.Artur Grabowski
If we would ever change ino_t, the struct dinode would break.
1999-10-15Yet another unmount/kill race. (I hate this)Artur Grabowski
1999-09-10let the DOINGSOFTDEP macro always return 0 if FFS_SOFTUPDATES is notArtur Grabowski
defined. It will do that anyway, but this way the compiler can optimize better.
1999-09-03Horrible workaround for hanging mount_mfs processes that received a signal.Artur Grabowski
After finding the third deadlock during dounmount, I decided that it would be less painful to let the unmounting be handled with a separate thread. XXX - this is a kludge.
1999-08-30Kill mfsiom.h. We are not using anything from it.Artur Grabowski
1999-08-17we're lucky that the return values from VOP_INACTIVE are ignoredArtur 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-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.