Age | Commit message (Collapse) | Author | |
---|---|---|---|
2001-12-10 | Big cleanup inspired by NetBSD with some parts of the code from NetBSD. | Artur Grabowski | |
- get rid of VOP_BALLOCN and VOP_SIZE - move the generic getpages and putpages into miscfs/genfs - create a genfs_node which must be added to the top of the private portion of each vnode for filsystems that want to use genfs_{get,put}pages - rename genfs_mmap to vop_generic_mmap | |||
2001-12-10 | Merge in struct uvm_vnode into struct vnode. | Artur Grabowski | |
2001-12-05 | Make DEBUG not default, and make the default compile | Niklas Hallqvist | |
2001-12-04 | Readd VOP_MMAP, will be used soon. Right now it's just a question to | Artur Grabowski | |
the filesystem if we're allowed to mmap the file. | |||
2001-12-04 | FREE_LOCK_INTERLOCKED drops the lock owner without changing lock "state". | Artur Grabowski | |
ACQUIRE_LOCK_INTERLOCKED set the owner back without validating that the state is ok. This could lead to changed states and FREE_LOCK could set spl to any random value. Try to preserve the state of the lock. XXX - all this locking in the code is insane. all this debugging code breaks stuff. | |||
2001-12-01 | KNF | Theo de Raadt | |
2001-11-30 | Don't brelse a random pointer in ffs_realloccg when filesystem is full | Artur Grabowski | |
and bpp == NULL. | |||
2001-11-28 | Bug fixes from NetBSD. | Artur Grabowski | |
In flush_inodedep_deps - release the lock before sleep. When allocating a pagecache dependency buffer - make sure it's always correctly initialized. | |||
2001-11-27 | Merge in the unified buffer cache code as found in NetBSD 2001/03/10. The | Artur Grabowski | |
code is written mostly by Chuck Silvers <chuq@chuq.com>/<chs@netbsd.org>. Tested for the past few weeks by many developers, should be in a pretty stable state, but will require optimizations and additional cleanups. | |||
2001-11-21 | Use vfs_mount_foreach_vnode | Constantine Sapuntzakis | |
2001-11-21 | Don't use #define QUOTA - use stub file instead | Constantine Sapuntzakis | |
Pass over the quota code in ufs/. Make code paths clearer. Clean up some names. Move all code that manipulates quotas directly into ufs_quota.c Use vfs_mount_foreach_vnode to traverse list of vnodes in mountpoint. | |||
2001-11-15 | Missed one place to check for bpp == NULL | Artur Grabowski | |
2001-11-13 | Allow balloc to get NULL for bpp. Don't get the buffer in that case. | Artur Grabowski | |
2001-11-13 | Add two controlled panics instead of some code that I need to write later. | Artur Grabowski | |
2001-11-13 | Allow the bpp arguemnt on ffs_realloccg to be NULL, don't return the | Artur Grabowski | |
buffer in that case. Also add a new argument - blknop, which can be used to return the allocated blkno. | |||
2001-11-06 | Replace inclusion of <vm/foo.h> with the correct <uvm/bar.h> when necessary. | Miod Vallat | |
(Look ma, I might have broken the tree) | |||
2001-10-09 | Fix comparison when start_lvl == 0 | Constantine Sapuntzakis | |
2001-09-10 | Mark buffers with dependencies as B_DEFERRED and skip them one time | Grigoriy Orlov | |
when doing sync. From FreeBSD. art@ ok. | |||
2001-07-16 | Make truncating a device a no-op instead of returning an error. We can | Constantine Sapuntzakis | |
fix the rest of the kernel some other time. | |||
2001-07-16 | Don't try to truncate anything except for symlinks, directories, and | Constantine Sapuntzakis | |
regular files. ftruncate and truncate that go through FFS/EXT2FS/MFS will now return EINVAL when done on devices. Bug introduced when VOP_TRUNCATE was removed, thus removing spec_truncate. Thanks to millert@ for tracking this one down. | |||
2001-07-06 | prototypes for userland side | Theo de Raadt | |
2001-06-27 | Remove old vm. | Artur Grabowski | |
2001-06-23 | Privatize several vnode operations that are not used by the generic code. | Constantine Sapuntzakis | |
2001-05-15 | Correct memory type for free(). (art@ ok) | Hakan Olsson | |
2001-04-22 | Free fs->fs_contigdirs array only on successful rw->ro update. This | Grigoriy Orlov | |
fixes "duplicated free" panic. Update file system from read-write to read-only freed memory but may fail later if file system busy. deraadt@ ok. | |||
2001-04-19 | Cleanup dirpref and synhronize superblock with freebsd. | Grigoriy Orlov | |
From FreeBSD with little changes. art@ ok. | |||
2001-04-15 | Avoid panic on unmounting read-only fs, which previously use softupdates. | Grigoriy Orlov | |
This problem occur only on kernels without soft-updates support. art@ ok. | |||
2001-04-13 | Fix overflow in superblock. From FreeBSD. | Grigoriy Orlov | |
FreeBSD's log: > The ffs superblock includes a 128-byte region for use by temporary > in-core pointers to summary information. An array in this region > (fs_csp) could overflow on filesystems with a very large number of > cylinder groups (~16000 on i386 with 8k blocks). When this happens, > other fields in the superblock get corrupted, and fsck refuses to > check the filesystem. > > Solve this problem by replacing the fs_csp array in 'struct fs' > with a single pointer, and add padding to keep the length of the > 128-byte region fixed. Update the kernel and userland utilities > to use just this single pointer. > > With this change, the kernel no longer makes use of the superblock > fields 'fs_csshift' and 'fs_csmask'. Add a comment to newfs/mkfs.c > to indicate that these fields must be calculated for compatibility > with older kernels. art@ ok. | |||
2001-04-12 | Allow kernels with just MFS and no FFS. Fixes PR#323. | Constantine Sapuntzakis | |
2001-04-07 | Reduce the count of fs_sparecon's by 1 for 64 bit architectures | Todd C. Miller | |
since fs_contigdirs takes 64 bits on those platforms. This fixes a problem on alpha where "struct fs" grew. A better solution is to make fs_csp into a pointer and use the remainder for pointer spares and allocate fs_contigdirs from those. This will happen some time post-2.9. | |||
2001-04-06 | Replace FFS directory preference algorithm(dirpref) by new one. | Grigoriy Orlov | |
It allocates directory inode in the same cylinder group as a parent directory in. This speedup file/directory intensive operations on a big file systems in times. Don't forget to recompile fsck_ffs with updated fs.h or you will get "VALUES IN SUPER BLOCK DISAGREE WITH THOSE IN FIRST ALTERNATE" at the next boot. In any case you can ignore this error safely. Requested by deraadt@ | |||
2001-04-06 | Change softdep_count_dependencies interface so that it may be called | Grigoriy Orlov | |
from interrupt at splbio. costa@ ok. | |||
2001-04-04 | Add "softdep" option to mount. Update from rw/async to softdep | Grigoriy Orlov | |
and otherwise are disabled. art@ ok. | |||
2001-03-27 | clean more dangling spaces | Artur Grabowski | |
2001-03-22 | Sigh. PR_WAITOK, not M_WAITOK | Artur Grabowski | |
2001-03-22 | Change the ffs inode allocation from using malloc to pool. | Artur Grabowski | |
Saves approx. 256k memory on a GENERIC i386 and moves 670k out of kmem_map. | |||
2001-03-20 | dangling space in comment | Artur Grabowski | |
2001-03-20 | dangling space in comment | Artur Grabowski | |
2001-03-20 | cleaning | Artur Grabowski | |
2001-03-20 | cleanup | Artur Grabowski | |
2001-03-20 | Even more cleanup. This file was a mess. | Artur Grabowski | |
2001-03-20 | Make fsync a bit more reliable; From Free/NetBSD. art@ ok. | Grigoriy Orlov | |
2001-03-20 | indent | Artur Grabowski | |
2001-03-20 | Even more. | Artur Grabowski | |
2001-03-20 | 14 more NULL used as integer values. | Artur Grabowski | |
2001-03-20 | NULL is not an u_long | Artur Grabowski | |
2001-03-20 | NULL is not a daddr_t | Artur Grabowski | |
2001-03-15 | cosmetic cleanup | Artur Grabowski | |
2001-03-14 | KNF | Grigoriy Orlov | |
2001-03-13 | correct softdep integration error, add missed lock; | Grigoriy Orlov | |