Age | Commit message (Collapse) | Author | |
---|---|---|---|
2007-03-15 | Since p_flag is often manipulated in interrupts and without biglock | Artur Grabowski | |
it's a good idea to use atomic.h operations on it. This mechanic change updates all bit operations on p_flag to atomic_{set,clear}bits_int. Only exception is that P_OWEUPC is set by MI code before calling need_proftick and it's automatically cleared by ADDUPC. There's no reason for MD handling of that flag since everyone handles it the same way. kettenis@ ok | |||
2007-03-14 | Check if there are still blocks left to be allocated _after_ we have | Pedro Martelletto | |
read in the bitmap (an operation that might cause us to sleep), and before committing to the allocation. Fixes PR 5230, okay krw@, millert@. | |||
2007-02-26 | Don't enforce RLIMIT_FSIZE on vnd(4) I/O operations, okay deraadt@ | Pedro Martelletto | |
2007-02-17 | do not look for sblock at offset 0; pedro@ deraadt@ ok | Michael Shalayeff | |
2007-02-14 | Consistently spell FALLTHROUGH to appease lint. | Jonathan Gray | |
ok kettenis@ cloder@ tom@ henning@ | |||
2007-02-07 | grammar fix; from bret lambert | Jason McIntyre | |
2007-02-04 | Correctly fake dinode for the FFS2 case in handle_workitem_freeblocks() | Pedro Martelletto | |
Okay millert@ | |||
2007-01-26 | remove ancient device-specific trick from ffs1_blkpref() | Pedro Martelletto | |
okay toby@ millert@ | |||
2007-01-17 | "correctly deallocate dependencies when growing into an indirect block | Nikolay Sturm | |
and failing to acquire a data block, from freebsd" fix this in ffs2_balloc() as well requested by and ok pedro | |||
2007-01-17 | more ufs2 leftovers | Pedro Martelletto | |
2007-01-16 | correctly initialise unwindidx in ffs2_balloc() | Nikolay Sturm | |
ok pedro | |||
2007-01-16 | Retire VOP_LEASE(); It was a bit for NQNFS and has | Thordur I. Bjornsson | |
effectively been a no-op for quite some time now, without promise for future usage. ok pedro@ Testing by krw@ (earlier diff) and Johan Mson Lindman (tybollt@solace.miun.se) | |||
2007-01-15 | Fix splbio() in initiate_write_inodeblock_ufs2() | Pedro Martelletto | |
2007-01-15 | UFS2 -> FFS2 | Pedro Martelletto | |
2007-01-14 | Fix growing of direct blocks in ffs2_balloc() | Pedro Martelletto | |
2007-01-13 | prettify some panic strings, | Thordur I. Bjornsson | |
s/panic("%s: foo", "func")/panic("func: foo") ok toby@ | |||
2007-01-12 | Also check for 'num < 1' in ffs2_balloc(), no functional change | Pedro Martelletto | |
2007-01-11 | correctly deallocate dependencies when growing into an indirect block | Pedro Martelletto | |
and failing to acquire a data block, from freebsd, okay krw@, mickey@ | |||
2007-01-07 | add some comments | Nikolay Sturm | |
ok pedro | |||
2007-01-07 | document the unit of sizes in struct fs (bytes or frags) | Nikolay Sturm | |
some 'number' -> '#' ok pedro | |||
2007-01-06 | stop printing messages when changing space/time optimizations. | Ted Unangst | |
it's not all that important, and mostly seems to just scare people. ok pedro henning thib ... also remove dumb casts. | |||
2006-12-29 | Avoid void * arithmetic, okay deraadt@, suggestions from millert@ | Pedro Martelletto | |
2006-12-28 | Zap nextgennumber, unused since LFS went up into the attic. | Thordur I. Bjornsson | |
ok pedro@ | |||
2006-11-17 | There is no need to set IN_CHANGE or IN_UPDATE when no on-disk data is | Pedro Martelletto | |
being touched, fixes PR 3634, okay mickey@, thib@ and beck@. | |||
2006-11-07 | a fix derived from freebsd 1.196 revision. | Michael Shalayeff | |
due to ffs_sync not be able to sync some buffers here is another instance of softdep code that must ensure proper syncing. try harder to flush MKDIR_BODY dependancy if such still exists during pagedep flush (that is by syncing first block of the dir). pedro@ ok | |||
2006-10-29 | LFS and FFS shared the same read and write vnops, through | Thordur I. Bjornsson | |
the macro games in ufs_readwrite.c (LFS_READWRITE) now that LFS has gone, make these functions ffs specific and move them into ffs/ffs_vnops.c zapping ufs_readwrite.c in the process. Also, remove lfs fields from the inode and ufsmount structs. ok toby@,deraadt@,pedro@ testing and ok krw@ | |||
2006-10-20 | from freebsd rev1.128: | Michael Shalayeff | |
If an error occurs while writing a buffer, then the data will not have hit the disk and the dependencies cannot be unrolled. In this case, the system will mark the buffer as dirty again so that the write can be retried in the future. When the write succeeds or the system gives up on the buffer and marks it as invalid (B_INVAL), the dependencies will be cleared. pedro@ ok | |||
2006-10-20 | brelse() after failed bread(), from Christoph Egger, okay mickey@ | Pedro Martelletto | |
2006-10-19 | one more missing brelse() on bread() error; pedro@ ok | Michael Shalayeff | |
2006-10-16 | Fix some more "is is"s. ok otto@. | Tom Cosgrove | |
2006-10-16 | Use daddr64_t for logical blocks, okay krw@ thib@ mickey@ | Pedro Martelletto | |
2006-10-03 | Introduce daddr64_t and use it for physical block numbers | Pedro Martelletto | |
Okay weingart@, "I'm game with putting my name on it" dlg@ | |||
2006-09-30 | simply getdirtybuf to take a plain buf* as there is no need otherwise; no ↵ | Michael Shalayeff | |
functional change; pedro@ ok | |||
2006-09-26 | accidental extra %s in ddb printf | Michael Shalayeff | |
2006-09-26 | fix races w/ getdirtybuf() usage that can violate normal | Michael Shalayeff | |
softdep processing and temporarily create inconsistant on-disk ffs state and as well abuse kmem. pedro@ deraadt@ ok; tested by many | |||
2006-09-24 | Zap LFS, okay deraadt@ | Pedro Martelletto | |
2006-09-20 | Use void * where void * is meant, spotted by tedu@ | Pedro Martelletto | |
No binary change | |||
2006-09-20 | Replace a bzero() by a loop in ffs_indirtrunc(), making the code FFS2 | Pedro Martelletto | |
compatible, adapted from FreeBSD, okay krw@ | |||
2006-08-07 | Revert last commit | Pedro Martelletto | |
2006-08-06 | obey the locking disaplince wrt to VOP_CLOSE during umounts | Thordur I. Bjornsson | |
and mount error paths. ok sturm@ pedro@ | |||
2006-07-27 | missing \n in ddb printf | Michael Shalayeff | |
2006-07-18 | Swap inode's associated device number on big-endian architectures when | Pedro Martelletto | |
calling checkalias(), Daniel Junglas <dju@sysgo.com>, thanks. | |||
2006-07-11 | add mount/vnode/buf and softdep printing commands; tested on a few archs and ↵ | Michael Shalayeff | |
will make pedro happy too (; | |||
2006-06-28 | from freebsd 1.179: | Michael Shalayeff | |
When the softupdates worklist gets too long, threads that attempt to add more work are forced to process two worklist items first. However, processing an item may generate additional work, causing the unlucky thread to recursively process the worklist. Add a per-thread flag to detect this situation and avoid the recursion. This should fix the stack overflows that could occur while removing large directory trees. pedro@ tedu@ ok | |||
2006-06-25 | rename vfs_busy() flags VB_UMIGNORE/VB_UMWAIT to VB_NOWAIT/VB_WAIT | Nikolay Sturm | |
requested by and ok pedro | |||
2006-06-21 | propagate the wait flag from fsync down to softdep_fsync_mountdev() | Michael Shalayeff | |
and do not perform synchronous sync there is no wait requested by skipping the drain_output() call. this fixes a problem where update kthread would sleep forever on some vnode since work is created faster than it can be flushed. pedro@ ok; tested by many | |||
2006-06-21 | do not wait in pool_get() here as we can recover from no memory; tedu@ ↵ | Michael Shalayeff | |
pedro@ ok; tested by many | |||
2006-06-19 | Shave 900 bytes off ramdisk kernels (before compression) by not including | Miod Vallat | |
the softdep stubs which get optimized out when DOINGSOFTDEP evaluates to zero at compile time and thus are never ever invoked; ok deraadt@ | |||
2006-06-18 | Under certain circumstances, ext2fs_inactive() can be called without a | Pedro Martelletto | |
backing dinode, in which case we just want to recycle the vnode. Fixes a crash reported by reyk@, okay krw@, mickey@ and pat@. | |||
2006-06-17 | Refuse to mount a ffs fielsystems whose number of frags is not 1, 2, 4 or 8, | Miod Vallat | |
and remove the corresponding panics in low level code. ok pedro@ weingart@ |