Age | Commit message (Collapse) | Author | |
---|---|---|---|
2005-12-02 | Use ANSI function declarations, no binary change. | Pedro Martelletto | |
Diff from Iruata Souza, thanks. | |||
2005-11-30 | Use suser() to check for root privileges, okay hshoexer@ deraadt@ | Pedro Martelletto | |
2005-11-30 | No need for vfs_busy() and vfs_unbusy() to take a process pointer | Pedro Martelletto | |
anymore. Testing by jolan@, thanks. | |||
2005-11-19 | Remove unnecessary lockmgr() archaism that was costing too much in terms | Pedro Martelletto | |
of panics and bugfixes. Access curproc directly, do not expect a process pointer as an argument. Should fix many "process context required" bugs. Incentive and okay millert@, okay marc@. Various testing, thanks. | |||
2005-11-15 | Only two `h' in threshold. | Miod Vallat | |
2005-11-11 | Use ANSI function declarations and deregister, no binary change. | Pedro Martelletto | |
Diff from Rui Reis <rui@rui.cx>, thanks. | |||
2005-11-10 | Use ANSI function declarations and deregister, no binary change. | Pedro Martelletto | |
Diff from Rui Reis <rui@rui.cx>, thanks. | |||
2005-11-09 | ANSI function declarations and deregister, only ffs_softdep left to go | Pedro Martelletto | |
2005-11-09 | - Don't getnanotime() for read-only mountpoints or unmodified inodes, | Pedro Martelletto | |
since we won't use that information. - Don't call getnanotime() a second time for IN_CHANGE inodes. - Space the code a bit, so it's actually readable. Testing jolan@ and krw@, okay krw@. | |||
2005-11-08 | Use ANSI function declarations and deregister, no binary change | Pedro Martelletto | |
2005-11-06 | Use ANSI-style function declarations and deregister, no binary change | Pedro Martelletto | |
2005-11-06 | Replace obsolete comment with one that better describes reality. | Pedro Martelletto | |
2005-11-05 | Don't go through the mountpoint vnode list if we want to skip them all. | Pedro Martelletto | |
Based on a similar change made to NFS. Tested by many, thanks. | |||
2005-10-25 | Make ffs_fserr() a macro, okay deraadt@ | Pedro Martelletto | |
2005-10-25 | Correctly remove elements from a pagedep dirrem list. | Pedro Martelletto | |
Issued noted and fix okay'd by otto@. | |||
2005-10-13 | pump up the high water mark on the dirhash pool to avoid page allocation ↵ | Michael Shalayeff | |
throttling; pedro@ ok | |||
2005-10-06 | typo | Pedro Martelletto | |
2005-10-06 | Use part of the reserved space on the disk inode to scatter 16 more bits | Pedro Martelletto | |
for the UID and GID, making them 32-bit. Based on what Linux does, with a slightly different implementation. Endianess issue in fsck noted by miod@, okay deraadt@. | |||
2005-10-04 | typo | Pedro Martelletto | |
2005-09-29 | Sync dirty data when going from read-write to read-only. | Pedro Martelletto | |
Verified against FreeBSD, closes PR 4526, okay deraadt@. | |||
2005-09-26 | bring in two changes from freebsd: | Pedro Martelletto | |
- keep track of free blocks dependencies, and only tell the syncer to release the blocks when there are no more dirty buffers associated - don't mark the inode dependency as done if we had to rollback its allocation due to the bitmap being inconsistent testing by krw, jsg, jmc and sturm, okay deraadt | |||
2005-09-06 | Enforce splbio() while traversing the worklist in | Pedro Martelletto | |
softdep_disk_io_initiation(). Testing by dtucker@ and krw@, okay deraadt@ long ago. | |||
2005-09-06 | Describe the steps involved in allocating a new inode and space the code | Pedro Martelletto | |
a bit, to improve readability. Okay krw@ and art@, input from deraadt@ and jmc@. | |||
2005-08-14 | KNF | Pedro Martelletto | |
2005-08-14 | When leaving ext2fs_symlink(), unlock the vnode on both error and | Pedro Martelletto | |
non-error cases, so that later on we don't deadlock trying to look it up. Fixes buglet introduced in revision 1.38, okay deraadt@. | |||
2005-08-08 | Add a few splassert() checks, okay art@ | Pedro Martelletto | |
2005-07-28 | no point in having an inode pool if we don't use it | Pedro Martelletto | |
2005-07-28 | KNF | Pedro Martelletto | |
2005-07-24 | Fix a bug introduced in rev 1.58. When relookup() is called with | Todd C. Miller | |
SAVESTART set in cn_flags, it will add an extra reference to the directory vnode pointer, but only when () succeeds. We were doing vrele() regardless of relookup()'s return value, which caused the reference count to be decremented on error when it shouldn't be. OK pedro@ tedu@ | |||
2005-07-20 | Reintroduce the changes made by tedu in revision 1.50 of ffs_softdep.c, | Pedro Martelletto | |
this time with a small tweak: when flushing the dependencies, don't update the inode twice, but update once, and then, if needed, fsync it. Doing so fixes the inode hangs some people were seeing. Various testing for a while, especially krw@ and millert@, okay deraadt@ | |||
2005-07-03 | Extended Attributes was a piece to get to ACLs, however ACLs have not | Dale Rahn | |
been worked on, so EA is pointless. Also the code is not enabled in GENERIC so it is not being tested or maintained. | |||
2005-06-19 | wrap a goto label in the proper #ifdef | Theo de Raadt | |
2005-06-18 | Remove remaining whiteout tentacles; OK deraadt@ miod@ weingart@ | Todd C. Miller | |
2005-06-10 | Tweak softdep_change_linkcnt() so we can specify whether we're willing | Pedro Martelletto | |
to be co-opted by softdep or not, and use this new interface to inform softdep in ufs_inactive() that the inode mode has changed. We don't want to be co-opted there as that might lead to undesired circular dependencies such as a vput() depending on another vput() to complete, or a process that is trying to free up a vnode being blocked trying to acquire a new vnode. Okay tedu@ deraadt@, thanks to all those who tested. | |||
2005-05-28 | Disable the recently enabled optimization since it seems to cause a | Artur Grabowski | |
loop in the kernel that makes us overwrite the stack and anything else we might run into. beck@ pedro@ ok | |||
2005-05-28 | ufs_whiteout() is now pointless, remove it, okay millert@ | Pedro Martelletto | |
2005-05-24 | brelse() on failed bread() | Pedro Martelletto | |
2005-05-23 | re-enable softdep notification of inode mode change, | Pedro Martelletto | |
talked over with marius@ and tedu@ | |||
2005-05-22 | put VLOCKSWORK stuff under a single option, VFSDEBUG | Pedro Martelletto | |
2005-05-02 | quadradically -> quadratically, lots of | Pedro Martelletto | |
2005-04-30 | Add support for large files (> 4GB). | Niall O'Higgins | |
Automatically converts old filesystems to use this if they are already at revision 1 (like Linux). Revision 0 filesystems don't get converted (unlike Linux). From NetBSD | |||
2005-04-23 | pay attention to failed relookups, compensate for a reference lost in | Pedro Martelletto | |
ufs_checkpath(), optimize a if/else's logical structure. diff mostly from netbsd, okay tedu@ fgsch@ deraadt@, tested by many, jcs@ in particular, thanks. fixes PRs 4040, 4126, 4169 and 4180. | |||
2005-03-06 | Use V_SAVE instead of hardcoding it, no binary change. | Pedro Martelletto | |
2005-03-01 | Avoid 32-bit overflow by casting blk arg to lblktosize() to (off_t). Solves | Aaron Campbell | |
performance loss issue in some cases when reading past the 2GB boundary in large files. Testing by drahn@, otto@, danh@, krw@, tom@, jaredy@. From FreeBSD. tedu@, pedro@ ok. | |||
2005-02-17 | miscellaneous typo fixes: | Jean-Francois Brousseau | |
- sturct -> struct (spotted by pedro) - elimination of consecutive 'the' words ok jmc@, henning@, krw@, robert@, some whining by jolan@ | |||
2005-02-17 | Remove dead code that has moved to ufs_vfsops.c long ago. | Pedro Martelletto | |
2004-12-26 | Use list and queue macros where applicable to make the code easier to read; | Miod Vallat | |
no change in compiler assembly output. | |||
2004-12-09 | When removing the last item from a non-empty worklist, the worklist | Todd C. Miller | |
tail pointer must be updated; from FreeBSD (mckusick). Appears to fix problems I was seeing with processes stuck with WCHAN=inode in rev 1.50. OK pedro@ and tedu@. | |||
2004-12-08 | Move a FREE_LOCK until after a potential continue so we don't try | Todd C. Miller | |
to free the lock twice. Doesn't actually make any difference for us (no .o file diff) since the code block that contains the continue is currently commented out but it makes sense to fix this now so if/when that code is enabled we don't get bitten. From FreeBSD, ok pedro@. | |||
2004-12-07 | backout missed by tedu: | Theo de Raadt | |
prev softdep merge could lead to inode wait deadlock for unknown reasons. revert. |