Age | Commit message (Collapse) | Author | |
---|---|---|---|
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 | |
2001-03-09 | fix comment, | Grigoriy Orlov | |
convert spaces -> tabs | |||
2001-03-08 | Be more careful about who we treat as the syncer. | Artur Grabowski | |
2001-03-04 | Better diagnostics for locking errors. Fix panic before panic in | Constantine Sapuntzakis | |
acquire_lock_interlocked. Thanks to Grigoriy Orlov for triggering this one. | |||
2001-03-04 | Fix use of timeouts. Thanks to Grigoriy Orlov (gluk) | Constantine Sapuntzakis | |
2001-03-01 | port kqueue changes from freebsd, plus all required openbsd glue. | Niels Provos | |
okay deraadt@, millert@ from jlemon@freebsd.org: extend kqueue down to the device layer, backwards compatible approach suggested by peter@freebsd.org | |||
2001-02-27 | Add wakeup_n and wakeup_one. wakeup_n will wakeup up to n sleeping processes | Constantine Sapuntzakis | |
2001-02-26 | Move #define STATIC | Constantine Sapuntzakis | |
Get rid of unnecessary comment to self | |||
2001-02-26 | Fix a couple panics caused by not freeing locks at the right times. | Constantine Sapuntzakis | |
Thanks gluk for the patch Free locks before calling panic | |||
2001-02-24 | Cleanup of vnode interface continues. Get rid of VHOLD/HOLDRELE. | Constantine Sapuntzakis | |
Change VM/UVM to use buf_replacevnode to change the vnode associated with a buffer. Addition v_bioflag for flags written in interrupt handlers (and read at splbio, though not strictly necessary) Add vwaitforio and use it instead of a while loop of v_numoutput. Fix race conditions when manipulation vnode free list | |||
2001-02-23 | Change the B_DELWRI flag using buf_dirty and buf_undirty instead of | Constantine Sapuntzakis | |
manually twiddling it. This allows the buffer cache to more easily keep track of dirty buffers and decide when it is appropriate to speed up the syncer. Insipired by FreeBSD. Look over by art@ | |||
2001-02-23 | Remove the clustering fields from the vnodes and place them in the | Constantine Sapuntzakis | |
file system inode instead | |||
2001-02-23 | Convert the sleep in ffs_fsync to a tsleep so we can get a good wmesg. | Artur Grabowski | |
2001-02-21 | Latest soft updates from FreeBSD/Kirk McKusick | Constantine Sapuntzakis | |
Snapshot-related code has been commented out. | |||
2001-02-20 | use void * consistently in vfs_mount and sys_mount. ok @art | assar | |
2001-02-10 | $OpenBSD$ | Federico G. Schwindt | |
2000-06-26 | Instead of using an ugly hack with timeouts to wake up the process | Artur Grabowski | |
waiting for resources, use the built-in facilities in tsleep. | |||
2000-06-23 | remove obsolete vtrace guts; art@ | Michael Shalayeff | |
2000-04-20 | Fix a problem that occurs when the filesystem fills up. | Artur Grabowski | |
When the filesystem is able to allocate an indirect block but not the data block, it incorrectly unwinds the indirect block leaving a dangling pointer to a free block. This is said to fix the "freeing free block" panics people were seeing. From FreeBSD. | |||
2000-03-04 | Cut the number of dependencies to reduce problems on low-memory machines. | Artur Grabowski | |
2000-02-07 | update to use new checkexp vfs operation | assar | |
2000-01-14 | Try 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-14 | rename DEBUGLOCKS to LOCKDEBUG to be consistent with the rest of the kernel | Artur Grabowski | |
1999-12-06 | When truncating directories by less than a block we shouldn't zero the | Artur Grabowski | |
part of the block that we're deallocating. From NetBSD. |