Age | Commit message (Collapse) | Author | |
---|---|---|---|
2007-05-27 | use struct csum_total for superblock summary info; ok pedro@ | Otto Moerbeek | |
2007-05-26 | Dynamic buffer cache. Initial diff from mickey@, okay art@ beck@ toby@ | Pedro Martelletto | |
deraadt@ dlg@. | |||
2007-05-17 | Collapse struct v_selectinfo in struct vnode, remove the | Thordur I. Bjornsson | |
simplelock and reuse the name for the selinfo member. Clean-up accordingly. ok tedu@,art@ | |||
2007-05-09 | unused function; ok pedro | Theo de Raadt | |
2007-05-03 | Update CGSIZE macro so that it is no longer based on fs_cpg. | Todd C. Miller | |
This was part of the ffs2 changes but was not committed earlier in order to make the userland and kernel changes independent. NOTE: the change to newfs require an updated fs.h; building an updated newfs with the old fs.h may result in a broken filesystem. OK otto@ | |||
2007-04-29 | enforce -Wdeclaration-after-statement by hand | Theo de Raadt | |
2007-04-24 | Fix mounting of ffs2 via "mount -a". ffs2 is not separate from ffs | Todd C. Miller | |
and should not have its own MOUNT_XXX define. | |||
2007-04-23 | Remove 'cg_space' from 'struct cg'. Due to the alignment on 64-bit | Pedro Martelletto | |
architectures, CGSIZE() was returning something sligthly over one block. The 'new' fsck would round this value up to a fragment boundary, and end up trying to access memory beyond allocated space. From mickey@, okay pedro@, millert@ and otto@. | |||
2007-04-20 | Do not use time_t for on-disk data structures, use int32_t instead | Todd C. Miller | |
since time_t will have to be crank to 64 bits at some point in the future. OK pedro@ | |||
2007-04-15 | Save block pointers contents before releasing interrupts so that panic | Pedro Martelletto | |
messages are consistent, from mickey@, okay pedro@ | |||
2007-04-13 | Move the declaration of VN_KNOTE() into vnode.h instead of having | Thordur I. Bjornsson | |
multiple defines all over; ok tedu@ | |||
2007-04-11 | Remove the simplelock argument from vrecycle(); | Thordur I. Bjornsson | |
ok pedro@, sturm@ | |||
2007-04-11 | in ffs_reload() use ffs_validate() to check if the | Thordur I. Bjornsson | |
superblock is OK; Makes it work for FFS2. ok tedu@ | |||
2007-04-10 | ``it's'' -> ``its'' when the grammar gods require this change. | Miod Vallat | |
2007-04-10 | Fix yet another vnode leak. If relookup() succeeds, we no longer need | Pedro Martelletto | |
the compensation acquired before ufs_checkpath(). OK tom@ mickey@ beck@ | |||
2007-04-04 | Back out revision 1.70. By asynchronously writing the bitmaps to disk | Pedro Martelletto | |
upon unmount, we were generating rollbacks that wouldn't be taken care of, as well as leaving dangling items in softdep's worklist. | |||
2007-04-02 | vrele() the destination directory vnode in ufs_rename() if the call to | Pedro Martelletto | |
ufs_checkpath() fails, okay krw@ tom@ thib@ deraadt@ | |||
2007-03-31 | deregister, no change in object code | Pedro Martelletto | |
2007-03-23 | Make FFS allocation functions non-static, okay miod@ mk@ thib@ | Pedro Martelletto | |
2007-03-21 | Remove the v_interlock simplelock from the vnode structure. | Thordur I. Bjornsson | |
Zap all calls to simple_lock/unlock() on it (those calls are #defined away though). Remove the LK_INTERLOCK from the calls to vn_lock() and cleanup the filesystems wich implement VOP_LOCK(). (by remvoing the v_interlock from there calls to lockmgr()). ok pedro@, art@, tedu@ | |||
2007-03-19 | Also shift superblock fields in ffs_reload(), okay beck@ deraadt@ | Pedro Martelletto | |
2007-03-19 | Add FFS2 fields to the superblock, change file system tools to keep | Pedro Martelletto | |
accessing FFS1 fields, okay art@, quite some testing by ckuethe@, simon@ and thib@, thanks. | |||
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 | |