Age | Commit message (Collapse) | Author | |
---|---|---|---|
2010-02-16 | add some defines needed for the upcoming newfs_ext2fs; ok miod@ | Otto Moerbeek | |
2009-10-31 | Use suser when possible. Suggested by miod@. | Federico G. Schwindt | |
miod@ deraadt@ ok. | |||
2009-09-05 | - don't try to shove a daddr64_t value into an int32_t. | Jasper Lievisse Adriaanse | |
eventhough this won't really harm as ext2fs doesn't handle files that large, it was not correct. no objections from thib@ | |||
2009-08-21 | - remove statement after panic(), it won't be reached. | Jasper Lievisse Adriaanse | |
ok tedu@ | |||
2009-08-21 | - change two variables to daddr64_t, eventhough they won't overflow | Jasper Lievisse Adriaanse | |
as ext2fs doesn't support filesystems so large, it's more correct this way - fix a format string to %lld for daddr64_t ok tedu@ thib@ | |||
2009-08-13 | - remove super-obvious comments from $fs_vnodeop_entries[] | Jasper Lievisse Adriaanse | |
prodded by and ok thib@ agreed by art@ and blambert@ | |||
2009-07-09 | Remove the VREF() macro and replaces all instances with a call to verf(), | Thordur I. Bjornsson | |
which is exactly what the macro does. Macro's that are nothing more then: #define FUNCTION(arg) function(arg) are almost always pointless and should go away. OK blambert@ Agreed by many. | |||
2009-06-02 | blkno's are 64 bit so need %llu, found by Parfait | Theo de Raadt | |
ok oga | |||
2008-11-24 | styled code is happy code | Ted Unangst | |
2008-11-23 | fancy new ext2fs can have big inodes. we can possibly still read them | Ted Unangst | |
though if no new features are in play. diff from Wouter Godefroy | |||
2008-09-12 | Remove bzero/memset calls after pool_gets by passing the PR_ZERO | Bret Lambert | |
flag to the pool_get call. ok art@, krw@ | |||
2008-06-12 | Bring biomem diff back into the tree after the nfs_bio.c fix went in. | Theo de Raadt | |
ok thib beck art | |||
2008-06-11 | back out biomem diff since it is not right yet. Doing very large | Theo de Raadt | |
file copies to nfsv2 causes the system to eventually peg the console. On the console ^T indicates that the load is increasing rapidly, ddb indicates many calls to getbuf, there is some very slow nfs traffic making none (or extremely slow) progress. Eventually some machines seize up entirely. | |||
2008-06-10 | Buffer cache revamp | Bob Beck | |
1) remove multiple size queues, introduced as a stopgap. 2) decouple pages containing data from their mappings 3) only keep buffers mapped when they actually have to be mapped (right now, this is when buffers are B_BUSY) 4) New functions to make a buffer busy, and release the busy flag (buf_acquire and buf_release) 5) Move high/low water marks and statistics counters into a structure 6) Add a sysctl to retrieve buffer cache statistics Tested in several variants and beat upon by bob and art for a year. run accidentally on henning's nfs server for a few months... ok deraadt@, krw@, art@ - who promises to be around to deal with any fallout | |||
2008-06-09 | Update access(2) to have modern semantics with respect to X_OK and | Todd C. Miller | |
the superuser. access(2) will now only indicate success for X_OK on non-directories if there is at least one execute bit set on the file. OK deraadt@ thib@ otto@ | |||
2008-05-08 | retire vn_default_error() and replace all instances | Thordur I. Bjornsson | |
with eopnotsupp() instead; ok blambert@ | |||
2008-01-05 | Make the ffs code 64-bit disk block number clean. Based on a diff | Otto Moerbeek | |
from Pedro Martelleto. Two things remain: the on-disk quota structures are still 32-bit and statfs does not do 64-bit numbers yet. ok deraadt@ | |||
2007-10-29 | MALLOC/FREE -> malloc/free | Charles Longeau | |
ok krw@ | |||
2007-10-09 | MALLOC+memset(,0,) -> malloc+M_ZERO. Don't forget FREE->free this time. | Kenneth R Westerback | |
2007-10-06 | Simpliest memset(,0,) -> M_ZERO changes. One (caddr *) cast removal, | Kenneth R Westerback | |
otherwise just adding M_ZERO to malloc() and removing the immediately adjacent memset(,0,). | |||
2007-09-23 | Move notatime check from ffs_update() to ffs_read() and ufs_setattr(). | Todd C. Miller | |
Fixes a couple cases where atime was being updated even when the filesystem was mounted with the noatime option. Adapted from similar placement in FreeBSD and NetBSD. Tested by myself and naddy@ | |||
2007-06-22 | declare "uid" as uid_t instead of u_int, and fix format string accordingly | Jasper Lievisse Adriaanse | |
ok pedro@ thib@ | |||
2007-06-17 | ansify/de-register. | Jasper Lievisse Adriaanse | |
no binary change | |||
2007-06-02 | ufs1_daddr_t cleanup, okay thib@ deraadt@ | Pedro Martelletto | |
2007-06-01 | pedro ok'd this ~3500 line diff which removes the vop argument | Theo de Raadt | |
"ap = v" comments in under 8 seconds, so it must be ok. and it compiles too. | |||
2007-05-26 | Dynamic buffer cache. Initial diff from mickey@, okay art@ beck@ toby@ | Pedro Martelletto | |
deraadt@ dlg@. | |||
2007-04-11 | Remove the simplelock argument from vrecycle(); | Thordur I. Bjornsson | |
ok pedro@, sturm@ | |||
2007-04-10 | ``it's'' -> ``its'' when the grammar gods require this change. | Miod Vallat | |
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-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-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) | |||
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-07-18 | Swap inode's associated device number on big-endian architectures when | Pedro Martelletto | |
calling checkalias(), Daniel Junglas <dju@sysgo.com>, thanks. | |||
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-04-19 | Remove unused mount list simple_lock() goo | Pedro Martelletto | |
2006-01-09 | Put vprint() under DIAGNOSTIC, as to save space in generated ramdisks. | Pedro Martelletto | |
Inspiration from miod@, okay deraadt@. Tested on i386, macppc and amd64. | |||
2005-12-28 | Use the DIP macros to uniformly access fields from UFS1 and UFS2 dinodes. | Pedro Martelletto | |
No functional change, okay tedu@. | |||
2005-12-16 | Fix unsigned < 0 check in ext2fs_readdir(), okay krw@ | Pedro Martelletto | |
2005-12-15 | A sanity check for an unsigned variable being < 0 after a subtraction | Kenneth R Westerback | |
is not useful. Check the value about to be subtracted. Spotted by lint. ok pedro@ | |||
2005-12-14 | Make ext2fs use a memory pool to allocate inodes, okay tedu@ | Pedro Martelletto | |
2005-12-11 | Use e2fs_sbsave() instead of bcopy() when dumping the super-block back | Pedro Martelletto | |
to disk, fixes ext2fs on big-endian architectures | |||
2005-12-11 | inode/dinode separation for ext2fs | 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-06 | Replace obsolete comment with one that better describes reality. | Pedro Martelletto | |
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-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@. |