Age | Commit message (Collapse) | Author | |
---|---|---|---|
2005-03-06 | Use V_SAVE instead of hardcoding it, no binary change. | 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@ | |||
2005-02-17 | Remove dead code that has moved to ufs_vfsops.c long ago. | Pedro Martelletto | |
2004-12-26 | Use list and queue macros where applicable to make the code easier to read; | Miod Vallat | |
no change in compiler assembly output. | |||
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-06 | disable changing softdep linkcnt (last commit). it can cause a loop that | Ted Unangst | |
locks the vnode twice, and we can't fix it right now. discussed with pedro. | |||
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-10-10 | inform softdep of inode mode change, from freebsd. while i'm at it, | Pedro Martelletto | |
check for ufs_truncate failure and do a bit of the usual null for pointers, spacing stuff. ok 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-25 | more consistent handling of vnode recount during rename. | Ted Unangst | |
should solve some panics. various testing for a while. | |||
2004-07-21 | I was wrong. The assymetry created by the proc argument to rw_enter_write | Artur Grabowski | |
is horrible and doesn't add anything. Remove it. XXX - the fdplock macro will need a separate cleanup. niklas@ markus@ ok | |||
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-25 | Minor fixes suggested by nordin@ and henning@ | Thorsten Lockert | |
ok millert@ | |||
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-14 | use pool for namei pathbuf. testing ok millert@ tdeval@ | 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-05-06 | Two missing ifdef FIFO; noticed by form@pdp-11.org.ru. | Alexander Yurchenko | |
ok tedu@ | |||
2004-04-16 | fix niklas's panic and pr3672 with freebsd rev 1.54 (don't trust DIRSIZ) | Ted Unangst | |
extra testing otto@ sturm@ tdeval@ | |||
2004-03-16 | re-add fbsd id so i can track this thing | Ted Unangst | |
2004-03-02 | call fifo_reclaim here too | Ted Unangst | |
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-02-16 | sync MACRO names with freebsd. | Ted Unangst | |
2004-02-02 | gluk points out i missed tags | Ted Unangst | |
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-09 | back out vnode parents. weird breakge found in ports tree | Ted Unangst | |
2004-01-07 | sysctls for dirhash variables. with a hint from miod. ok deraadt | Ted Unangst | |
2004-01-07 | remove FreeBSD ifdef | Ted Unangst | |
2004-01-06 | keep track of a vnode's parent dir. ufs only, and unused atm, but | Ted Unangst | |
the fun stuff is coming. testing by brad. | |||
2003-12-28 | do not use MALLOC on variable sized allocations | Michael Shalayeff | |
2003-12-28 | add ian dowse's dirhash code from freebsd. | Ted Unangst | |
by building a hash table for large directories, lookups and deletions become about constant time. this is an excellent improvement for dirs with 10k or more files. some more cleanup to come, but the code works. enabled with option UFS_DIRHASH testing brad millert otto | |||
2003-12-17 | add NOTE_EOF (return on EOF) and NOTE_TRUNCATE (vnode was truncated) | Ted Unangst | |
to kqueue from marius@monkey tested by brad@ | |||
2003-12-06 | u_int8_t variable can't be > 255; pointed out by Mr. GCC3. | Alexander Yurchenko | |
ok millert@ | |||
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 | |
2003-11-19 | MALLOC is not meant for variable size allocations | Ted Unangst | |
2003-10-17 | Be sure i_ffs_gen is always positive. | Mike Pechkin | |
millert@, beck@, tedu@, deraadt@ ok | |||
2003-10-04 | vrele swap and/or root vnode should we fail during mountroot; found by ↵ | Michael Shalayeff | |
mpech@ and tedu@ ok | |||
2003-09-23 | Replace select backends with poll backends. selscan() and pollscan() | Todd C. Miller | |
now call the poll backend. With this change we implement greater poll(2) functionality instead of emulating it via the select backend. Adapted from NetBSD and including some changes from FreeBSD. Tested by many, deraadt@ OK |