Age | Commit message (Collapse) | Author | |
---|---|---|---|
2005-12-17 | Remove the 'on disk' inode (dinode) from the 'in memory' inode in UFS. | Pedro Martelletto | |
Instead of having the dinode inside the inode structure itself, we now have just a pointer to it, and use a separate pool to allocate dinodes as needed. Inspiration from FreeBSD, various testing for a while, thanks. | |||
2005-12-14 | typo | Pedro Martelletto | |
2005-12-02 | Use ANSI function declarations, no binary change. | Pedro Martelletto | |
Diff from Iruata Souza, thanks. | |||
2005-11-30 | Use suser() to check for root privileges, okay hshoexer@ deraadt@ | Pedro Martelletto | |
2005-11-30 | No need for vfs_busy() and vfs_unbusy() to take a process pointer | Pedro Martelletto | |
anymore. Testing by jolan@, thanks. | |||
2005-11-09 | ANSI function declarations and deregister, only ffs_softdep left to go | Pedro Martelletto | |
2005-11-09 | - Don't getnanotime() for read-only mountpoints or unmodified inodes, | Pedro Martelletto | |
since we won't use that information. - Don't call getnanotime() a second time for IN_CHANGE inodes. - Space the code a bit, so it's actually readable. Testing jolan@ and krw@, okay krw@. | |||
2005-11-08 | Use ANSI function declarations and deregister, no binary change | Pedro Martelletto | |
2005-11-06 | Use ANSI-style function declarations and deregister, no binary change | Pedro Martelletto | |
2005-11-06 | Replace obsolete comment with one that better describes reality. | Pedro Martelletto | |
2005-11-05 | Don't go through the mountpoint vnode list if we want to skip them all. | Pedro Martelletto | |
Based on a similar change made to NFS. Tested by many, thanks. | |||
2005-10-25 | Make ffs_fserr() a macro, okay deraadt@ | Pedro Martelletto | |
2005-10-25 | Correctly remove elements from a pagedep dirrem list. | Pedro Martelletto | |
Issued noted and fix okay'd by otto@. | |||
2005-09-29 | Sync dirty data when going from read-write to read-only. | Pedro Martelletto | |
Verified against FreeBSD, closes PR 4526, okay deraadt@. | |||
2005-09-26 | bring in two changes from freebsd: | Pedro Martelletto | |
- keep track of free blocks dependencies, and only tell the syncer to release the blocks when there are no more dirty buffers associated - don't mark the inode dependency as done if we had to rollback its allocation due to the bitmap being inconsistent testing by krw, jsg, jmc and sturm, okay deraadt | |||
2005-09-06 | Enforce splbio() while traversing the worklist in | Pedro Martelletto | |
softdep_disk_io_initiation(). Testing by dtucker@ and krw@, okay deraadt@ long ago. | |||
2005-09-06 | Describe the steps involved in allocating a new inode and space the code | Pedro Martelletto | |
a bit, to improve readability. Okay krw@ and art@, input from deraadt@ and jmc@. | |||
2005-08-08 | Add a few splassert() checks, okay art@ | Pedro Martelletto | |
2005-07-20 | Reintroduce the changes made by tedu in revision 1.50 of ffs_softdep.c, | Pedro Martelletto | |
this time with a small tweak: when flushing the dependencies, don't update the inode twice, but update once, and then, if needed, fsync it. Doing so fixes the inode hangs some people were seeing. Various testing for a while, especially krw@ and millert@, okay deraadt@ | |||
2005-07-03 | Extended Attributes was a piece to get to ACLs, however ACLs have not | Dale Rahn | |
been worked on, so EA is pointless. Also the code is not enabled in GENERIC so it is not being tested or maintained. | |||
2005-06-18 | Remove remaining whiteout tentacles; OK deraadt@ miod@ weingart@ | Todd C. Miller | |
2005-06-10 | Tweak softdep_change_linkcnt() so we can specify whether we're willing | Pedro Martelletto | |
to be co-opted by softdep or not, and use this new interface to inform softdep in ufs_inactive() that the inode mode has changed. We don't want to be co-opted there as that might lead to undesired circular dependencies such as a vput() depending on another vput() to complete, or a process that is trying to free up a vnode being blocked trying to acquire a new vnode. Okay tedu@ deraadt@, thanks to all those who tested. | |||
2005-05-28 | ufs_whiteout() is now pointless, remove it, okay millert@ | Pedro Martelletto | |
2005-05-24 | brelse() on failed bread() | Pedro Martelletto | |
2005-05-22 | put VLOCKSWORK stuff under a single option, VFSDEBUG | Pedro Martelletto | |
2005-05-02 | quadradically -> quadratically, lots of | Pedro Martelletto | |
2005-03-01 | Avoid 32-bit overflow by casting blk arg to lblktosize() to (off_t). Solves | Aaron Campbell | |
performance loss issue in some cases when reading past the 2GB boundary in large files. Testing by drahn@, otto@, danh@, krw@, tom@, jaredy@. From FreeBSD. tedu@, pedro@ ok. | |||
2005-02-17 | miscellaneous typo fixes: | Jean-Francois Brousseau | |
- sturct -> struct (spotted by pedro) - elimination of consecutive 'the' words ok jmc@, henning@, krw@, robert@, some whining by jolan@ | |||
2004-12-09 | When removing the last item from a non-empty worklist, the worklist | Todd C. Miller | |
tail pointer must be updated; from FreeBSD (mckusick). Appears to fix problems I was seeing with processes stuck with WCHAN=inode in rev 1.50. OK pedro@ and tedu@. | |||
2004-12-08 | Move a FREE_LOCK until after a potential continue so we don't try | Todd C. Miller | |
to free the lock twice. Doesn't actually make any difference for us (no .o file diff) since the code block that contains the continue is currently commented out but it makes sense to fix this now so if/when that code is enabled we don't get bitten. From FreeBSD, ok pedro@. | |||
2004-12-07 | backout missed by tedu: | Theo de Raadt | |
prev softdep merge could lead to inode wait deadlock for unknown reasons. revert. | |||
2004-12-07 | prev softdep merge could lead to inode wait deadlock for unknown reasons. | Ted Unangst | |
revert. | |||
2004-11-29 | Spell precede correctly. | Jonathan Gray | |
'looks fine' millert@, krw@. ok jmc@ | |||
2004-11-01 | english | Pedro Martelletto | |
2004-10-25 | don't assume a block is allocated if bread() or cg_chkmagic() fails. | Pedro Martelletto | |
ok marius@ tedu@ | |||
2004-09-18 | hierarchy is spelled hierarchy, from Jonathan Gray | Ted Unangst | |
2004-08-12 | Prevent a panic by validating the super block size as recorded in the | Otto Moerbeek | |
superblock; make the block size check also catch negative values. ok miller@ tedu@ | |||
2004-07-14 | trailing '\n' in printf, ok deraadt@ | Pedro Martelletto | |
2004-07-13 | Change mode_t and nlink_t from 16bit to 32bit. This allows us to | Todd C. Miller | |
use mode_t in syscalls.master and to use mode_t in more places in the kernel. It also makes lint much more useful on kernel code. I've also added a placeholder for st_birthtime to make a UFS2 import easier at some future date. Requested by and OK deraadt@ | |||
2004-07-02 | printf inode numer as unsigned -- just the way it is | Michael Shalayeff | |
2004-06-24 | This moves access to wall and uptime variables in MI code, | Thorsten Lockert | |
encapsulating all such access into wall-defined functions that makes sure locking is done as needed. It also cleans up some uses of wall time vs. uptime some places, but there is sure to be more of these needed as well, particularily in MD code. Also, many current calls to microtime() should probably be changed to getmicrotime(), or to the {,get}microuptime() versions. ok art@ deraadt@ aaron@ matthieu@ beck@ sturm@ millert@ others "Oh, that is not your problem!" from miod@ | |||
2004-06-21 | First step towards more sane time handling in the kernel -- this changes | Thorsten Lockert | |
things such that code that only need a second-resolution uptime or wall time, and used to get that from time.tv_secs or mono_time.tv_secs now get this from separate time_t globals time_second and time_uptime. ok art@ niklas@ nordin@ | |||
2004-06-04 | rootvp is already externed in systm.h, no need for a local extern | Ted Unangst | |
2004-05-07 | fatty softdep merge with freebsd. fixes a variety of possible issues. | Ted Unangst | |
relevant changes to ffs_softdep.c were 1.95, 1.96, 1.97, 1.98, 1.103, and 1.107 in freebsd. testing marc and otto. ok deraadt | |||
2004-03-02 | silly fifos aren't a real fs, so we have to be sure to call reclaim | Ted Unangst | |
in the host fs. | |||
2004-01-25 | vref device vnodes early, so we don't get mismatched vrele calls. | Ted Unangst | |
problem found, fix tested naddy@ | |||
2004-01-20 | some pieces of ufs2. help testing otto sturm | Ted Unangst | |
2004-01-07 | sysctls for dirhash variables. with a hint from miod. ok deraadt | Ted Unangst | |
2003-11-19 | undo boolshit unapproved changes the author does not even care about to fix | Michael Shalayeff | |
2003-11-19 | MALLOC is not meant for variable size allocations | Ted Unangst | |