Age | Commit message (Collapse) | Author | |
---|---|---|---|
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 | |||
2003-08-26 | constify ffs_tables | Michael Shalayeff | |
2003-08-25 | rename struct dinode to ufs1_dinode. clears the namespace and makes | Ted Unangst | |
way for some future work. no function changes yet. few other little cleanups. help testing otto@ and markus@ | |||
2003-08-15 | change arguments to suser. suser now takes the process, and a flags | Ted Unangst | |
argument. old cred only calls user suser_ucred. this will allow future work to more flexibly implement the idea of a root process. looks like something i saw in freebsd, but a little different. use of suser_ucred vs suser in file system code should be looked at again, for the moment semantics remain unchanged. review and input from art@ testing and further review miod@ | |||
2003-08-14 | constify vfsops; tedu@ ok | Michael Shalayeff | |
2003-08-11 | if we run out of space, make the dead vnode VNON. if a VBLK gets out, it | Ted Unangst | |
causes trouble later. netbsd pr22419 | |||
2003-08-02 | newline at end of printf | Ted Unangst | |
2003-07-10 | in statfs, cast disk size to int64_t to prevent overflow on large disks. | Ted Unangst | |
from Peter Galbavy | |||
2003-07-06 | remove ext2fs_vinit. it wasn't used and is identical to ufs_vinit. | Ted Unangst | |
otto made the diff for me, thanks. | |||
2003-07-06 | reset inode fields if deleted, prevents a panic after deleting a device. | Ted Unangst | |
from netbsd via otto moerbeek | |||
2003-07-06 | fix off by one. inodes start at 1, so e2fs_icount is a valid inode number. | Ted Unangst | |
from otto moerbeek | |||
2003-06-26 | add prototypes for userland code that reaches over. ok deraadt@ | Ted Unangst | |
2003-06-10 | o make mount(2) return EROFS, not EPERM if ffs is dirty | Todd C. Miller | |
o document EROFS in man page (2 possible causes) o recognize EROFS in mount_ffs and try to give a reasonable error message deraadt@ OK | |||
2003-06-02 | Remove the advertising clause in the UCB license which Berkeley | Todd C. Miller | |
rescinded 22 July 1999. Proofed by myself and Theo. | |||
2003-05-26 | fiddle with some type names. change most instances of ufs_daddr_t to | Ted Unangst | |
ufs1_daddr_t, a few to daddr_t. ufs_daddr_t typedef is retained, but consider it deprecated. no functional changes. inspired by freebsd. ok art@ | |||
2003-05-14 | remove the last of the MI commons | Jason Wright | |
2003-05-11 | revert part of previous. if mfs gets a signal, it doesn't attempt to | Ted Unangst | |
force the unmount, so there's no need to mess with resetting processes' working dirs. | |||
2003-05-06 | attempt to put a process's cwd back in place after a forced umount. | Ted Unangst | |
won't always work, but it's the best we can do for now. this covers at least some of the failure cases the previous commit to vfs_lookup.c checks for. ok weingart@ | |||
2003-03-10 | fix really old typo that prevented inode quotas from ever working. | Ted Unangst | |
help testing and eyeballing henric tdeval miod ok costa deraadt | |||
2003-02-19 | intial -> initial | Jason McIntyre | |
2003-02-12 | Remove commons; inspired by netbsd. | Jason Wright | |
2003-01-31 | File system locking fixups, mostly from NetBSD: | Artur Grabowski | |
- cache_lookup move common code from various fs's here always return with vnode and parent locked adjust return codes - PDIRUNLOCK - new flag set if lookup couldn't lock parent vnode - kernfs and procfs lock vnode in get_root don't unlock (again) in kernfs_freevp fix memory leak in procfs From tedu@stanford.edu deraadt@ and various other ok | |||
2002-12-22 | Flargs -> Flags. | Artur Grabowski | |
Reported by Dave Steinberg <lists@redterror.net> | |||
2002-11-08 | Implement simple vnodeop inheritance for specfs and fifofs. | Artur Grabowski | |
The inheritace is implemented by setting the default vnodeop to a bypass op that repeats the operation on the spec/fifo vnodeop vector. The overhead of one extra indirect function call is worth the cleanup and improved correctness. This actually solves a few bugs where some vnode ops were missing from some vectors (like kqfilter or revoke). (and even more on the ubc branch). Inspired by the same thing done in FreeBSD. | |||
2002-10-13 | Remove more '\n's from panic() statements. From Chris Kuethe. | Kenneth R Westerback | |
2002-10-12 | Remove more '\n's from panic() statements. Both trailing and leading. | Kenneth R Westerback | |
Diff generated by Chris Kuethe. | |||
2002-09-06 | no, make INITQFNAMES without a terminal ; | Theo de Raadt | |
2002-09-06 | no , at end of enum | Theo de Raadt | |
2002-08-02 | More possible int overflows found by Silvio Cesare. | Todd C. Miller | |
ibcs2_stat.c one OK by provos@ | |||
2002-08-01 | Limit max file size based on PAGE_SIZE. Even though ffs can handle | Todd C. Miller | |
files up to 16TB, we do limit the max file to 2^31 pages to prevent overflow of a 32-bit unsigned int. The buffer cache has its own checks but a little added paranoia never hurts. Adapted from a patch in FreeBSD. | |||
2002-07-29 | Fix two off-by-one errors when sanity-checking inode numbers. In | Federico G. Schwindt | |
ext2fs, inode numbers start at 1, so the maximum valid inode number is (s_inodes_per_group * s_groups_count), not one less. From FreeBSD. costa@ ok. | |||
2002-07-29 | add 2 flags from ext3. useful to help you diagnose problems. | Federico G. Schwindt | |
2002-07-28 | optionnal -> optional. | Federico G. Schwindt | |