Age | Commit message (Collapse) | Author | |
---|---|---|---|
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. | |||
2008-11-06 | use PAGE_SIZE in FS_KERNMAXFILESIZE() use, note this is not the same as ↵ | Theo de Raadt | |
getpagesize() elsewhere. otto, please fix correctly after | |||
2008-11-02 | introduce a macro for max file size, instead of hardcoding it; ok | Otto Moerbeek | |
millert@ | |||
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-08-08 | Admit b_blkno means block number; a block is DEV_BSIZE (a.k.a. | Kenneth R Westerback | |
512) bytes; ffs is inextricably tied to using b_blkno and disklabel always uses sectorsize units. Thus use DEV_BSIZE units for all fields describing ffs filesystems and convert to/from sectors where required. This enables the creation and use of ffs filesystems on non-512 byte sectorsize devices. This diff allows i386 and sgi (the two test platforms) to find disklabels that are not on a sectorsize boundary. Same change to further archs coming. This is a no-op on 512-byte sectorsize devices. This work triggered by jsing@'s need to create ffs filesystems on sgi cdroms so we can create cdrom install media for sgi. sgi testing by jsing@ ok jsing@ pedro@ "looks sane" beck@ weingart@ | |||
2008-08-08 | spacing + wrap a line at 79chars. | Thordur I. Bjornsson | |
2008-07-09 | Remove an XXX comment about using the same pool for mfs and ffs, since | Thordur I. Bjornsson | |
mfs is using the ffs code and its the same object it would make no sense having two seperate pools... ok art@ | |||
2008-03-16 | Widen some struct statfs fields to support large filesystem stata | Otto Moerbeek | |
and add some to be able to support statvfs(2). Do the compat dance to provide backward compatibility. ok thib@ miod@ | |||
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-09-10 | Lock the vnode in ffs_unmount() before passing it too vinvalbuf() | Thordur I. Bjornsson | |
and VOP_CLOSE() since both of them expected it too be locked. ok art@ | |||
2007-09-07 | Use M_ZERO in a few more places to shave bytes from the kernel. | Artur Grabowski | |
eyeballed and ok dlg@ | |||
2007-08-04 | When we're writing out the summary information and fail on some block | Artur Grabowski | |
we'll just randomly brelse a random block that might or might no have been the block that failed. Which wouldn't be necessary anyway since bwrite releases the block wether the write succeeded or not. And if someone won the race for that block (perfectly possible since we're sleeping in this function) we'll just release a live block under his feet. beck@ ok | |||
2007-06-06 | Don't promote MNT_WAIT to MNT_NOWAIT when syncing the device vnode of a | Pedro Martelletto | |
mounted softdep file system, okay mickey@ beck@ art@ | |||
2007-06-01 | convert ufs2_daddr_t -> daddr64_t for greater clarity; ok pedro otto thib | Theo de Raadt | |
2007-05-29 | when mount -f'ing a dirty filesystem, do not clear the unclean flag, | Otto Moerbeek | |
the fs remains dirty. ok pedro@ | |||
2007-05-29 | FFS2-aware code for ffs_sbupdate() and ffs_reload(). | Pedro Martelletto | |
Okay otto@ millert@ krw@ beck@ thib@ | |||
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-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-03-31 | deregister, no change in object code | 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. | |||
2006-12-28 | Zap nextgennumber, unused since LFS went up into the attic. | Thordur I. Bjornsson | |
ok pedro@ | |||
2006-10-20 | brelse() after failed bread(), from Christoph Egger, okay mickey@ | Pedro Martelletto | |
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-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@ | |||
2006-05-20 | Don't mark a mount point read-only if we are about to sync it, otherwise | Pedro Martelletto | |
stuff that relies on ffs_update() to flush an inode will fail. Fixes PR 4997, okay tedu@ | |||
2006-04-19 | Remove unused mount list simple_lock() goo | Pedro Martelletto | |
2006-04-12 | revert the new superblock format. it violates the rule that new | Ted Unangst | |
kernels and old tools are safe. i'm leaving in the "updated" flag, so that fsck will continue to remove it from filesystems. the kernel no longer attempts to upgrade superblocks and will use the old format. post-mortem discussions have concluded that maybe jamming ffs2 fields into random locations in the superblock is asking for trouble, and we need to talk about this some more. my bad for not thinking fast enough. | |||
2006-04-07 | Add and use ffs_validate(), a function for sanity checking super blocks | Pedro Martelletto | |
2006-04-01 | Mark FFS2 file systems with UM_UFS2 | Pedro Martelletto | |
2006-03-31 | FFS2 dinode pool needs to be defined here too | Pedro Martelletto | |
2006-03-31 | Make ffs_statfs() tag FFS2 file systems as such | Pedro Martelletto | |
2006-03-31 | ffs_statfs() should not panic on FFS2 file systems | Pedro Martelletto | |
2006-03-31 | Teach ffs_vget() to allocate and associate FFS2 dinodes | Pedro Martelletto | |
2006-03-31 | Add a pool for FFS2 dinodes | Pedro Martelletto | |
2006-03-31 | Super block changes for FFS2, thanks to all who tested. | Pedro Martelletto | |
Silent okay after almost 3 weeks, hackers@. | |||
2006-03-09 | - Slightly more informative error message (requested by krw@) | Pedro Martelletto | |
- Bring back '&& !ronly' into the conditional, so these ancient file systems can be mounted again read-only (requested by millert@) | |||
2006-03-09 | Better handling of ancient file systems that still have 4.2 BSD | Pedro Martelletto | |
rotational layout tables. Okay krw@ | |||
2006-02-14 | if updating supablock fails w/ EROFS just procede w/ unmount thus allowing ↵ | Michael Shalayeff | |
unmounting rw mounts on top of ro devices; pedro@ ok and comments | |||
2006-01-03 | Fix UFS2 detection by looking for the super-block at every possible | Pedro Martelletto | |
location, testing krw@ and moritz@, thanks. | |||
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-17 | Remove the 'on disk' inode (dinode) from the 'in memory' inode in UFS. | Pedro Martelletto | |
Instead of having the dinode inside the inode structure itself, we now have just a pointer to it, and use a separate pool to allocate dinodes as needed. Inspiration from FreeBSD, various testing for a while, 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-08 | Use ANSI 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-09-29 | Sync dirty data when going from read-write to read-only. | Pedro Martelletto | |
Verified against FreeBSD, closes PR 4526, okay deraadt@. |