summaryrefslogtreecommitdiffstats
path: root/sys/ufs/ext2fs/ext2fs_extern.h (follow)
Commit message (Collapse)AuthorAgeFilesLines
* struct vops is not modified during runtime so use const which moves eachclaudio2020-01-201-4/+4
| | | | | into read-only data segment. OK deraadt@ tedu@
* Syncronize filesystems to disk when suspending. Each mountpoint's vnodesderaadt2018-02-101-2/+2
| | | | | | | | | | are pushed to disk. Dangling vnodes (unlinked files still in use) and vnodes undergoing change by long-running syscalls are identified -- and such filesystems are marked dirty on-disk while we are suspended (in case power is lost, a fsck will be required). Filesystems without dangling or busy vnodes are marked clean, resulting in faster boots following "battery died" circumstances. Tested by numerous developers, thanks for the feedback.
* ext2fs only has one set of specops/fifoopsnatano2016-08-101-6/+2
| | | | ok mpi tedu
* better type safety and KNF.pelikan2014-07-141-71/+65
| | | | | | | | | | Because ext2fs has only 32-bit inode numbers, use ufsino_t as in FFS. Disk blocks are u_int32_t as well, because we don't support the 64BIT flag. When we do, there's going to be a lot more going on than just daddr_t. While there, add some journaling-related bits into the superblock to play with. ok guenther
* Zap a bunch of trailing whitespace.krw2014-05-271-2/+2
|
* ufs_setattr() was assuming that the flag bits that indicateguenther2014-01-251-3/+2
| | | | | | | | | | | | | | atime/mtime/ctime need to be updated weren't already set. When they are, the code will end up treating the VNOVAL value from the VFS layer as a time_t. Port the fix from FreeBSD: the critical bit is to process the existing flag values before possibly setting them again in ufs_setattr(). This diff pulls in a larger change from FreeBSD to replace the macro ITIMES() with a function ufs_itimes() and to remove the atime and mtime arguments from ffs_update(): only ufs_setattr() used them so it makes more sense to just do the those bits directly there. tweaks and ok tedu@ matthew@
* final removal of daddr64_t. daddr_t has been 64 bit for a long enoughderaadt2013-06-111-3/+3
| | | | | test period; i think 3 years ago the last bugs fell out. ok otto beck others
* UFS does't do inode numbers >2^32, so use a smaller type internally,guenther2013-05-301-3/+3
| | | | | | | only using ino_t in the VFS layer APIs: vget, readdir, getattr. otto wrote the original diff for libsa to keep bootblock from overflowing ok deraadt@ kettenis@
* Add support for _PC_TIMESTAMP_RESOLUTION for ffs/mfs, cd9600, ext2,guenther2013-03-281-1/+2
| | | | | | | msdos, NFS, fifos and devices, plus support for querying it in getconf(2) and the requisite pathconf(2) manpage blurb ok tedu@
* Bring back the "End the VOP experiment." diff, naddy's issues wherethib2010-12-211-6/+6
| | | | | | unrelated, and his alpha is much happier now. OK deraadt@
* Backout the VOP diff until the issues naddy was seeing on alpha (gcc3)thib2010-09-101-6/+6
| | | | have been resolved.
* End the VOP experiment. Instead of the ridicolusly complicated operationthib2010-09-061-6/+6
| | | | | | | | | | | | | | | | | | | vector setup that has questionable features (that have, as far as I can tell never been used in practice, atleast not in OpenBSD), remove all the gunk and favor a simple struct full of function pointers that get set directly by each of the filesystems. Removes gobs of ugly code and makes things simpler by a magnitude. The only downside of this is that we loose the vnoperate feature so the spec/fifo operations of the filesystems need to be kept in sync with specfs and fifofs, this is no big deal as the API it self is pretty static. Many thanks to armani@ who pulled an earlier version of this diff to current after c2k10 and Gabriel Kihlman on tech@ for testing. Liked by many. "come on, find your balls" deraadt@.
* Make the ffs code 64-bit disk block number clean. Based on a diffotto2008-01-051-3/+3
| | | | | | 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@
* ufs1_daddr_t cleanup, okay thib@ deraadt@pedro2007-06-021-6/+6
|
* Make ext2fs use a memory pool to allocate inodes, okay tedu@pedro2005-12-141-3/+3
|
* inode/dinode separation for ext2fspedro2005-12-111-1/+4
|
* no point in having an inode pool if we don't use itpedro2005-07-281-2/+2
|
* Add support for large files (> 4GB).niallo2005-04-301-1/+3
| | | | | | | | 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
* Change mode_t and nlink_t from 16bit to 32bit. This allows us tomillert2004-07-131-3/+3
| | | | | | | | | | use mode_t in syscalls.master and to use mode_t in more places in the kernel. It also makes lint much more useful on kernel code. I've also added a placeholder for st_birthtime to make a UFS2 import easier at some future date. Requested by and OK deraadt@
* call fifo_reclaim here tootedu2004-03-021-1/+2
|
* remove ext2fs_vinit. it wasn't used and is identical to ufs_vinit.tedu2003-07-061-3/+1
| | | | otto made the diff for me, thanks.
* Remove the advertising clause in the UCB license which Berkeleymillert2003-06-021-6/+2
| | | | rescinded 22 July 1999. Proofed by myself and Theo.
* fiddle with some type names. change most instances of ufs_daddr_t totedu2003-05-261-6/+6
| | | | | ufs1_daddr_t, a few to daddr_t. ufs_daddr_t typedef is retained, but consider it deprecated. no functional changes. inspired by freebsd. ok art@
* Final __P removal plus some cosmetic fixupsmillert2002-03-141-4/+4
|
* First round of __P removal in sysmillert2002-03-141-63/+63
|
* UBC was a disaster. It worked very good when it worked, but on someart2001-12-191-5/+2
| | | | | | | | | machines or some configurations or in some phase of the moon (we actually don't know when or why) files disappeared. Since we've not been able to track down the problem in two weeks intense debugging and we need -current to be stable, back out everything to a state it had before UBC. We apologise for the inconvenience.
* Big cleanup inspired by NetBSD with some parts of the code from NetBSD.art2001-12-101-2/+2
| | | | | | | | - get rid of VOP_BALLOCN and VOP_SIZE - move the generic getpages and putpages into miscfs/genfs - create a genfs_node which must be added to the top of the private portion of each vnode for filsystems that want to use genfs_{get,put}pages - rename genfs_mmap to vop_generic_mmap
* Merge in the unified buffer cache code as found in NetBSD 2001/03/10. Theart2001-11-271-2/+5
| | | | | | | code is written mostly by Chuck Silvers <chuq@chuq.com>/<chs@netbsd.org>. Tested for the past few weeks by many developers, should be in a pretty stable state, but will require optimizations and additional cleanups.
* cleanart2001-09-181-7/+6
|
* Privatize several vnode operations that are not used by the generic code.csapuntz2001-06-231-7/+10
|
* use void * consistently in vfs_mount and sys_mount. ok @artassar2001-02-201-2/+2
|
* Support for ext2fs rev. 1 (from NetBSD)jasoni2000-04-261-1/+4
|
* update to use new checkexp vfs operationassar2000-02-071-3/+4
|
* Updates to match type changes in syscall tablestholo1998-02-081-3/+3
|
* Updates for VFS Lite 2 + soft update.csapuntz1997-11-061-2/+3
|
* Sync with NetBSD, mostly cosmetic.downsj1997-06-121-9/+9
|
* Integrate new ext2fs, reverting ufs support for the old one.downsj1997-05-301-3/+3
|
* Non-GPLd ext2fs code from Manuel, unmodified.downsj1997-05-301-0/+154