| History log of /src/sys/ufs/ext2fs |
| Revision | Date | Author | Comments |
| 1.4 | 09-Aug-2016 |
kre | Revert previous - which itself (incorrectly) reverted the previous changes, breaking the build.
|
| 1.3 | 09-Aug-2016 |
christos | More htree writing support (Hrishikesh Goyal GSoC 2016)
|
| 1.2 | 03-Jun-2016 |
joerg | Install new header and fix rump to include the corresponding source as well.
|
| 1.1 | 12-Jun-1998 |
cgd | branches: 1.1.198; 1.1.218; Rework the way kernel include files are installed. In the new method, as with user-land programs, include files are installed by each directory in the tree that has includes to install. (This allows more flexibility as to what gets installed, makes 'partial installs' easier, and gives us more options as to which machines' includes get installed at any given time.) The old SYS_INCLUDES={symlinks,copies} behaviours are _both_ still supported, though at least one bug in the 'symlinks' case is fixed by this change. Include files can't be build before installation, so directories that have includes as targets (e.g. dev/pci) have to move those targets into a different Makefile.
|
| 1.1.218.1 | 09-Jul-2016 |
skrll | Sync with HEAD
|
| 1.1.198.1 | 03-Dec-2017 |
jdolecek | update from HEAD
|
| 1.53 | 04-May-2025 |
rillig | ext2fs.h: avoid adjacent commas in unsupported features
A question mark still stands out enough to be noticeable.
Noticed by lint.
|
| 1.52 | 27-Aug-2023 |
christos | branches: 1.52.6; - fix cgload/cgsave inconsistencies - add a constant for the rev 0 group descriptor size
|
| 1.51 | 26-Aug-2023 |
riastradh | ext2fs: Nix trailing whitespace.
|
| 1.50 | 26-Aug-2023 |
riastradh | ext2fs.h: Restore e2fs_cgload/cgsave for libsa and userland use.
Stop-gap until they can be taught to handle the new version that was moved to ext2fs_vfsops.c, presumably.
|
| 1.49 | 25-Aug-2023 |
christos | Support INCOMPAT_64BIT on ext4 (Vladimir 'phcoder' Serbinenko)
|
| 1.48 | 20-Aug-2016 |
jdolecek | add support for GDT_CSUM AKA uninit_bg feature
|
| 1.47 | 15-Aug-2016 |
jdolecek | EXT2F_INCOMPAT_FLEX_BG feature actually doesn't require any explicit code changes, all magic is done by setting the block offsets appropriately in group descriptors by newfs; add it to the list of supported INCOMPAT flags
|
| 1.46 | 15-Aug-2016 |
jdolecek | bump link limit to 65000 for files, and add support for EXT2F_ROCOMPAT_DIR_NLINK to make link count unlimited for directories
|
| 1.45 | 14-Aug-2016 |
jdolecek | switch ext2fs_htree_has_idx() over to EXT2F_HAS_COMPAT_FEATURE() and remove EXT2F_HAS_COMPAT_FEATURE() - this also fixes it for BE machines, as EXT2F_HAS_COMPAT_FEATURE() did extra byte swap; also remove XXX comment about IN_E3INDEX
|
| 1.44 | 14-Aug-2016 |
jdolecek | add EXT2F_HAS_ROCOMPAT_FEATURE() macro, and change the current EXT2F_HAS_{COMPAT|INCOMPAT}_FEATURE() to take fs as first parameter
|
| 1.43 | 12-Aug-2016 |
macallan | sprinkle ()s in macros with comparisons, shuts up compiler warnings
|
| 1.42 | 12-Aug-2016 |
jdolecek | add support for extended attributes in ext2fs for ext3/ext4; read-only for now
|
| 1.41 | 05-Aug-2016 |
jdolecek | add defines for the missing ext4 feature flags
|
| 1.40 | 04-Aug-2016 |
jdolecek | rename struct ext2fs_dinode attribute e2di_dacl to correct e2di_size_high; even Linux ext2 filesystem code actually uses it unconditionally this way and ext4 code finally also calls it that way in their struct definition too; if there was any trace of this for other purpose it's long gone
|
| 1.39 | 03-Aug-2016 |
jdolecek | support arbitrary ext3/ext4 inode size, add all the new ext4 fields ext2fs_dinode, and add support for loading the extra inode data
|
| 1.38 | 24-Jun-2016 |
christos | branches: 1.38.2; GSoC 2016 (Hrishikesh Goyal): Htree index support from FreeBSD
|
| 1.37 | 03-Jun-2016 |
christos | Add ext4 extent support from GSoC 2016 (Hrishikesh Goyal), from the FreeBSD ext2 code.
|
| 1.36 | 23-Jun-2013 |
dholland | branches: 1.36.10; Stick ffs_, ext2_, chfs_, filecore_, cd9660_, or mfs_ in front of the following symbols so as to disambiguate fully. (Christos already did the lfs ones.)
lblkno lblktosize lfragtosize numfrags blkroundup fragroundup
|
| 1.35 | 23-Jun-2013 |
dholland | fsbtodb() -> FFS_FSBTODB(), EXT2_FSBTODB(), or MFS_FSBTODB() dbtofsb() -> FFS_DBTOFSB() or EXT2_DBTOFSB()
(Christos already did the lfs ones a few days back)
|
| 1.34 | 19-Jun-2013 |
dholland | Rename ambiguous macros: MAXDIRSIZE -> UFS_MAXDIRSIZE or LFS_MAXDIRSIZE NINDIR -> FFS_NINDIR, EXT2_NINDIR, LFS_NINDIR, or MFS_NINDIR INOPB -> FFS_INOPB, LFS_INOPB INOPF -> FFS_INOPF, LFS_INOPF blksize -> ffs_blksize, ext2_blksize, or lfs_blksize sblksize -> ffs_blksize
These are not the only ambiguously defined filesystem macros, of course, there's a pile more. I may not have found all the ambiguous definitions of blksize(), too, as there are a lot of other things called 'blksize' in the system.
|
| 1.33 | 21-Nov-2012 |
jakllsch | Write support for the Ext4 Read-only Compatible Feature "huge_file".
Primarily, this feature extends the inode block count field to 48 bits. Additionally, this feature allows this field to be represented in file system block size units rather than DEV_BSIZE units.
|
| 1.32 | 21-Nov-2012 |
jakllsch | Add various newer Ext2 superblock feature bits and inode flag bits.
|
| 1.31 | 19-Nov-2012 |
jakllsch | snprintb EXT2F_ROCOMPAT_SPARSESUPER as such.
|
| 1.30 | 01-Sep-2012 |
christos | branches: 1.30.2; really print the incompatible bits.
|
| 1.29 | 27-Nov-2009 |
tsutsui | branches: 1.29.12; Add definitions for more reserved inodes.
|
| 1.28 | 19-Oct-2009 |
bouyer | Remove closes 3 & 4 from my licence. Lots of thanks to Soren Jacobsen for the booring work !
|
| 1.27 | 12-Sep-2009 |
tsutsui | Migrate from u_intNN_t to uintNN_t.
|
| 1.26 | 25-Dec-2007 |
perry | branches: 1.26.10; Convert many of the uses of __attribute__ to equivalent __packed, __unused and __dead macros from cdefs.h
|
| 1.25 | 17-Nov-2007 |
tsutsui | branches: 1.25.2; 1.25.6; Misc cosmetics.
|
| 1.24 | 15-Nov-2007 |
tsutsui | Add some definitions for resizefs features.
|
| 1.23 | 13-Nov-2007 |
tsutsui | - add some more constant definitions - add some comments - typo and some cosmetics
|
| 1.22 | 16-Feb-2006 |
perry | branches: 1.22.38; 1.22.40; 1.22.44; 1.22.46; Change "inline" back to "__inline" in .h files -- C99 is still too new, and some apps compile things in C89 mode. C89 keywords stay.
As per core@.
|
| 1.21 | 29-Jan-2006 |
dsl | branches: 1.21.2; 1.21.4; Make almost everything #include <sys/bswap.h> instead of <machine/bswap.h> The bswap.h and endian.h files are all rather incestuous, but I want to get the constant folding stuff into one place - sys/bswap.h
|
| 1.20 | 24-Dec-2005 |
perry | branches: 1.20.2; Remove leading __ from __(const|inline|signed|volatile) -- it is obsolete.
|
| 1.19 | 11-Dec-2005 |
christos | merge ktrace-lwp.
|
| 1.18 | 30-Aug-2005 |
xtraeme | * Remove __P() * Use ANSI function declarations on ext2fs and mfs
|
| 1.17 | 26-Feb-2005 |
perry | branches: 1.17.4; nuke trailing whitespace
|
| 1.16 | 09-Feb-2005 |
ws | Add support for large files (>2GB). Like Linux, automagically convert old filesystem to use this, if they are already at revision 1. For revision 0, just punt (unlike Linux; makes me a bit too nervous.)
There should be an option to fsck_ext2fs to upgrade revision 0 to revision 1.
Reviewd by Manuel (bouyer@).
|
| 1.15 | 22-Mar-2004 |
bouyer | branches: 1.15.8; 1.15.10; Fix disclaimer in my copyright. Pointed out by Thomas Klausner.
|
| 1.14 | 05-Oct-2003 |
bouyer | Remove references to University of California from my copyright notices.
|
| 1.13 | 07-Aug-2003 |
agc | Move UCB-licensed code from 4-clause to 3-clause licence.
Patches provided by Joel Baker in PR 22364, verified by myself.
|
| 1.12 | 24-Jan-2003 |
fvdl | branches: 1.12.2; Bump daddr_t to 64 bits. Replace it with int32_t in all places where it was used on-disk, so that on-disk formats remain the same. Remove ufs_daddr_t and ufs_lbn_t for the time being.
|
| 1.11 | 01-Dec-2002 |
matt | Add multiple inclusion protection for headers. Fix mismatched variable declarations (missing const's) as needed.
|
| 1.10 | 28-Jan-2000 |
bouyer | branches: 1.10.6; Correct (minor) bogons in filetype option support, and add support for sparse_super option
|
| 1.9 | 26-Jan-2000 |
bouyer | First cut at ext2fs rev 1 support (as of mke2fs 1.18): supports the filetype option read/write and the sparse option read-only.
|
| 1.8 | 17-Feb-1999 |
bouyer | branches: 1.8.2; 1.8.8; 1.8.14; Some new fields in the ext2fs superblock, from Tim Shepard. While I'm there, reformat this file a bit.
|
| 1.7 | 15-Jan-1999 |
bouyer | Move the bswap functions from libutil to libc (this bups the minor of libc and the major of libutil). For little-endian architectures merge the bnswap() assembly versions with nto* and hton* using symbols aliasing. Use symbol renaming for the bswap function in this case to avoid namespace pollution. Declare bswap* in machine/bswap.h, not machine/endian.h. For little-endian machines, common code for inline macros go in machine/byte_swap.h Sync libkern with libc. Adjust #include in kernel sources for machine/bswap.h.
|
| 1.6 | 30-Sep-1998 |
bouyer | Not time to #include <machine/bswap.h>m, it will come with the move of bswap*() from libutil to libc. Sorry !
|
| 1.5 | 29-Sep-1998 |
bouyer | #include opt_uvm.h only if _KENREL and !_LKM Make ext2fs_init() call ufs_init(). it was doing the init by itself, testing for extern done != 0. This bug was hidden by the fact that ext2fs_init() is called before ffs_init().
|
| 1.4 | 09-Aug-1998 |
perry | bzero->memset, bcopy->memcpy, bcmp->memcmp
|
| 1.3 | 01-Mar-1998 |
fvdl | Merge with Lite2 + local changes
|
| 1.2 | 09-Oct-1997 |
bouyer | Add byte-swapping functions (bswap16, bswap32, bswap64) to libkern. Only assembly version for i386 bswap16 and bswap32 for now (bswap64 uses bswap32). Contribution of assembly versions of these are welcome. Add byte-swapping of ext2fs metadata for big-endian systems. Tested on i386 and sparc.
|
| 1.1 | 11-Jun-1997 |
bouyer | branches: 1.1.4; The ext2fs layer, based on the ffs/ufs one. Uses a few functions from sys/ufs/ufs/
|
| 1.1.4.1 | 14-Oct-1997 |
thorpej | Update marc-pcmcia branch from trunk.
|
| 1.8.14.1 | 21-Dec-1999 |
wrstuden | Initial commit of recent changes to make DEV_BSIZE go away.
Runs on i386, needs work on other arch's. Main kernel routines should be fine, but a number of the stand programs need help.
cd, fd, ccd, wd, and sd have been updated. sd has been tested with non-512 byte block devices. vnd, raidframe, and lfs need work.
Non 2**n block support is automatic for LKM's and conditional for kernels on "options NON_PO2_BLOCKS".
|
| 1.8.8.1 | 20-Nov-2000 |
bouyer | Update thorpej_scsipi to -current as of a month ago
|
| 1.8.2.1 | 01-Feb-2000 |
he | Apply patch (requested by bouyer): Add support for ext2fs revision 1, with read-only support for the 'sparse_super' and 'filetype' options. Should fix PR#9088.
|
| 1.10.6.1 | 11-Dec-2002 |
thorpej | Sync with HEAD.
|
| 1.12.2.6 | 10-Nov-2005 |
skrll | Sync with HEAD. Here we go again...
|
| 1.12.2.5 | 04-Mar-2005 |
skrll | Sync with HEAD.
Hi Perry!
|
| 1.12.2.4 | 15-Feb-2005 |
skrll | Sync with HEAD.
|
| 1.12.2.3 | 21-Sep-2004 |
skrll | Fix the sync with head I botched.
|
| 1.12.2.2 | 18-Sep-2004 |
skrll | Sync with HEAD.
|
| 1.12.2.1 | 03-Aug-2004 |
skrll | Sync with HEAD
|
| 1.15.10.2 | 19-Mar-2005 |
yamt | sync with head. xen and whitespace. xen part is not finished.
|
| 1.15.10.1 | 12-Feb-2005 |
yamt | sync with head.
|
| 1.15.8.1 | 29-Apr-2005 |
kent | sync with -current
|
| 1.17.4.4 | 21-Jan-2008 |
yamt | sync with head
|
| 1.17.4.3 | 07-Dec-2007 |
yamt | sync with head
|
| 1.17.4.2 | 15-Nov-2007 |
yamt | sync with head.
|
| 1.17.4.1 | 21-Jun-2006 |
yamt | sync with head.
|
| 1.20.2.2 | 18-Feb-2006 |
yamt | sync with head.
|
| 1.20.2.1 | 01-Feb-2006 |
yamt | sync with head.
|
| 1.21.4.1 | 22-Apr-2006 |
simonb | Sync with head.
|
| 1.21.2.1 | 09-Sep-2006 |
rpaulo | sync with head
|
| 1.22.46.2 | 18-Feb-2008 |
mjf | Sync with HEAD.
|
| 1.22.46.1 | 19-Nov-2007 |
mjf | Sync with HEAD.
|
| 1.22.44.2 | 18-Nov-2007 |
bouyer | Sync with HEAD
|
| 1.22.44.1 | 13-Nov-2007 |
bouyer | Sync with HEAD
|
| 1.22.40.1 | 09-Jan-2008 |
matt | sync with HEAD
|
| 1.22.38.2 | 21-Nov-2007 |
joerg | Sync with HEAD.
|
| 1.22.38.1 | 14-Nov-2007 |
joerg | Sync with HEAD.
|
| 1.25.6.1 | 02-Jan-2008 |
bouyer | Sync with HEAD
|
| 1.25.2.1 | 26-Dec-2007 |
ad | Sync with head.
|
| 1.26.10.2 | 11-Mar-2010 |
yamt | sync with head
|
| 1.26.10.1 | 16-Sep-2009 |
yamt | sync with head
|
| 1.29.12.3 | 22-May-2014 |
yamt | sync with head.
for a reference, the tree before this commit was tagged as yamt-pagecache-tag8.
this commit was splitted into small chunks to avoid a limitation of cvs. ("Protocol error: too many arguments")
|
| 1.29.12.2 | 16-Jan-2013 |
yamt | sync with (a bit old) head
|
| 1.29.12.1 | 30-Oct-2012 |
yamt | sync with head
|
| 1.30.2.4 | 03-Dec-2017 |
jdolecek | update from HEAD
|
| 1.30.2.3 | 20-Aug-2014 |
tls | Rebase to HEAD as of a few days ago.
|
| 1.30.2.2 | 23-Jun-2013 |
tls | resync from head
|
| 1.30.2.1 | 25-Feb-2013 |
tls | resync with head
|
| 1.36.10.2 | 05-Oct-2016 |
skrll | Sync with HEAD
|
| 1.36.10.1 | 09-Jul-2016 |
skrll | Sync with HEAD
|
| 1.38.2.1 | 06-Aug-2016 |
pgoyette | Sync with HEAD
|
| 1.52.6.1 | 02-Aug-2025 |
perseant | Sync with HEAD
|
| 1.59 | 27-Jun-2025 |
andvar | s/quadradically/quadratically/ in comments.
|
| 1.58 | 14-May-2024 |
andvar | branches: 1.58.2; fix recently committed typos by msaitoh in few more places, as well as few more. mainly s/contigous/contiguous/ and s/miliseconds/milliseconds/ in comments.
|
| 1.57 | 13-May-2024 |
msaitoh | s/contigous/contiguous/ in comment.
|
| 1.56 | 26-Aug-2023 |
christos | fix incorrect test
|
| 1.55 | 26-Aug-2023 |
christos | Fix metadata_cksum (Vladimir Serbinenko)
Current code always assumes that CG uses crc16. Yet when metadata_cksum is enabled then it uses truncated crc32c. This patch doesn't implement full metadata_cksum, just allows volumes with metadata_cksum to be mounted read-only.
|
| 1.54 | 26-Aug-2023 |
riastradh | ext2fs: Nix trailing whitespace.
|
| 1.53 | 25-Aug-2023 |
christos | Support INCOMPAT_64BIT on ext4 (Vladimir 'phcoder' Serbinenko)
|
| 1.52 | 28-May-2017 |
hannken | Change ext2fs to use vcache_new like we did for ffs: - Change ext2fs_valloc to return an inode number. - Make ext2fs_makeinode private to ext2fs_vnops.c and pass vattr instead of mode.
|
| 1.51 | 20-Aug-2016 |
jdolecek | modify the comment to note code needs to brele() to have a shot on actually working
|
| 1.50 | 20-Aug-2016 |
jdolecek | #if 0 the check for ext2fs_mapsearch() failure (similar what was done for ffs counterpart), it actually never fails, it panics instead
|
| 1.49 | 20-Aug-2016 |
jdolecek | add support for GDT_CSUM AKA uninit_bg feature
|
| 1.48 | 13-Aug-2016 |
christos | KNF, no functional changes...
|
| 1.47 | 03-Aug-2016 |
jdolecek | support arbitrary ext3/ext4 inode size, add all the new ext4 fields ext2fs_dinode, and add support for loading the extra inode data
|
| 1.46 | 28-Mar-2015 |
maxv | branches: 1.46.2; Remove the 'cred' argument from bread(). Remove a now unused var in ffs_snapshot.c. Update the man page accordingly.
ok hannken@
|
| 1.45 | 23-Jun-2013 |
dholland | branches: 1.45.10; fsbtodb() -> FFS_FSBTODB(), EXT2_FSBTODB(), or MFS_FSBTODB() dbtofsb() -> FFS_DBTOFSB() or EXT2_DBTOFSB()
(Christos already did the lfs ones a few days back)
|
| 1.44 | 20-Dec-2012 |
hannken | Change bread() and breadn() to never return a buffer on error and modify all callers to not brelse() on error.
Welcome to 6.99.16
PR kern/46282 (6.0_BETA crash: msdosfs_bmap -> pcbmap -> bread -> bio_doread)
|
| 1.43 | 21-Nov-2012 |
jakllsch | Write support for the Ext4 Read-only Compatible Feature "huge_file".
Primarily, this feature extends the inode block count field to 48 bits. Additionally, this feature allows this field to be represented in file system block size units rather than DEV_BSIZE units.
|
| 1.42 | 06-Mar-2011 |
rmind | branches: 1.42.4; 1.42.14; {ffs_nodealloccg,ext2fs_nodealloccg,ext2fs_mapsearch}: use XOR and ffs() to find free bits in the inode and block bitmaps, instead of the loop.
Obtained from FreeBSD (changes by jhb).
|
| 1.41 | 19-Oct-2009 |
bouyer | branches: 1.41.4; 1.41.6; Remove closes 3 & 4 from my licence. Lots of thanks to Soren Jacobsen for the booring work !
|
| 1.40 | 12-Sep-2009 |
tsutsui | Whitespace nits.
|
| 1.39 | 07-May-2009 |
elad | Introduce several actions/requests for authorizing file-system related operations, specifically quota and block allocation from reserved space.
Modify ufs_quotactl() to accomodate passing "mp" earlier by vfs_busy()ing it a little bit higher.
Mailing list reference:
http://mail-index.netbsd.org/tech-kern/2009/04/26/msg004936.html
Note that the umapfs request mentioned in this thread was NOT added as there is still on-going discussion regarding the proper implementation.
|
| 1.38 | 11-Jan-2009 |
christos | branches: 1.38.2; merge christos-time_t
|
| 1.37 | 23-Nov-2008 |
mrg | add support for 32 bit uid/gid fields in ext2, but only do so for when the revision is > REV0.
|
| 1.36 | 16-May-2008 |
hannken | branches: 1.36.4; 1.36.6; 1.36.8; Make sure all cached buffers with valid, not yet written data have been run through copy-on-write. Call fscow_run() with valid data where possible.
The LP_UFSCOW hack is no longer needed to protect ffs_copyonwrite() against endless recursion.
- Add a flag B_MODIFY to bread(), breada() and breadn(). If set the caller intends to modify the buffer returned.
- Always run copy-on-write on buffers returned from ffs_balloc().
- Add new function ffs_getblk() that gets a buffer, assigns a new blkno, may clear the buffer and runs copy-on-write. Process possible errors from getblk() or fscow_run(). Part of PR kern/38664.
Welcome to 4.99.63
Reviewed by: YAMAMOTO Takashi <yamt@netbsd.org>
|
| 1.35 | 08-Oct-2007 |
ad | branches: 1.35.6; 1.35.18; 1.35.20; 1.35.22; 1.35.24; 1.35.26; Merge ffs locking & brelse changes from the vmlocking branch.
|
| 1.34 | 04-Jan-2007 |
elad | branches: 1.34.6; 1.34.18; 1.34.20; 1.34.22; Consistent usage of KAUTH_GENERIC_ISSUSER.
|
| 1.33 | 09-Dec-2006 |
chs | several ext2fs fixes provided by Barry Bouwsma: - set ip->i_e2fs_dtime to time_second, not time_uptime. - don't allow ipref to go negative - fs->e2fs.e2fs_icount is a valid inode number, allow it.
|
| 1.32 | 16-Nov-2006 |
christos | branches: 1.32.2; __unused removal on arguments; approved by core.
|
| 1.31 | 12-Oct-2006 |
christos | - sprinkle __unused on function decls. - fix a couple of unused bugs - no more -Wno-unused for i386
|
| 1.30 | 07-Jun-2006 |
kardel | branches: 1.30.6; 1.30.8; merge FreeBSD timecounters from branch simonb-timecounters - struct timeval time is gone time.tv_sec -> time_second - struct timeval mono_time is gone mono_time.tv_sec -> time_uptime - access to time via {get,}{micro,nano,bin}time() get* versions are fast but less precise - support NTP nanokernel implementation (NTP API 4) - further reading: Timecounter Paper: http://phk.freebsd.dk/pubs/timecounter.pdf NTP Nanokernel: http://www.eecis.udel.edu/~mills/ntp/html/kern.html
|
| 1.29 | 14-May-2006 |
elad | branches: 1.29.2; integrate kauth.
|
| 1.28 | 11-Dec-2005 |
christos | branches: 1.28.4; 1.28.6; 1.28.8; 1.28.10; 1.28.12; merge ktrace-lwp.
|
| 1.27 | 02-Nov-2005 |
yamt | merge yamt-vop branch. remove following VOPs.
VOP_BLKATOFF VOP_VALLOC VOP_BALLOC VOP_REALLOCBLKS VOP_VFREE VOP_TRUNCATE VOP_UPDATE
|
| 1.26 | 30-Aug-2005 |
xtraeme | branches: 1.26.2; * Remove __P() * Use ANSI function declarations on ext2fs and mfs
|
| 1.25 | 19-Aug-2005 |
christos | 64 bit inode changes.
|
| 1.24 | 29-May-2005 |
christos | branches: 1.24.2; - sprinkle const - avoid shadow variables.
|
| 1.23 | 26-Feb-2005 |
perry | nuke trailing whitespace
|
| 1.22 | 22-Mar-2004 |
bouyer | branches: 1.22.8; 1.22.10; Fix disclaimer in my copyright. Pointed out by Thomas Klausner.
|
| 1.21 | 05-Oct-2003 |
bouyer | Remove references to University of California from my copyright notices.
|
| 1.20 | 07-Aug-2003 |
agc | Move UCB-licensed code from 4-clause to 3-clause licence.
Patches provided by Joel Baker in PR 22364, verified by myself.
|
| 1.19 | 29-Jun-2003 |
fvdl | branches: 1.19.2; Back out the lwp/ktrace changes. They contained a lot of colateral damage, and need to be examined and discussed more.
|
| 1.18 | 29-Jun-2003 |
thorpej | Undo part of the ktrace/lwp changes. In particular: * Remove the "lwp *" argument that was added to vget(). Turns out that nothing actually used it! * Remove the "lwp *" arguments that were added to VFS_ROOT(), VFS_VGET(), and VFS_FHTOVP(); all they did was pass it to vget() (which, as noted above, didn't use it). * Remove all of the "lwp *" arguments to internal functions that were added just to appease the above.
|
| 1.17 | 28-Jun-2003 |
darrenr | Pass lwp pointers throughtout the kernel, as required, so that the lwpid can be inserted into ktrace records. The general change has been to replace "struct proc *" with "struct lwp *" in various function prototypes, pass the lwp through and use l_proc to get the process pointer when needed.
Bump the kernel rev up to 1.6V
|
| 1.16 | 24-Apr-2003 |
gmcgarry | More ufs2 merge fall-out. Pass the correct pointer to the dinode for clearing. Fixes PR#21241.
|
| 1.15 | 24-Jan-2003 |
fvdl | Bump daddr_t to 64 bits. Replace it with int32_t in all places where it was used on-disk, so that on-disk formats remain the same. Remove ufs_daddr_t and ufs_lbn_t for the time being.
|
| 1.14 | 27-Sep-2002 |
provos | remove trailing \n in panic(). approved perry.
|
| 1.13 | 08-Nov-2001 |
lukem | add RCSID
|
| 1.12 | 26-Oct-2001 |
lukem | remove #include <ufs/ufs/quota.h> where it was just to appease <ufs/ufs/inode.h>, since the latter now includes the former. leave the former in source that obviously uses specific bits of it (for completeness.)
|
| 1.11 | 24-Aug-2001 |
wiz | branches: 1.11.4; heirarchy -> hierarchy
|
| 1.10 | 05-Jul-2001 |
toshii | branches: 1.10.2; Fix typo. s/extention/extension/
|
| 1.9 | 28-Jun-2000 |
mrg | branches: 1.9.2; remove include of <vm/vm.h> and <uvm/uvm_extern.h>
|
| 1.8 | 19-May-2000 |
thorpej | NULL != 0
|
| 1.7 | 30-Mar-2000 |
augustss | Remove register declarations.
|
| 1.6 | 10-Feb-1999 |
bouyer | branches: 1.6.8; 1.6.14; Make sure a buffer optained from bread() is always bresle()'d in case of error. Closes PR kern/1448 from Wolfgang Solfrank.
|
| 1.5 | 23-Oct-1998 |
thorpej | For consistency w/ FFS/LFS, define EXT2_DINODE_SIZE, and use it instead of pointer arithmetic and/or sizeof(struct ext2fs_dinode).
|
| 1.4 | 09-Aug-1998 |
perry | bzero->memset, bcopy->memcpy, bcmp->memcmp
|
| 1.3 | 01-Mar-1998 |
fvdl | Merge with Lite2 + local changes
|
| 1.2 | 09-Oct-1997 |
bouyer | Add byte-swapping functions (bswap16, bswap32, bswap64) to libkern. Only assembly version for i386 bswap16 and bswap32 for now (bswap64 uses bswap32). Contribution of assembly versions of these are welcome. Add byte-swapping of ext2fs metadata for big-endian systems. Tested on i386 and sparc.
|
| 1.1 | 11-Jun-1997 |
bouyer | branches: 1.1.4; The ext2fs layer, based on the ffs/ufs one. Uses a few functions from sys/ufs/ufs/
|
| 1.1.4.1 | 14-Oct-1997 |
thorpej | Update marc-pcmcia branch from trunk.
|
| 1.6.14.1 | 21-Dec-1999 |
wrstuden | Initial commit of recent changes to make DEV_BSIZE go away.
Runs on i386, needs work on other arch's. Main kernel routines should be fine, but a number of the stand programs need help.
cd, fd, ccd, wd, and sd have been updated. sd has been tested with non-512 byte block devices. vnd, raidframe, and lfs need work.
Non 2**n block support is automatic for LKM's and conditional for kernels on "options NON_PO2_BLOCKS".
|
| 1.6.8.1 | 20-Nov-2000 |
bouyer | Update thorpej_scsipi to -current as of a month ago
|
| 1.9.2.4 | 18-Oct-2002 |
nathanw | Catch up to -current.
|
| 1.9.2.3 | 14-Nov-2001 |
nathanw | Catch up to -current.
|
| 1.9.2.2 | 21-Sep-2001 |
nathanw | Catch up to -current.
|
| 1.9.2.1 | 24-Aug-2001 |
nathanw | Catch up with -current.
|
| 1.10.2.3 | 10-Oct-2002 |
jdolecek | sync kqueue with -current; this includes merge of gehenna-devsw branch, merge of i386 MP branch, and part of autoconf rototil work
|
| 1.10.2.2 | 10-Jan-2002 |
thorpej | Sync kqueue branch with -current.
|
| 1.10.2.1 | 25-Aug-2001 |
thorpej | Merge Aug 24 -current into the kqueue branch.
|
| 1.11.4.1 | 12-Nov-2001 |
thorpej | Sync the thorpej-mips-cache branch with -current.
|
| 1.19.2.7 | 10-Nov-2005 |
skrll | Sync with HEAD. Here we go again...
|
| 1.19.2.6 | 04-Mar-2005 |
skrll | Sync with HEAD.
Hi Perry!
|
| 1.19.2.5 | 21-Sep-2004 |
skrll | Fix the sync with head I botched.
|
| 1.19.2.4 | 18-Sep-2004 |
skrll | Sync with HEAD.
|
| 1.19.2.3 | 24-Aug-2004 |
skrll | Undo part of the ktrace/lwp changes. In particular: * Remove the "lwp *" argument that was added to vget(). Turns out that nothing actually used it! * Remove the "lwp *" arguments that were added to VFS_ROOT(), VFS_VGET(), and VFS_FHTOVP(); all they did was pass it to vget() (which, as noted above, didn't use it). * Remove all of the "lwp *" arguments to internal functions that were added just to appease the above.
|
| 1.19.2.2 | 03-Aug-2004 |
skrll | Sync with HEAD
|
| 1.19.2.1 | 02-Jul-2003 |
darrenr | Apply the aborted ktrace-lwp changes to a specific branch. This is just for others to review, I'm concerned that patch fuziness may have resulted in some errant code being generated but I'll look at that later by comparing the diff from the base to the branch with the file I attempt to apply to it. This will, at the very least, put the changes in a better context for others to review them and attempt to tinker with removing passing of 'struct lwp' through the kernel.
|
| 1.22.10.1 | 19-Mar-2005 |
yamt | sync with head. xen and whitespace. xen part is not finished.
|
| 1.22.8.1 | 29-Apr-2005 |
kent | sync with -current
|
| 1.24.2.4 | 27-Oct-2007 |
yamt | sync with head.
|
| 1.24.2.3 | 26-Feb-2007 |
yamt | sync with head.
|
| 1.24.2.2 | 30-Dec-2006 |
yamt | sync with head.
|
| 1.24.2.1 | 21-Jun-2006 |
yamt | sync with head.
|
| 1.26.2.1 | 20-Oct-2005 |
yamt | adapt ufs.
|
| 1.28.12.1 | 24-May-2006 |
tron | Merge 2006-05-24 NetBSD-current into the "peter-altq" branch.
|
| 1.28.10.2 | 06-May-2006 |
christos | - Move kauth_cred_t declaration to <sys/types.h> - Cleanup struct ucred; forward declarations that are unused. - Don't include <sys/kauth.h> in any header, but include it in the c files that need it.
Approved by core.
|
| 1.28.10.1 | 08-Mar-2006 |
elad | Adapt to kernel authorization KPI.
|
| 1.28.8.2 | 26-Jun-2006 |
yamt | sync with head.
|
| 1.28.8.1 | 24-May-2006 |
yamt | sync with head.
|
| 1.28.6.2 | 01-Jun-2006 |
kardel | Sync with head.
|
| 1.28.6.1 | 04-Feb-2006 |
simonb | Adapt for timecounters: mostly use get*time() and use "time_second" instead of "time.tv_sec".
|
| 1.28.4.1 | 09-Sep-2006 |
rpaulo | sync with head
|
| 1.29.2.1 | 19-Jun-2006 |
chap | Sync with head.
|
| 1.30.8.2 | 10-Dec-2006 |
yamt | sync with head.
|
| 1.30.8.1 | 22-Oct-2006 |
yamt | sync with head
|
| 1.30.6.2 | 12-Jan-2007 |
ad | Sync with head.
|
| 1.30.6.1 | 18-Nov-2006 |
ad | Sync with head.
|
| 1.32.2.1 | 12-Jan-2007 |
bouyer | Pull up following revision(s) (requested by chs in ticket #346): sys/ufs/ext2fs/ext2fs_inode.c: revision 1.56 sys/ufs/ext2fs/ext2fs_alloc.c: revision 1.33 several ext2fs fixes provided by Barry Bouwsma: - set ip->i_e2fs_dtime to time_second, not time_uptime. - don't allow ipref to go negative - fs->e2fs.e2fs_icount is a valid inode number, allow it.
|
| 1.34.22.1 | 14-Oct-2007 |
yamt | sync with head.
|
| 1.34.20.1 | 06-Nov-2007 |
matt | sync with HEAD
|
| 1.34.18.1 | 26-Oct-2007 |
joerg | Sync with HEAD.
Follow the merge of pmap.c on i386 and amd64 and move pmap_init_tmp_pgtbl into arch/x86/x86/pmap.c. Modify the ACPI wakeup code to restore CR4 before jumping back into kernel space as the large page option might cover that.
|
| 1.34.6.2 | 19-Oct-2007 |
ad | ext2fs_vfree: the in-core root inode can have nlinks == 0. Don't try to free it during reclaim. XXX Needs further investigation.
|
| 1.34.6.1 | 13-May-2007 |
ad | - Pass the error number and residual count to biodone(), and let it handle setting error indicators. Prepare to eliminate B_ERROR. - Add a flag argument to brelse() to be set into the buf's flags, instead of doing it directly. Typically used to set B_INVAL. - Add a "struct cpu_info *" argument to kthread_create(), to be used to create bound threads. Change "bool mpsafe" to "int flags". - Allow exit of LWPs in the IDL state when (l != curlwp). - More locking fixes & conversion to the new API.
|
| 1.35.26.1 | 23-Jun-2008 |
wrstuden | Sync w/ -current. 34 merge conflicts to follow.
|
| 1.35.24.4 | 11-Mar-2010 |
yamt | sync with head
|
| 1.35.24.3 | 16-Sep-2009 |
yamt | sync with head
|
| 1.35.24.2 | 16-May-2009 |
yamt | sync with head
|
| 1.35.24.1 | 04-May-2009 |
yamt | sync with head.
|
| 1.35.22.1 | 18-May-2008 |
yamt | sync with head.
|
| 1.35.20.4 | 30-Dec-2008 |
christos | fix dev_t printfs
|
| 1.35.20.3 | 27-Dec-2008 |
christos | merge with head.
|
| 1.35.20.2 | 01-Nov-2008 |
christos | Sync with head.
|
| 1.35.20.1 | 29-Mar-2008 |
christos | Welcome to the time_t=long long dev_t=uint64_t branch.
|
| 1.35.18.2 | 17-Jan-2009 |
mjf | Sync with HEAD.
|
| 1.35.18.1 | 02-Jun-2008 |
mjf | Sync with HEAD.
|
| 1.35.6.2 | 30-Dec-2007 |
ad | Fix remaining problems with ext2fs on this branch.
|
| 1.35.6.1 | 04-Dec-2007 |
ad | Pull the vmlocking changes into a new branch.
|
| 1.36.8.1 | 29-Nov-2008 |
snj | Pull up following revision(s) (requested by mrg in ticket #147): sys/ufs/ext2fs/ext2fs_alloc.c: revision 1.37 sys/ufs/ext2fs/ext2fs_bswap.c: revision 1.14 sys/ufs/ext2fs/ext2fs_dinode.h: revision 1.17 sys/ufs/ext2fs/ext2fs_lookup.c: revision 1.56 sys/ufs/ext2fs/ext2fs_vnops.c: revision 1.83 sys/ufs/ext2fs/ext2fs_vfsops.c: revision 1.140 sys/ufs/ufs/inode.h: revision 1.55 add support for 32 bit uid/gid fields in ext2, but only do so for when the revision is > REV0.
|
| 1.36.6.1 | 19-Jan-2009 |
skrll | Sync with HEAD.
|
| 1.36.4.1 | 13-Dec-2008 |
haad | Update haad-dm branch to haad-dm-base2.
|
| 1.38.2.1 | 13-May-2009 |
jym | Sync with HEAD.
Commit is split, to avoid a "too many arguments" protocol error.
|
| 1.41.6.1 | 06-Jun-2011 |
jruoho | Sync with HEAD.
|
| 1.41.4.1 | 21-Apr-2011 |
rmind | sync with head
|
| 1.42.14.3 | 03-Dec-2017 |
jdolecek | update from HEAD
|
| 1.42.14.2 | 20-Aug-2014 |
tls | Rebase to HEAD as of a few days ago.
|
| 1.42.14.1 | 25-Feb-2013 |
tls | resync with head
|
| 1.42.4.3 | 22-May-2014 |
yamt | sync with head.
for a reference, the tree before this commit was tagged as yamt-pagecache-tag8.
this commit was splitted into small chunks to avoid a limitation of cvs. ("Protocol error: too many arguments")
|
| 1.42.4.2 | 23-Jan-2013 |
yamt | sync with head
|
| 1.42.4.1 | 16-Jan-2013 |
yamt | sync with (a bit old) head
|
| 1.45.10.3 | 28-Aug-2017 |
skrll | Sync with HEAD
|
| 1.45.10.2 | 05-Oct-2016 |
skrll | Sync with HEAD
|
| 1.45.10.1 | 06-Apr-2015 |
skrll | Sync with HEAD
|
| 1.46.2.1 | 06-Aug-2016 |
pgoyette | Sync with HEAD
|
| 1.58.2.1 | 02-Aug-2025 |
perseant | Sync with HEAD
|
| 1.43 | 05-Sep-2020 |
riastradh | Round of uvm.h cleanup.
The poorly named uvm.h is generally supposed to be for uvm-internal users only.
- Narrow it to files that actually need it -- mostly files that need to query whether curlwp is the pagedaemon, which should maybe be exposed by an external header.
- Use uvm_extern.h where feasible and uvm_*.h for things not exposed by it. We should split up uvm_extern.h but this will serve for now to reduce the uvm.h dependencies.
- Use uvm_stat.h and #ifdef UVMHIST uvm.h for files that use UVMHIST(ubchist), since ubchist is declared in uvm.h but the reference evaporates if UVMHIST is not defined, so we reduce header file dependencies.
- Make uvm_device.h and uvm_swap.h independently includable while here.
ok chs@
|
| 1.42 | 03-Sep-2018 |
riastradh | Rename min/max -> uimin/uimax for better honesty.
These functions are defined on unsigned int. The generic name min/max should not silently truncate to 32 bits on 64-bit systems. This is purely a name change -- no functional change intended.
HOWEVER! Some subsystems have
#define min(a, b) ((a) < (b) ? (a) : (b)) #define max(a, b) ((a) > (b) ? (a) : (b))
even though our standard name for that is MIN/MAX. Although these may invite multiple evaluation bugs, these do _not_ cause integer truncation.
To avoid `fixing' these cases, I first changed the name in libkern, and then compile-tested every file where min/max occurred in order to confirm that it failed -- and thus confirm that nothing shadowed min/max -- before changing it.
I have left a handful of bootloaders that are too annoying to compile-test, and some dead code:
cobalt ews4800mips hp300 hppa ia64 luna68k vax acorn32/if_ie.c (not included in any kernels) macppc/if_gm.c (superseded by gem(4))
It should be easy to fix the fallout once identified -- this way of doing things fails safe, and the goal here, after all, is to _avoid_ silent integer truncations, not introduce them.
Maybe one day we can reintroduce min/max as type-generic things that never silently truncate. But we should avoid doing that for a while, so that existing code has a chance to be detected by the compiler for conversion to uimin/uimax without changing the semantics until we can properly audit it all. (Who knows, maybe in some cases integer truncation is actually intended!)
|
| 1.41 | 13-Aug-2016 |
christos | branches: 1.41.14; 1.41.16; KNF, no functional changes...
|
| 1.40 | 28-Mar-2015 |
maxv | Remove the 'cred' argument from bread(). Remove a now unused var in ffs_snapshot.c. Update the man page accordingly.
ok hannken@
|
| 1.39 | 23-Jun-2013 |
dholland | branches: 1.39.10; Stick ffs_, ext2_, chfs_, filecore_, cd9660_, or mfs_ in front of the following symbols so as to disambiguate fully. (Christos already did the lfs ones.)
lblkno lblktosize lfragtosize numfrags blkroundup fragroundup
|
| 1.38 | 23-Jun-2013 |
dholland | fsbtodb() -> FFS_FSBTODB(), EXT2_FSBTODB(), or MFS_FSBTODB() dbtofsb() -> FFS_DBTOFSB() or EXT2_DBTOFSB()
(Christos already did the lfs ones a few days back)
|
| 1.37 | 22-Jan-2013 |
dholland | Stuff UFS_ in front of a few of ufs's symbols to reduce namespace pollution. Specifically: ROOTINO -> UFS_ROOTINO WINO -> UFS_WINO NXADDR -> UFS_NXADDR NDADDR -> UFS_NDADDR NIADDR -> UFS_NIADDR MAXSYMLINKLEN -> UFS_MAXSYMLINKLEN MAXSYMLINKLEN_UFS[12] -> UFS[12]_MAXSYMLINKLEN (for consistency)
Sort out ext2fs's misuse of NDADDR and NIADDR; fortunately, these have the same values in ext2fs and ffs.
No functional change intended.
|
| 1.36 | 20-Dec-2012 |
hannken | Change bread() and breadn() to never return a buffer on error and modify all callers to not brelse() on error.
Welcome to 6.99.16
PR kern/46282 (6.0_BETA crash: msdosfs_bmap -> pcbmap -> bread -> bio_doread)
|
| 1.35 | 21-Nov-2012 |
jakllsch | Write support for the Ext4 Read-only Compatible Feature "huge_file".
Primarily, this feature extends the inode block count field to 48 bits. Additionally, this feature allows this field to be represented in file system block size units rather than DEV_BSIZE units.
|
| 1.34 | 19-Oct-2009 |
bouyer | branches: 1.34.12; 1.34.22; Remove closes 3 & 4 from my licence. Lots of thanks to Soren Jacobsen for the booring work !
|
| 1.33 | 16-May-2008 |
hannken | Make sure all cached buffers with valid, not yet written data have been run through copy-on-write. Call fscow_run() with valid data where possible.
The LP_UFSCOW hack is no longer needed to protect ffs_copyonwrite() against endless recursion.
- Add a flag B_MODIFY to bread(), breada() and breadn(). If set the caller intends to modify the buffer returned.
- Always run copy-on-write on buffers returned from ffs_balloc().
- Add new function ffs_getblk() that gets a buffer, assigns a new blkno, may clear the buffer and runs copy-on-write. Process possible errors from getblk() or fscow_run(). Part of PR kern/38664.
Welcome to 4.99.63
Reviewed by: YAMAMOTO Takashi <yamt@netbsd.org>
|
| 1.32 | 08-Oct-2007 |
ad | branches: 1.32.18; 1.32.20; 1.32.22; 1.32.24; Merge ffs locking & brelse changes from the vmlocking branch.
|
| 1.31 | 16-Nov-2006 |
christos | branches: 1.31.8; 1.31.22; 1.31.24; 1.31.26; __unused removal on arguments; approved by core.
|
| 1.30 | 12-Oct-2006 |
christos | - sprinkle __unused on function decls. - fix a couple of unused bugs - no more -Wno-unused for i386
|
| 1.29 | 14-May-2006 |
elad | branches: 1.29.8; 1.29.10; integrate kauth.
|
| 1.28 | 11-Dec-2005 |
christos | branches: 1.28.4; 1.28.6; 1.28.8; 1.28.10; 1.28.12; merge ktrace-lwp.
|
| 1.27 | 02-Nov-2005 |
yamt | merge yamt-vop branch. remove following VOPs.
VOP_BLKATOFF VOP_VALLOC VOP_BALLOC VOP_REALLOCBLKS VOP_VFREE VOP_TRUNCATE VOP_UPDATE
|
| 1.26 | 30-Aug-2005 |
xtraeme | branches: 1.26.2; * Remove __P() * Use ANSI function declarations on ext2fs and mfs
|
| 1.25 | 26-Feb-2005 |
perry | branches: 1.25.4; nuke trailing whitespace
|
| 1.24 | 14-Feb-2005 |
chs | fix typoe in previous.
|
| 1.23 | 09-Feb-2005 |
ws | Add support for large files (>2GB). Like Linux, automagically convert old filesystem to use this, if they are already at revision 1. For revision 0, just punt (unlike Linux; makes me a bit too nervous.)
There should be an option to fsck_ext2fs to upgrade revision 0 to revision 1.
Reviewd by Manuel (bouyer@).
|
| 1.22 | 22-Mar-2004 |
bouyer | branches: 1.22.8; 1.22.10; Fix disclaimer in my copyright. Pointed out by Thomas Klausner.
|
| 1.21 | 05-Oct-2003 |
bouyer | Remove references to University of California from my copyright notices.
|
| 1.20 | 07-Aug-2003 |
agc | Move UCB-licensed code from 4-clause to 3-clause licence.
Patches provided by Joel Baker in PR 22364, verified by myself.
|
| 1.19 | 24-Jan-2003 |
fvdl | branches: 1.19.2; Bump daddr_t to 64 bits. Replace it with int32_t in all places where it was used on-disk, so that on-disk formats remain the same. Remove ufs_daddr_t and ufs_lbn_t for the time being.
|
| 1.18 | 26-Sep-2002 |
jdolecek | use ufs_balloc_range() rather than local (mostly identical, but with some bugs) ext2fs variant
|
| 1.17 | 05-May-2002 |
chs | use the correct size when zeroing an array.
|
| 1.16 | 26-Jan-2002 |
chs | fix an error case.
|
| 1.15 | 30-Nov-2001 |
chs | pick up changes from ufs_balloc_range().
|
| 1.14 | 10-Nov-2001 |
chs | track some changes in the ufs code: update UVM's notion of the file size in *_write() rather than *_balloc().
|
| 1.13 | 08-Nov-2001 |
lukem | add RCSID
|
| 1.12 | 26-Oct-2001 |
lukem | remove #include <ufs/ufs/quota.h> where it was just to appease <ufs/ufs/inode.h>, since the latter now includes the former. leave the former in source that obviously uses specific bits of it (for completeness.)
|
| 1.11 | 15-Sep-2001 |
chs | branches: 1.11.2; a whole bunch of changes to improve performance and robustness under load:
- remove special treatment of pager_map mappings in pmaps. this is required now, since I've removed the globals that expose the address range. pager_map now uses pmap_kenter_pa() instead of pmap_enter(), so there's no longer any need to special-case it. - eliminate struct uvm_vnode by moving its fields into struct vnode. - rewrite the pageout path. the pager is now responsible for handling the high-level requests instead of only getting control after a bunch of work has already been done on its behalf. this will allow us to UBCify LFS, which needs tighter control over its pages than other filesystems do. writing a page to disk no longer requires making it read-only, which allows us to write wired pages without causing all kinds of havoc. - use a new PG_PAGEOUT flag to indicate that a page should be freed on behalf of the pagedaemon when it's unlocked. this flag is very similar to PG_RELEASED, but unlike PG_RELEASED, PG_PAGEOUT can be cleared if the pageout fails due to eg. an indirect-block buffer being locked. this allows us to remove the "version" field from struct vm_page, and together with shrinking "loan_count" from 32 bits to 16, struct vm_page is now 4 bytes smaller. - no longer use PG_RELEASED for swap-backed pages. if the page is busy because it's being paged out, we can't release the swap slot to be reallocated until that write is complete, but unlike with vnodes we don't keep a count of in-progress writes so there's no good way to know when the write is done. instead, when we need to free a busy swap-backed page, just sleep until we can get it busy ourselves. - implement a fast-path for extending writes which allows us to avoid zeroing new pages. this substantially reduces cpu usage. - encapsulate the data used by the genfs code in a struct genfs_node, which must be the first element of the filesystem-specific vnode data for filesystems which use genfs_{get,put}pages(). - eliminate many of the UVM pagerops, since they aren't needed anymore now that the pager "put" operation is a higher-level operation. - enhance the genfs code to allow NFS to use the genfs_{get,put}pages instead of a modified copy. - clean up struct vnode by removing all the fields that used to be used by the vfs_cluster.c code (which we don't use anymore with UBC). - remove kmem_object and mb_object since they were useless. instead of allocating pages to these objects, we now just allocate pages with no object. such pages are mapped in the kernel until they are freed, so we can use the mapping to find the page to free it. this allows us to remove splvm() protection in several places.
The sum of all these changes improves write throughput on my decstation 5000/200 to within 1% of the rate of NetBSD 1.5 and reduces the elapsed time for "make release" of a NetBSD 1.5 source tree on my 128MB pc to 10% less than a 1.5 kernel took.
|
| 1.10 | 04-Jul-2001 |
chs | branches: 1.10.2; 1.10.4; in ext2fs_balloc_range(), clear PG_RDONLY on pages which now have backing store.
|
| 1.9 | 30-May-2001 |
mrg | use _KERNEL_OPT
|
| 1.8 | 10-Dec-2000 |
chs | branches: 1.8.2; redo ext2fs_balloc_range(), accounting for differences between ext2fs and ffs.
|
| 1.7 | 27-Nov-2000 |
chs | Initial integration of the Unified Buffer Cache project.
|
| 1.6 | 28-Jun-2000 |
mrg | remove include of <vm/vm.h> and <uvm/uvm_extern.h>
|
| 1.5 | 28-May-2000 |
mycroft | Pull in indirect block unwind code from FFS.
|
| 1.4 | 30-Mar-2000 |
augustss | branches: 1.4.2; Remove register declarations.
|
| 1.3 | 01-Mar-1998 |
fvdl | branches: 1.3.10; 1.3.14; 1.3.20; Merge with Lite2 + local changes
|
| 1.2 | 09-Oct-1997 |
bouyer | Add byte-swapping functions (bswap16, bswap32, bswap64) to libkern. Only assembly version for i386 bswap16 and bswap32 for now (bswap64 uses bswap32). Contribution of assembly versions of these are welcome. Add byte-swapping of ext2fs metadata for big-endian systems. Tested on i386 and sparc.
|
| 1.1 | 11-Jun-1997 |
bouyer | branches: 1.1.4; The ext2fs layer, based on the ffs/ufs one. Uses a few functions from sys/ufs/ufs/
|
| 1.1.4.1 | 14-Oct-1997 |
thorpej | Update marc-pcmcia branch from trunk.
|
| 1.3.20.1 | 21-Dec-1999 |
wrstuden | Initial commit of recent changes to make DEV_BSIZE go away.
Runs on i386, needs work on other arch's. Main kernel routines should be fine, but a number of the stand programs need help.
cd, fd, ccd, wd, and sd have been updated. sd has been tested with non-512 byte block devices. vnd, raidframe, and lfs need work.
Non 2**n block support is automatic for LKM's and conditional for kernels on "options NON_PO2_BLOCKS".
|
| 1.3.14.3 | 13-Dec-2000 |
bouyer | Sync with HEAD (for UBC fixes).
|
| 1.3.14.2 | 08-Dec-2000 |
bouyer | Sync with HEAD.
|
| 1.3.14.1 | 20-Nov-2000 |
bouyer | Update thorpej_scsipi to -current as of a month ago
|
| 1.3.10.1 | 06-Aug-1999 |
chs | UBCify.
|
| 1.4.2.1 | 22-Jun-2000 |
minoura | Sync w/ netbsd-1-5-base.
|
| 1.8.2.8 | 18-Oct-2002 |
nathanw | Catch up to -current.
|
| 1.8.2.7 | 20-Jun-2002 |
nathanw | Catch up to -current.
|
| 1.8.2.6 | 28-Feb-2002 |
nathanw | Catch up to -current.
|
| 1.8.2.5 | 08-Jan-2002 |
nathanw | Catch up to -current.
|
| 1.8.2.4 | 14-Nov-2001 |
nathanw | Catch up to -current.
|
| 1.8.2.3 | 21-Sep-2001 |
nathanw | Catch up to -current.
|
| 1.8.2.2 | 24-Aug-2001 |
nathanw | Catch up with -current.
|
| 1.8.2.1 | 21-Jun-2001 |
nathanw | Catch up to -current.
|
| 1.10.4.1 | 01-Oct-2001 |
fvdl | Catch up with -current.
|
| 1.10.2.4 | 10-Oct-2002 |
jdolecek | sync kqueue with -current; this includes merge of gehenna-devsw branch, merge of i386 MP branch, and part of autoconf rototil work
|
| 1.10.2.3 | 23-Jun-2002 |
jdolecek | catch up with -current on kqueue branch
|
| 1.10.2.2 | 11-Feb-2002 |
jdolecek | Sync w/ -current.
|
| 1.10.2.1 | 10-Jan-2002 |
thorpej | Sync kqueue branch with -current.
|
| 1.11.2.1 | 12-Nov-2001 |
thorpej | Sync the thorpej-mips-cache branch with -current.
|
| 1.19.2.6 | 10-Nov-2005 |
skrll | Sync with HEAD. Here we go again...
|
| 1.19.2.5 | 04-Mar-2005 |
skrll | Sync with HEAD.
Hi Perry!
|
| 1.19.2.4 | 15-Feb-2005 |
skrll | Sync with HEAD.
|
| 1.19.2.3 | 21-Sep-2004 |
skrll | Fix the sync with head I botched.
|
| 1.19.2.2 | 18-Sep-2004 |
skrll | Sync with HEAD.
|
| 1.19.2.1 | 03-Aug-2004 |
skrll | Sync with HEAD
|
| 1.22.10.2 | 19-Mar-2005 |
yamt | sync with head. xen and whitespace. xen part is not finished.
|
| 1.22.10.1 | 12-Feb-2005 |
yamt | sync with head.
|
| 1.22.8.1 | 29-Apr-2005 |
kent | sync with -current
|
| 1.25.4.3 | 27-Oct-2007 |
yamt | sync with head.
|
| 1.25.4.2 | 30-Dec-2006 |
yamt | sync with head.
|
| 1.25.4.1 | 21-Jun-2006 |
yamt | sync with head.
|
| 1.26.2.1 | 20-Oct-2005 |
yamt | adapt ufs.
|
| 1.28.12.1 | 24-May-2006 |
tron | Merge 2006-05-24 NetBSD-current into the "peter-altq" branch.
|
| 1.28.10.2 | 06-May-2006 |
christos | - Move kauth_cred_t declaration to <sys/types.h> - Cleanup struct ucred; forward declarations that are unused. - Don't include <sys/kauth.h> in any header, but include it in the c files that need it.
Approved by core.
|
| 1.28.10.1 | 08-Mar-2006 |
elad | Adapt to kernel authorization KPI.
|
| 1.28.8.1 | 24-May-2006 |
yamt | sync with head.
|
| 1.28.6.1 | 01-Jun-2006 |
kardel | Sync with head.
|
| 1.28.4.1 | 09-Sep-2006 |
rpaulo | sync with head
|
| 1.29.10.2 | 10-Dec-2006 |
yamt | sync with head.
|
| 1.29.10.1 | 22-Oct-2006 |
yamt | sync with head
|
| 1.29.8.1 | 18-Nov-2006 |
ad | Sync with head.
|
| 1.31.26.1 | 14-Oct-2007 |
yamt | sync with head.
|
| 1.31.24.1 | 06-Nov-2007 |
matt | sync with HEAD
|
| 1.31.22.1 | 26-Oct-2007 |
joerg | Sync with HEAD.
Follow the merge of pmap.c on i386 and amd64 and move pmap_init_tmp_pgtbl into arch/x86/x86/pmap.c. Modify the ACPI wakeup code to restore CR4 before jumping back into kernel space as the large page option might cover that.
|
| 1.31.8.2 | 24-Aug-2007 |
ad | Sync with buffer cache locking changes. See buf.h/vfs_bio.c for details. Some minor portions are incomplete and needs to be verified as a whole.
|
| 1.31.8.1 | 13-May-2007 |
ad | - Pass the error number and residual count to biodone(), and let it handle setting error indicators. Prepare to eliminate B_ERROR. - Add a flag argument to brelse() to be set into the buf's flags, instead of doing it directly. Typically used to set B_INVAL. - Add a "struct cpu_info *" argument to kthread_create(), to be used to create bound threads. Change "bool mpsafe" to "int flags". - Allow exit of LWPs in the IDL state when (l != curlwp). - More locking fixes & conversion to the new API.
|
| 1.32.24.1 | 23-Jun-2008 |
wrstuden | Sync w/ -current. 34 merge conflicts to follow.
|
| 1.32.22.2 | 11-Mar-2010 |
yamt | sync with head
|
| 1.32.22.1 | 04-May-2009 |
yamt | sync with head.
|
| 1.32.20.1 | 18-May-2008 |
yamt | sync with head.
|
| 1.32.18.1 | 02-Jun-2008 |
mjf | Sync with HEAD.
|
| 1.34.22.3 | 03-Dec-2017 |
jdolecek | update from HEAD
|
| 1.34.22.2 | 20-Aug-2014 |
tls | Rebase to HEAD as of a few days ago.
|
| 1.34.22.1 | 25-Feb-2013 |
tls | resync with head
|
| 1.34.12.3 | 22-May-2014 |
yamt | sync with head.
for a reference, the tree before this commit was tagged as yamt-pagecache-tag8.
this commit was splitted into small chunks to avoid a limitation of cvs. ("Protocol error: too many arguments")
|
| 1.34.12.2 | 23-Jan-2013 |
yamt | sync with head
|
| 1.34.12.1 | 16-Jan-2013 |
yamt | sync with (a bit old) head
|
| 1.39.10.2 | 05-Oct-2016 |
skrll | Sync with HEAD
|
| 1.39.10.1 | 06-Apr-2015 |
skrll | Sync with HEAD
|
| 1.41.16.1 | 10-Jun-2019 |
christos | Sync with HEAD
|
| 1.41.14.1 | 06-Sep-2018 |
pgoyette | Sync with HEAD
Resolve a couple of conflicts (result of the uimin/uimax changes)
|
| 1.31 | 26-Aug-2023 |
riastradh | ext2fs: Nix trailing whitespace.
|
| 1.30 | 14-Aug-2016 |
jdolecek | whitespace cleanup
|
| 1.29 | 14-Aug-2016 |
jdolecek | check correct inode extents flag - IN_E4EXTENTS is defined as 0x8000, correct flag EXT2_EXTENTS is 0x80000
|
| 1.28 | 13-Aug-2016 |
christos | KNF, no functional changes...
|
| 1.27 | 03-Jun-2016 |
christos | Add ext4 extent support from GSoC 2016 (Hrishikesh Goyal), from the FreeBSD ext2 code.
|
| 1.26 | 22-Jan-2013 |
dholland | branches: 1.26.14; Stuff UFS_ in front of a few of ufs's symbols to reduce namespace pollution. Specifically: ROOTINO -> UFS_ROOTINO WINO -> UFS_WINO NXADDR -> UFS_NXADDR NDADDR -> UFS_NDADDR NIADDR -> UFS_NIADDR MAXSYMLINKLEN -> UFS_MAXSYMLINKLEN MAXSYMLINKLEN_UFS[12] -> UFS[12]_MAXSYMLINKLEN (for consistency)
Sort out ext2fs's misuse of NDADDR and NIADDR; fortunately, these have the same values in ext2fs and ffs.
No functional change intended.
|
| 1.25 | 19-Oct-2009 |
bouyer | branches: 1.25.12; 1.25.22; Remove closes 3 & 4 from my licence. Lots of thanks to Soren Jacobsen for the booring work !
|
| 1.24 | 27-Mar-2008 |
ad | branches: 1.24.4; Make rusage collection per-LWP and collate in the appropriate places. cloned threads need a little bit more work but the locking needs to be fixed first.
|
| 1.23 | 02-Jan-2008 |
ad | branches: 1.23.6; Merge vmlocking2 to head.
|
| 1.22 | 08-Oct-2007 |
ad | branches: 1.22.4; 1.22.6; 1.22.10; Merge ffs locking & brelse changes from the vmlocking branch.
|
| 1.21 | 11-Dec-2005 |
christos | branches: 1.21.30; 1.21.44; 1.21.46; 1.21.48; merge ktrace-lwp.
|
| 1.20 | 30-Aug-2005 |
xtraeme | * Remove __P() * Use ANSI function declarations on ext2fs and mfs
|
| 1.19 | 24-Mar-2005 |
bouyer | branches: 1.19.2; getblk() can return NULL if we are the pagedaemon. Check for this.
|
| 1.18 | 26-Feb-2005 |
perry | branches: 1.18.2; nuke trailing whitespace
|
| 1.17 | 15-Dec-2004 |
mycroft | branches: 1.17.2; 1.17.4; Remove some unnecessary (int32_t) casts that would cause us to screw up the top bit in block addresses.
Also, change some daddr_t->int32_t casts (mostly as arguments to ufs_rw32(), where they would get promoted anyway) to u_int32_t.
|
| 1.16 | 15-Aug-2004 |
mycroft | Fixing age old cruft: * Rather than using mnt_maxsymlinklen to indicate that a file systems returns d_type fields(!), add a new internal flag, IMNT_DTYPE.
Add 3 new elements to ufsmount: * um_maxsymlinklen, replaces mnt_maxsymlinklen (which never should have existed in the first place). * um_dirblksiz, which tracks the current directory block size, eliminating the FS-specific checks littered throughout the code. This may be used later to make the block size variable. * um_maxfilesize, which is the maximum file size, possibly adjusted lower due to implementation issues.
Sync some bug fixes from FFS into ext2fs, particularly: * ffs_lookup.c 1.21, 1.28, 1.33, 1.48 * ffs_inode.c 1.43, 1.44, 1.45, 1.66, 1.67 * ffs_vnops.c 1.84, 1.85, 1.86
Clean up some crappy pointer frobnication.
|
| 1.15 | 22-Mar-2004 |
bouyer | branches: 1.15.2; 1.15.4; Fix disclaimer in my copyright. Pointed out by Thomas Klausner.
|
| 1.14 | 25-Jan-2004 |
hannken | Make VOP_STRATEGY(bp) a real VOP as discussed on tech-kern.
VOP_STRATEGY(bp) is replaced by one of two new functions:
- VOP_STRATEGY(vp, bp) Call the strategy routine of vp for bp. - DEV_STRATEGY(bp) Call the d_strategy routine of bp->b_dev for bp.
DEV_STRATEGY(bp) is used only for block-to-block device situations.
|
| 1.13 | 05-Oct-2003 |
bouyer | Remove references to University of California from my copyright notices.
|
| 1.12 | 07-Aug-2003 |
agc | Move UCB-licensed code from 4-clause to 3-clause licence.
Patches provided by Joel Baker in PR 22364, verified by myself.
|
| 1.11 | 18-May-2003 |
yamt | branches: 1.11.2; make is_sequential a callback in order to achieve better lfs write clustering.
since lfs always rewrite blocks into the new segment, current on-disk place of the block doesn't affect to write clustering.
ok'ed by Konrad Schroder.
|
| 1.10 | 24-Jan-2003 |
fvdl | Bump daddr_t to 64 bits. Replace it with int32_t in all places where it was used on-disk, so that on-disk formats remain the same. Remove ufs_daddr_t and ufs_lbn_t for the time being.
|
| 1.9 | 10-Nov-2001 |
chs | branches: 1.9.10; update to track ufs_bmap.c: don't call ufs_getlbns() for direct blocks.
|
| 1.8 | 08-Nov-2001 |
lukem | add RCSID
|
| 1.7 | 06-Nov-2001 |
simonb | Remove some variables that are set but never used.
|
| 1.6 | 26-Oct-2001 |
lukem | remove #include <ufs/ufs/quota.h> where it was just to appease <ufs/ufs/inode.h>, since the latter now includes the former. leave the former in source that obviously uses specific bits of it (for completeness.)
|
| 1.5 | 30-Mar-2000 |
augustss | branches: 1.5.6; 1.5.10; 1.5.14; Remove register declarations.
|
| 1.4 | 01-Mar-1998 |
fvdl | branches: 1.4.14; Merge with Lite2 + local changes
|
| 1.3 | 09-Oct-1997 |
bouyer | Add byte-swapping functions (bswap16, bswap32, bswap64) to libkern. Only assembly version for i386 bswap16 and bswap32 for now (bswap64 uses bswap32). Contribution of assembly versions of these are welcome. Add byte-swapping of ext2fs metadata for big-endian systems. Tested on i386 and sparc.
|
| 1.2 | 24-Jul-1997 |
bouyer | branches: 1.2.2; ufs_getlbns needs an array of NIADDR+1 struct indir's, and not NIADDR. This fixes a panic due to stack corruption when reading larges files.
|
| 1.1 | 11-Jun-1997 |
bouyer | The ext2fs layer, based on the ffs/ufs one. Uses a few functions from sys/ufs/ufs/
|
| 1.2.2.1 | 14-Oct-1997 |
thorpej | Update marc-pcmcia branch from trunk.
|
| 1.4.14.1 | 20-Nov-2000 |
bouyer | Update thorpej_scsipi to -current as of a month ago
|
| 1.5.14.1 | 12-Nov-2001 |
thorpej | Sync the thorpej-mips-cache branch with -current.
|
| 1.5.10.1 | 10-Jan-2002 |
thorpej | Sync kqueue branch with -current.
|
| 1.5.6.4 | 12-Jul-2002 |
nathanw | No longer need to pull in lwp.h; proc.h pulls it in for us.
|
| 1.5.6.3 | 24-Jun-2002 |
nathanw | Curproc->curlwp renaming.
Change uses of "curproc->l_proc" back to "curproc", which is more like the original use. Bare uses of "curproc" are now "curlwp".
"curproc" is now #defined in proc.h as ((curlwp) ? (curlwp)->l_proc) : NULL) so that it is always safe to reference curproc (*de*referencing curproc is another story, but that's always been true).
|
| 1.5.6.2 | 14-Nov-2001 |
nathanw | Catch up to -current.
|
| 1.5.6.1 | 05-Mar-2001 |
nathanw | Initial commit of scheduler activations and lightweight process support.
|
| 1.9.10.1 | 06-Apr-2005 |
tron | Pull up revision 1.19 (requested by bouyer in ticket #5728): getblk() can return NULL if we are the pagedaemon. Check for this.
|
| 1.11.2.8 | 10-Nov-2005 |
skrll | Sync with HEAD. Here we go again...
|
| 1.11.2.7 | 01-Apr-2005 |
skrll | Sync with HEAD.
|
| 1.11.2.6 | 04-Mar-2005 |
skrll | Sync with HEAD.
Hi Perry!
|
| 1.11.2.5 | 18-Dec-2004 |
skrll | Sync with HEAD.
|
| 1.11.2.4 | 21-Sep-2004 |
skrll | Fix the sync with head I botched.
|
| 1.11.2.3 | 18-Sep-2004 |
skrll | Sync with HEAD.
|
| 1.11.2.2 | 25-Aug-2004 |
skrll | Sync with HEAD.
|
| 1.11.2.1 | 03-Aug-2004 |
skrll | Sync with HEAD
|
| 1.15.4.1 | 10-May-2005 |
riz | Pull up revision 1.19 (requested by bouyer in ticket #1355): getblk() can return NULL if we are the pagedaemon. Check for this.
|
| 1.15.2.1 | 11-May-2005 |
riz | Pull up revision 1.19 (requested by bouyer in ticket #1355): getblk() can return NULL if we are the pagedaemon. Check for this.
|
| 1.17.4.2 | 26-Mar-2005 |
yamt | sync with head.
|
| 1.17.4.1 | 19-Mar-2005 |
yamt | sync with head. xen and whitespace. xen part is not finished.
|
| 1.17.2.1 | 29-Apr-2005 |
kent | sync with -current
|
| 1.18.2.1 | 27-Mar-2005 |
tron | Pull up revision 1.19 (requested by bouyer in ticket #58): getblk() can return NULL if we are the pagedaemon. Check for this.
|
| 1.19.2.3 | 21-Jan-2008 |
yamt | sync with head
|
| 1.19.2.2 | 27-Oct-2007 |
yamt | sync with head.
|
| 1.19.2.1 | 21-Jun-2006 |
yamt | sync with head.
|
| 1.21.48.1 | 14-Oct-2007 |
yamt | sync with head.
|
| 1.21.46.2 | 09-Jan-2008 |
matt | sync with HEAD
|
| 1.21.46.1 | 06-Nov-2007 |
matt | sync with HEAD
|
| 1.21.44.1 | 26-Oct-2007 |
joerg | Sync with HEAD.
Follow the merge of pmap.c on i386 and amd64 and move pmap_init_tmp_pgtbl into arch/x86/x86/pmap.c. Modify the ACPI wakeup code to restore CR4 before jumping back into kernel space as the large page option might cover that.
|
| 1.21.30.2 | 24-Aug-2007 |
ad | Sync with buffer cache locking changes. See buf.h/vfs_bio.c for details. Some minor portions are incomplete and needs to be verified as a whole.
|
| 1.21.30.1 | 13-May-2007 |
ad | - Pass the error number and residual count to biodone(), and let it handle setting error indicators. Prepare to eliminate B_ERROR. - Add a flag argument to brelse() to be set into the buf's flags, instead of doing it directly. Typically used to set B_INVAL. - Add a "struct cpu_info *" argument to kthread_create(), to be used to create bound threads. Change "bool mpsafe" to "int flags". - Allow exit of LWPs in the IDL state when (l != curlwp). - More locking fixes & conversion to the new API.
|
| 1.22.10.1 | 02-Jan-2008 |
bouyer | Sync with HEAD
|
| 1.22.6.1 | 04-Dec-2007 |
ad | Pull the vmlocking changes into a new branch.
|
| 1.22.4.1 | 18-Feb-2008 |
mjf | Sync with HEAD.
|
| 1.23.6.1 | 03-Apr-2008 |
mjf | Sync with HEAD.
|
| 1.24.4.1 | 11-Mar-2010 |
yamt | sync with head
|
| 1.25.22.2 | 03-Dec-2017 |
jdolecek | update from HEAD
|
| 1.25.22.1 | 25-Feb-2013 |
tls | resync with head
|
| 1.25.12.1 | 23-Jan-2013 |
yamt | sync with head
|
| 1.26.14.2 | 05-Oct-2016 |
skrll | Sync with HEAD
|
| 1.26.14.1 | 09-Jul-2016 |
skrll | Sync with HEAD
|
| 1.25 | 26-Aug-2023 |
riastradh | ext2fs: Nix trailing whitespace.
|
| 1.24 | 20-Aug-2016 |
jdolecek | add support for GDT_CSUM AKA uninit_bg feature
|
| 1.23 | 15-Aug-2016 |
jdolecek | adjust ext2fs_makeinode() so that the direnter is optional, use the function (with the direnter off) in ext2fs_mkdir() instead of the code copy; adjust ext2fs_makeinode() to initialize extra_isize and set creation time, if supported by the filesystem
|
| 1.22 | 04-Aug-2016 |
jdolecek | rename struct ext2fs_dinode attribute e2di_dacl to correct e2di_size_high; even Linux ext2 filesystem code actually uses it unconditionally this way and ext4 code finally also calls it that way in their struct definition too; if there was any trace of this for other purpose it's long gone
|
| 1.21 | 03-Aug-2016 |
jdolecek | support arbitrary ext3/ext4 inode size, add all the new ext4 fields ext2fs_dinode, and add support for loading the extra inode data
|
| 1.20 | 02-Aug-2016 |
jdolecek | do not bswap fragment address, support in ext* for them was never actually implemented in linux kernels
|
| 1.19 | 22-Jan-2013 |
dholland | branches: 1.19.14; 1.19.18; Stuff UFS_ in front of a few of ufs's symbols to reduce namespace pollution. Specifically: ROOTINO -> UFS_ROOTINO WINO -> UFS_WINO NXADDR -> UFS_NXADDR NDADDR -> UFS_NDADDR NIADDR -> UFS_NIADDR MAXSYMLINKLEN -> UFS_MAXSYMLINKLEN MAXSYMLINKLEN_UFS[12] -> UFS[12]_MAXSYMLINKLEN (for consistency)
Sort out ext2fs's misuse of NDADDR and NIADDR; fortunately, these have the same values in ext2fs and ffs.
No functional change intended.
|
| 1.18 | 19-Nov-2012 |
jakllsch | - Add e2di_version, e2di_nblock_high, e2di_facl_high fields to ext2fs_dinode.
- Update i_e2fs_ aliases to match.
- ext2fs_bswap support for these ext2fs_dinode fields.
(e2di_version and e2di_facl_high replace previously reserved fields. e2di_nblock_high was formerly e2di_nfrag and e2di_fsize, however these are currently defined in e2fsprogs as only being relevant for HURD.)
|
| 1.17 | 18-Nov-2012 |
jakllsch | correct comment to match code
|
| 1.16 | 19-Oct-2009 |
bouyer | branches: 1.16.12; 1.16.22; Remove closes 3 & 4 from my licence. Lots of thanks to Soren Jacobsen for the booring work !
|
| 1.15 | 14-Apr-2009 |
lukem | fix -Wsign-compare issue on bigendian platforms
|
| 1.14 | 23-Nov-2008 |
mrg | branches: 1.14.4; add support for 32 bit uid/gid fields in ext2, but only do so for when the revision is > REV0.
|
| 1.13 | 17-Nov-2007 |
tsutsui | branches: 1.13.14; 1.13.18; 1.13.24; 1.13.26; 1.13.28; Some KNF and cosmetics.
|
| 1.12 | 17-Nov-2007 |
tsutsui | Also bswap recently added e2fs_reserved_ngdb in e2fs_sb_bswap().
|
| 1.11 | 11-Dec-2005 |
christos | branches: 1.11.44; 1.11.46; 1.11.50; 1.11.52; merge ktrace-lwp.
|
| 1.10 | 30-Oct-2005 |
simonb | Only include <sys/systm.h> if _KERNEL is defined.
|
| 1.9 | 30-Aug-2005 |
xtraeme | branches: 1.9.2; * Remove __P() * Use ANSI function declarations on ext2fs and mfs
|
| 1.8 | 05-Oct-2003 |
bouyer | branches: 1.8.16; Remove references to University of California from my copyright notices.
|
| 1.7 | 08-Nov-2001 |
lukem | branches: 1.7.16; add RCSID
|
| 1.6 | 24-Jul-2000 |
mycroft | branches: 1.6.2; 1.6.6; 1.6.10; Need string.h for memset() prototype.
|
| 1.5 | 15-May-2000 |
bouyer | branches: 1.5.4; Sync copyrigth notice.
|
| 1.4 | 28-Jan-2000 |
bouyer | Correct (minor) bogons in filetype option support, and add support for sparse_super option
|
| 1.3 | 26-Jan-2000 |
bouyer | First cut at ext2fs rev 1 support (as of mke2fs 1.18): supports the filetype option read/write and the sparse option read-only.
|
| 1.2 | 09-Aug-1998 |
perry | branches: 1.2.6; 1.2.12; bzero->memset, bcopy->memcpy, bcmp->memcmp
|
| 1.1 | 09-Oct-1997 |
bouyer | branches: 1.1.2; Add byte-swapping functions (bswap16, bswap32, bswap64) to libkern. Only assembly version for i386 bswap16 and bswap32 for now (bswap64 uses bswap32). Contribution of assembly versions of these are welcome. Add byte-swapping of ext2fs metadata for big-endian systems. Tested on i386 and sparc.
|
| 1.1.2.2 | 14-Oct-1997 |
thorpej | Update marc-pcmcia branch from trunk.
|
| 1.1.2.1 | 09-Oct-1997 |
thorpej | file ext2fs_bswap.c was added on branch marc-pcmcia on 1997-10-14 16:06:14 +0000
|
| 1.2.12.1 | 20-Nov-2000 |
bouyer | Update thorpej_scsipi to -current as of a month ago
|
| 1.2.6.1 | 01-Feb-2000 |
he | Apply patch (requested by bouyer): Add support for ext2fs revision 1, with read-only support for the 'sparse_super' and 'filetype' options. Should fix PR#9088.
|
| 1.5.4.1 | 26-Jul-2000 |
mycroft | Approved by thorpej: Fix compilation error in fsck_ext2fs on big-endian systems, due to missing prototypes.
syssrc/sys/ufs/ext2fs/ext2fs_bswap.c 1.5 -> 1.6
|
| 1.6.10.1 | 12-Nov-2001 |
thorpej | Sync the thorpej-mips-cache branch with -current.
|
| 1.6.6.1 | 10-Jan-2002 |
thorpej | Sync kqueue branch with -current.
|
| 1.6.2.1 | 14-Nov-2001 |
nathanw | Catch up to -current.
|
| 1.7.16.4 | 10-Nov-2005 |
skrll | Sync with HEAD. Here we go again...
|
| 1.7.16.3 | 21-Sep-2004 |
skrll | Fix the sync with head I botched.
|
| 1.7.16.2 | 18-Sep-2004 |
skrll | Sync with HEAD.
|
| 1.7.16.1 | 03-Aug-2004 |
skrll | Sync with HEAD
|
| 1.8.16.2 | 07-Dec-2007 |
yamt | sync with head
|
| 1.8.16.1 | 21-Jun-2006 |
yamt | sync with head.
|
| 1.9.2.1 | 02-Nov-2005 |
yamt | sync with head.
|
| 1.11.52.1 | 19-Nov-2007 |
mjf | Sync with HEAD.
|
| 1.11.50.1 | 18-Nov-2007 |
bouyer | Sync with HEAD
|
| 1.11.46.1 | 09-Jan-2008 |
matt | sync with HEAD
|
| 1.11.44.1 | 21-Nov-2007 |
joerg | Sync with HEAD.
|
| 1.13.28.1 | 29-Nov-2008 |
snj | Pull up following revision(s) (requested by mrg in ticket #147): sys/ufs/ext2fs/ext2fs_alloc.c: revision 1.37 sys/ufs/ext2fs/ext2fs_bswap.c: revision 1.14 sys/ufs/ext2fs/ext2fs_dinode.h: revision 1.17 sys/ufs/ext2fs/ext2fs_lookup.c: revision 1.56 sys/ufs/ext2fs/ext2fs_vnops.c: revision 1.83 sys/ufs/ext2fs/ext2fs_vfsops.c: revision 1.140 sys/ufs/ufs/inode.h: revision 1.55 add support for 32 bit uid/gid fields in ext2, but only do so for when the revision is > REV0.
|
| 1.13.26.2 | 28-Apr-2009 |
skrll | Sync with HEAD.
|
| 1.13.26.1 | 19-Jan-2009 |
skrll | Sync with HEAD.
|
| 1.13.24.1 | 13-Dec-2008 |
haad | Update haad-dm branch to haad-dm-base2.
|
| 1.13.18.2 | 11-Mar-2010 |
yamt | sync with head
|
| 1.13.18.1 | 04-May-2009 |
yamt | sync with head.
|
| 1.13.14.1 | 17-Jan-2009 |
mjf | Sync with HEAD.
|
| 1.14.4.1 | 13-May-2009 |
jym | Sync with HEAD.
Commit is split, to avoid a "too many arguments" protocol error.
|
| 1.16.22.3 | 03-Dec-2017 |
jdolecek | update from HEAD
|
| 1.16.22.2 | 25-Feb-2013 |
tls | resync with head
|
| 1.16.22.1 | 20-Nov-2012 |
tls | Resync to 2012-11-19 00:00:00 UTC
|
| 1.16.12.2 | 23-Jan-2013 |
yamt | sync with head
|
| 1.16.12.1 | 16-Jan-2013 |
yamt | sync with (a bit old) head
|
| 1.19.18.1 | 06-Aug-2016 |
pgoyette | Sync with HEAD
|
| 1.19.14.1 | 05-Oct-2016 |
skrll | Sync with HEAD
|
| 1.37 | 13-Jan-2017 |
christos | Fix unsigned
|
| 1.36 | 12-Aug-2016 |
jdolecek | add support for extended attributes in ext2fs for ext3/ext4; read-only for now
|
| 1.35 | 06-Aug-2016 |
jdolecek | some more inode flags
|
| 1.34 | 04-Aug-2016 |
jdolecek | make E2MAXSYMLINKLEN just alias for EXT2_MAXSYMLINKLEN, they are the same
|
| 1.33 | 04-Aug-2016 |
jdolecek | move i_e2fs_* defines from ufs/inode.h to ext2fs/ext2fs_dinode.h, where they belong; they don't seem to be used anywhere else then ext2fs code any more
|
| 1.32 | 04-Aug-2016 |
jdolecek | rename struct ext2fs_dinode attribute e2di_dacl to correct e2di_size_high; even Linux ext2 filesystem code actually uses it unconditionally this way and ext4 code finally also calls it that way in their struct definition too; if there was any trace of this for other purpose it's long gone
|
| 1.31 | 04-Aug-2016 |
nonaka | include stddef.h for offsetof.
fix newfs_ext2fs build failure on evbppc.
|
| 1.30 | 04-Aug-2016 |
nonaka | pass isize to e2fs_i_bswap() if BYTE_ORDER != LITTLE_ENDIAN.
|
| 1.29 | 03-Aug-2016 |
jdolecek | get and set expanded timestamp if the inode contains the extra information, add support for create time
|
| 1.28 | 03-Aug-2016 |
jdolecek | support arbitrary ext3/ext4 inode size, add all the new ext4 fields ext2fs_dinode, and add support for loading the extra inode data
|
| 1.27 | 02-Aug-2016 |
jdolecek | adjust the comments for on-disk ext2fs inode to indicate which of the ext* was it implemented for linux kernel; makes it a bit easier to locate
split e2di_linux_reserved3 with e2di_extra_isize and e2di_checksum_high, tag as ext4
|
| 1.26 | 22-Jan-2013 |
dholland | branches: 1.26.14; 1.26.18; Stuff UFS_ in front of a few of ufs's symbols to reduce namespace pollution. Specifically: ROOTINO -> UFS_ROOTINO WINO -> UFS_WINO NXADDR -> UFS_NXADDR NDADDR -> UFS_NDADDR NIADDR -> UFS_NIADDR MAXSYMLINKLEN -> UFS_MAXSYMLINKLEN MAXSYMLINKLEN_UFS[12] -> UFS[12]_MAXSYMLINKLEN (for consistency)
Sort out ext2fs's misuse of NDADDR and NIADDR; fortunately, these have the same values in ext2fs and ffs.
No functional change intended.
|
| 1.25 | 21-Nov-2012 |
jakllsch | Add various newer Ext2 superblock feature bits and inode flag bits.
|
| 1.24 | 19-Nov-2012 |
jakllsch | - Add e2di_version, e2di_nblock_high, e2di_facl_high fields to ext2fs_dinode.
- Update i_e2fs_ aliases to match.
- ext2fs_bswap support for these ext2fs_dinode fields.
(e2di_version and e2di_facl_high replace previously reserved fields. e2di_nblock_high was formerly e2di_nfrag and e2di_fsize, however these are currently defined in e2fsprogs as only being relevant for HURD.)
|
| 1.23 | 18-Nov-2012 |
jakllsch | stylistic adjustment in comments
|
| 1.22 | 27-Nov-2009 |
tsutsui | branches: 1.22.12; 1.22.22; Add definitions for more reserved inodes.
|
| 1.21 | 19-Oct-2009 |
bouyer | Remove closes 3 & 4 from my licence. Lots of thanks to Soren Jacobsen for the booring work !
|
| 1.20 | 12-Sep-2009 |
tsutsui | Migrate from u_intNN_t to uintNN_t.
|
| 1.19 | 02-Mar-2009 |
tsutsui | Don't use e2fs_inode_size in superblock on E2FS_REV0 file system.
|
| 1.18 | 01-Mar-2009 |
christos | PR/40936: Frederik Sausmikat: ext2fs: add support for inodes > 128 bytes
|
| 1.17 | 23-Nov-2008 |
mrg | branches: 1.17.4; add support for 32 bit uid/gid fields in ext2, but only do so for when the revision is > REV0.
|
| 1.16 | 17-Nov-2007 |
tsutsui | branches: 1.16.14; 1.16.18; 1.16.24; 1.16.26; 1.16.28; Misc cosmetics.
|
| 1.15 | 15-Nov-2007 |
tsutsui | Add some definitions for resizefs features.
|
| 1.14 | 11-Dec-2005 |
christos | branches: 1.14.44; 1.14.46; 1.14.50; 1.14.52; merge ktrace-lwp.
|
| 1.13 | 30-Aug-2005 |
xtraeme | * Remove __P() * Use ANSI function declarations on ext2fs and mfs
|
| 1.12 | 26-Feb-2005 |
perry | branches: 1.12.4; nuke trailing whitespace
|
| 1.11 | 22-Mar-2004 |
bouyer | branches: 1.11.8; 1.11.10; Fix disclaimer in my copyright. Pointed out by Thomas Klausner.
|
| 1.10 | 05-Oct-2003 |
bouyer | Remove references to University of California from my copyright notices.
|
| 1.9 | 07-Aug-2003 |
agc | Move UCB-licensed code from 4-clause to 3-clause licence.
Patches provided by Joel Baker in PR 22364, verified by myself.
|
| 1.8 | 06-Jan-2003 |
wiz | branches: 1.8.2; writable, not writeable.
|
| 1.7 | 01-Dec-2002 |
matt | Add multiple inclusion protection for headers. Fix mismatched variable declarations (missing const's) as needed.
|
| 1.6 | 26-Jan-2000 |
bouyer | branches: 1.6.6; First cut at ext2fs rev 1 support (as of mke2fs 1.18): supports the filetype option read/write and the sparse option read-only.
|
| 1.5 | 23-Oct-1998 |
thorpej | branches: 1.5.12; For consistency w/ FFS/LFS, define EXT2_DINODE_SIZE, and use it instead of pointer arithmetic and/or sizeof(struct ext2fs_dinode).
|
| 1.4 | 13-Sep-1998 |
christos | Fix copyright '\t' -> ' '
|
| 1.3 | 09-Aug-1998 |
perry | bzero->memset, bcopy->memcpy, bcmp->memcmp
|
| 1.2 | 09-Oct-1997 |
bouyer | Add byte-swapping functions (bswap16, bswap32, bswap64) to libkern. Only assembly version for i386 bswap16 and bswap32 for now (bswap64 uses bswap32). Contribution of assembly versions of these are welcome. Add byte-swapping of ext2fs metadata for big-endian systems. Tested on i386 and sparc.
|
| 1.1 | 11-Jun-1997 |
bouyer | branches: 1.1.4; The ext2fs layer, based on the ffs/ufs one. Uses a few functions from sys/ufs/ufs/
|
| 1.1.4.1 | 14-Oct-1997 |
thorpej | Update marc-pcmcia branch from trunk.
|
| 1.5.12.1 | 20-Nov-2000 |
bouyer | Update thorpej_scsipi to -current as of a month ago
|
| 1.6.6.2 | 07-Jan-2003 |
thorpej | Sync with HEAD.
|
| 1.6.6.1 | 11-Dec-2002 |
thorpej | Sync with HEAD.
|
| 1.8.2.5 | 10-Nov-2005 |
skrll | Sync with HEAD. Here we go again...
|
| 1.8.2.4 | 04-Mar-2005 |
skrll | Sync with HEAD.
Hi Perry!
|
| 1.8.2.3 | 21-Sep-2004 |
skrll | Fix the sync with head I botched.
|
| 1.8.2.2 | 18-Sep-2004 |
skrll | Sync with HEAD.
|
| 1.8.2.1 | 03-Aug-2004 |
skrll | Sync with HEAD
|
| 1.11.10.1 | 19-Mar-2005 |
yamt | sync with head. xen and whitespace. xen part is not finished.
|
| 1.11.8.1 | 29-Apr-2005 |
kent | sync with -current
|
| 1.12.4.2 | 07-Dec-2007 |
yamt | sync with head
|
| 1.12.4.1 | 21-Jun-2006 |
yamt | sync with head.
|
| 1.14.52.1 | 19-Nov-2007 |
mjf | Sync with HEAD.
|
| 1.14.50.1 | 18-Nov-2007 |
bouyer | Sync with HEAD
|
| 1.14.46.1 | 09-Jan-2008 |
matt | sync with HEAD
|
| 1.14.44.1 | 21-Nov-2007 |
joerg | Sync with HEAD.
|
| 1.16.28.2 | 16-Jan-2011 |
bouyer | Pull up following revision(s) (requested by tsutsui in ticket #1486): sbin/fsck_ext2fs/setup.c: revision 1.26 sbin/newfs_ext2fs/mke2fs.c: revision 1.10 sbin/newfs_ext2fs/mke2fs.c: revision 1.11 sbin/newfs_ext2fs/mke2fs.c: revision 1.12 sbin/fsck_ext2fs/inode.c: revision 1.24 sys/lib/libsa/ext2fs.c: revision 1.6 sbin/newfs_ext2fs/extern.h: revision 1.3 sbin/fsck_ext2fs/inode.c: revision 1.25 sys/lib/libsa/ext2fs.c: revision 1.7 sbin/fsck_ext2fs/inode.c: revision 1.26 sys/ufs/ext2fs/ext2fs_inode.c: revision 1.68 sbin/fsck_ext2fs/inode.c: revision 1.27 sbin/fsck_ext2fs/inode.c: revision 1.28 sys/ufs/ext2fs/ext2fs_dinode.h: revision 1.18 sys/ufs/ext2fs/ext2fs_dinode.h: revision 1.19 sbin/newfs_ext2fs/newfs_ext2fs.c: revision 1.5 sbin/newfs_ext2fs/newfs_ext2fs.8: revision 1.2 sbin/newfs_ext2fs/newfs_ext2fs.c: revision 1.6 sbin/newfs_ext2fs/newfs_ext2fs.8: revision 1.3 sys/ufs/ext2fs/ext2fs_vfsops.c: revision 1.142 sbin/newfs_ext2fs/newfs_ext2fs.c: revision 1.7 sbin/newfs_ext2fs/newfs_ext2fs.8: revision 1.4 sbin/newfs_ext2fs/newfs_ext2fs.c: revision 1.8 PR/40936: Frederik Sausmikat: ext2fs: add support for inodes > 128 bytes Support variable inode sizes. catch up with variable inode size. Don't use e2fs_inode_size in superblock on E2FS_REV0 file system. - accept only EXT2_REV0_DINODE_SIZE inodesize on -O 0 - use inodesize to get offset of inode, not struct ext2fs_dinode array Replace a magic number with a new EXT2_REV0_DINODE_SIZE macro. Use EXT2_DINODE_SIZE() to get offset of inode, not struct ext2fs_dinode array. Fix botched logic in inodesize check. Use inodesize to get offset of inode in one more place. - add a sanity check for e2fs_inode_size in readsb() - use EXT2_DINODE_SIZE() rather than sizeof(struct ext2fs_dinode) or struct ext2fs_dinode array/pointer to see e2fs_ipb and inode offsets Sort options. New sentence, new line. Sort options in usage. - unsigned -> unsigned int - remove unnecessary casts from malloc(3) and free(3) - fix a bogus indent Use "size > INT32_MAX" rather than "size >= 0x80000000U" to check 2GB limit. Add missed byteswap ops against ext2fs_dinode members. Handle 32 bit uid field on E2FS_REV1.
|
| 1.16.28.1 | 29-Nov-2008 |
snj | Pull up following revision(s) (requested by mrg in ticket #147): sys/ufs/ext2fs/ext2fs_alloc.c: revision 1.37 sys/ufs/ext2fs/ext2fs_bswap.c: revision 1.14 sys/ufs/ext2fs/ext2fs_dinode.h: revision 1.17 sys/ufs/ext2fs/ext2fs_lookup.c: revision 1.56 sys/ufs/ext2fs/ext2fs_vnops.c: revision 1.83 sys/ufs/ext2fs/ext2fs_vfsops.c: revision 1.140 sys/ufs/ufs/inode.h: revision 1.55 add support for 32 bit uid/gid fields in ext2, but only do so for when the revision is > REV0.
|
| 1.16.26.2 | 03-Mar-2009 |
skrll | Sync with HEAD.
|
| 1.16.26.1 | 19-Jan-2009 |
skrll | Sync with HEAD.
|
| 1.16.24.1 | 13-Dec-2008 |
haad | Update haad-dm branch to haad-dm-base2.
|
| 1.16.18.3 | 11-Mar-2010 |
yamt | sync with head
|
| 1.16.18.2 | 16-Sep-2009 |
yamt | sync with head
|
| 1.16.18.1 | 04-May-2009 |
yamt | sync with head.
|
| 1.16.14.1 | 17-Jan-2009 |
mjf | Sync with HEAD.
|
| 1.17.4.1 | 13-May-2009 |
jym | Sync with HEAD.
Commit is split, to avoid a "too many arguments" protocol error.
|
| 1.22.22.3 | 03-Dec-2017 |
jdolecek | update from HEAD
|
| 1.22.22.2 | 25-Feb-2013 |
tls | resync with head
|
| 1.22.22.1 | 20-Nov-2012 |
tls | Resync to 2012-11-19 00:00:00 UTC
|
| 1.22.12.2 | 23-Jan-2013 |
yamt | sync with head
|
| 1.22.12.1 | 16-Jan-2013 |
yamt | sync with (a bit old) head
|
| 1.26.18.2 | 20-Mar-2017 |
pgoyette | Sync with HEAD
|
| 1.26.18.1 | 06-Aug-2016 |
pgoyette | Sync with HEAD
|
| 1.26.14.2 | 05-Feb-2017 |
skrll | Sync with HEAD
|
| 1.26.14.1 | 05-Oct-2016 |
skrll | Sync with HEAD
|
| 1.23 | 10-Mar-2024 |
christos | PR/58018: Damir Holovati: ext2fs readdir (d_type conversion error)
|
| 1.22 | 07-Aug-2016 |
kre | branches: 1.22.20; 1.22.46;
If using constants from dirent.h it ought to be included. Hopefully fixes i386 build.
|
| 1.21 | 06-Aug-2016 |
jdolecek | actually pass the d_type from the on-disk directory entry to the lookup results
|
| 1.20 | 24-Jun-2016 |
christos | GSoC 2016 (Hrishikesh Goyal): Htree index support from FreeBSD
|
| 1.19 | 09-May-2012 |
riastradh | branches: 1.19.2; 1.19.16; Adapt ffs, lfs, and ext2fs to use genfs_rename.
ok dholland, rmind
|
| 1.18 | 19-Oct-2009 |
bouyer | branches: 1.18.12; 1.18.16; Remove closes 3 & 4 from my licence. Lots of thanks to Soren Jacobsen for the booring work !
|
| 1.17 | 12-Sep-2009 |
tsutsui | Use proper macro, some KNF, fix typo.
|
| 1.16 | 12-Sep-2009 |
tsutsui | Migrate from u_intNN_t to uintNN_t.
|
| 1.15 | 25-Dec-2007 |
perry | branches: 1.15.10; Convert many of the uses of __attribute__ to equivalent __packed, __unused and __dead macros from cdefs.h
|
| 1.14 | 17-Nov-2007 |
tsutsui | branches: 1.14.2; 1.14.6; Misc cosmetics.
|
| 1.13 | 16-Feb-2006 |
perry | branches: 1.13.38; 1.13.40; 1.13.44; 1.13.46; Change "inline" back to "__inline" in .h files -- C99 is still too new, and some apps compile things in C89 mode. C89 keywords stay.
As per core@.
|
| 1.12 | 24-Dec-2005 |
perry | branches: 1.12.2; 1.12.4; 1.12.6; __inline__ -> inline
|
| 1.11 | 11-Dec-2005 |
christos | merge ktrace-lwp.
|
| 1.10 | 30-Aug-2005 |
xtraeme | * Remove __P() * Use ANSI function declarations on ext2fs and mfs
|
| 1.9 | 26-Feb-2005 |
perry | branches: 1.9.4; nuke trailing whitespace
|
| 1.8 | 22-Mar-2004 |
bouyer | branches: 1.8.8; 1.8.10; Fix disclaimer in my copyright. Pointed out by Thomas Klausner.
|
| 1.7 | 05-Oct-2003 |
bouyer | Remove references to University of California from my copyright notices.
|
| 1.6 | 07-Aug-2003 |
agc | Move UCB-licensed code from 4-clause to 3-clause licence.
Patches provided by Joel Baker in PR 22364, verified by myself.
|
| 1.5 | 01-Dec-2002 |
matt | branches: 1.5.6; Add multiple inclusion protection for headers. Fix mismatched variable declarations (missing const's) as needed.
|
| 1.4 | 28-Jan-2000 |
bouyer | branches: 1.4.6; Correct (minor) bogons in filetype option support, and add support for sparse_super option
|
| 1.3 | 26-Jan-2000 |
bouyer | First cut at ext2fs rev 1 support (as of mke2fs 1.18): supports the filetype option read/write and the sparse option read-only.
|
| 1.2 | 13-Sep-1998 |
christos | branches: 1.2.12; Fix copyright '\t' -> ' '
|
| 1.1 | 11-Jun-1997 |
bouyer | The ext2fs layer, based on the ffs/ufs one. Uses a few functions from sys/ufs/ufs/
|
| 1.2.12.1 | 20-Nov-2000 |
bouyer | Update thorpej_scsipi to -current as of a month ago
|
| 1.4.6.1 | 11-Dec-2002 |
thorpej | Sync with HEAD.
|
| 1.5.6.5 | 10-Nov-2005 |
skrll | Sync with HEAD. Here we go again...
|
| 1.5.6.4 | 04-Mar-2005 |
skrll | Sync with HEAD.
Hi Perry!
|
| 1.5.6.3 | 21-Sep-2004 |
skrll | Fix the sync with head I botched.
|
| 1.5.6.2 | 18-Sep-2004 |
skrll | Sync with HEAD.
|
| 1.5.6.1 | 03-Aug-2004 |
skrll | Sync with HEAD
|
| 1.8.10.1 | 19-Mar-2005 |
yamt | sync with head. xen and whitespace. xen part is not finished.
|
| 1.8.8.1 | 29-Apr-2005 |
kent | sync with -current
|
| 1.9.4.3 | 21-Jan-2008 |
yamt | sync with head
|
| 1.9.4.2 | 07-Dec-2007 |
yamt | sync with head
|
| 1.9.4.1 | 21-Jun-2006 |
yamt | sync with head.
|
| 1.12.6.1 | 22-Apr-2006 |
simonb | Sync with head.
|
| 1.12.4.1 | 09-Sep-2006 |
rpaulo | sync with head
|
| 1.12.2.1 | 18-Feb-2006 |
yamt | sync with head.
|
| 1.13.46.2 | 18-Feb-2008 |
mjf | Sync with HEAD.
|
| 1.13.46.1 | 19-Nov-2007 |
mjf | Sync with HEAD.
|
| 1.13.44.1 | 18-Nov-2007 |
bouyer | Sync with HEAD
|
| 1.13.40.1 | 09-Jan-2008 |
matt | sync with HEAD
|
| 1.13.38.1 | 21-Nov-2007 |
joerg | Sync with HEAD.
|
| 1.14.6.1 | 02-Jan-2008 |
bouyer | Sync with HEAD
|
| 1.14.2.1 | 26-Dec-2007 |
ad | Sync with head.
|
| 1.15.10.2 | 11-Mar-2010 |
yamt | sync with head
|
| 1.15.10.1 | 16-Sep-2009 |
yamt | sync with head
|
| 1.18.16.1 | 02-Jun-2012 |
mrg | sync to latest -current.
|
| 1.18.12.1 | 23-May-2012 |
yamt | sync with head.
|
| 1.19.16.2 | 05-Oct-2016 |
skrll | Sync with HEAD
|
| 1.19.16.1 | 09-Jul-2016 |
skrll | Sync with HEAD
|
| 1.19.2.1 | 03-Dec-2017 |
jdolecek | update from HEAD
|
| 1.22.46.1 | 23-Aug-2024 |
martin | Pull up following revision(s) (requested by riastradh in ticket #796):
sys/ufs/ext2fs/ext2fs_dir.h: revision 1.23
PR/58018: Damir Holovati: ext2fs readdir (d_type conversion error)
|
| 1.22.20.1 | 23-Aug-2024 |
martin | Pull up following revision(s) (requested by riastradh in ticket #1873):
sys/ufs/ext2fs/ext2fs_dir.h: revision 1.23
PR/58018: Damir Holovati: ext2fs readdir (d_type conversion error)
|
| 1.3 | 13-Aug-2016 |
christos | branches: 1.3.14; KNF, no functional changes...
|
| 1.2 | 09-Aug-2016 |
christos | KNF
|
| 1.1 | 03-Jun-2016 |
christos | branches: 1.1.2; Add ext4 extent support from GSoC 2016 (Hrishikesh Goyal), from the FreeBSD ext2 code.
|
| 1.1.2.3 | 05-Oct-2016 |
skrll | Sync with HEAD
|
| 1.1.2.2 | 09-Jul-2016 |
skrll | Sync with HEAD
|
| 1.1.2.1 | 03-Jun-2016 |
skrll | file ext2fs_extents.c was added on branch nick-nhusb on 2016-07-09 20:25:24 +0000
|
| 1.3.14.2 | 03-Dec-2017 |
jdolecek | update from HEAD
|
| 1.3.14.1 | 13-Aug-2016 |
jdolecek | file ext2fs_extents.c was added on branch tls-maxphys on 2017-12-03 11:39:21 +0000
|
| 1.5 | 26-Aug-2023 |
riastradh | ext2fs: Nix trailing whitespace.
|
| 1.4 | 09-Aug-2016 |
kre | branches: 1.4.14;
Revert previous - which itself (incorrectly) reverted the previous changes, breaking the build.
|
| 1.3 | 09-Aug-2016 |
christos | More htree writing support (Hrishikesh Goyal GSoC 2016)
|
| 1.2 | 10-Jun-2016 |
dholland | branches: 1.2.2; needs <stdbool.h>
|
| 1.1 | 03-Jun-2016 |
christos | Add ext4 extent support from GSoC 2016 (Hrishikesh Goyal), from the FreeBSD ext2 code.
|
| 1.2.2.3 | 05-Oct-2016 |
skrll | Sync with HEAD
|
| 1.2.2.2 | 09-Jul-2016 |
skrll | Sync with HEAD
|
| 1.2.2.1 | 10-Jun-2016 |
skrll | file ext2fs_extents.h was added on branch nick-nhusb on 2016-07-09 20:25:24 +0000
|
| 1.4.14.2 | 03-Dec-2017 |
jdolecek | update from HEAD
|
| 1.4.14.1 | 09-Aug-2016 |
jdolecek | file ext2fs_extents.h was added on branch tls-maxphys on 2017-12-03 11:39:21 +0000
|
| 1.57 | 26-Aug-2023 |
riastradh | ext2fs: Nix trailing whitespace.
|
| 1.56 | 28-May-2017 |
hannken | Change ext2fs to use vcache_new like we did for ffs: - Change ext2fs_valloc to return an inode number. - Make ext2fs_makeinode private to ext2fs_vnops.c and pass vattr instead of mode.
|
| 1.55 | 20-Aug-2016 |
jdolecek | add support for GDT_CSUM AKA uninit_bg feature
|
| 1.54 | 19-Aug-2016 |
jdolecek | fix bug introduced in rev 1.82 of ext2fs_lookup.c, when ext2fs_add_entry() was introduced splitting code from ext2fs_direnter() - code used incorrect new entry size, leading to incomplete entry copy or buffer overflow; fixed by passing the right size from ext2fs_direnter()
|
| 1.53 | 15-Aug-2016 |
jdolecek | adjust ext2fs_makeinode() so that the direnter is optional, use the function (with the direnter off) in ext2fs_mkdir() instead of the code copy; adjust ext2fs_makeinode() to initialize extra_isize and set creation time, if supported by the filesystem
|
| 1.52 | 09-Aug-2016 |
kre | Undo revert now Christos has added the missing glue...
|
| 1.51 | 09-Aug-2016 |
kre | Revert previous. This work isn't complete enough to include yet, and the build of current really does need to go back to a working state.
|
| 1.50 | 09-Aug-2016 |
christos | More htree writing support (Hrishikesh Goyal GSoC 2016)
|
| 1.49 | 24-Jun-2016 |
christos | GSoC 2016 (Hrishikesh Goyal): Htree index support from FreeBSD
|
| 1.48 | 27-Mar-2015 |
riastradh | Disentangle buffer-cached I/O from page-cached I/O in UFS.
Page-cached I/O is used for regular files, and is initiated by VFS users such as userland and NFS.
Buffer-cached I/O is used for directories and symlinks, and is issued only internally by UFS.
New UFS routine ufs_bufio replaces vn_rdwr for internal use. ufs_bufio is implemented by new UFS operations uo_bufrd/uo_bufwr, which sit in ufs_readwrite.c alongside the VOP_READ/VOP_WRITE implementations.
I preserved the code as much as possible and will leave further simplification for future commits. I kept the ulfs_readwrite.c copypasta close to ufs_readwrite.c in case we ever want to merge them back; likewise ext2fs_readwrite.c.
No externally visible semantic change. All atf fs tests still pass.
|
| 1.47 | 25-May-2014 |
hannken | branches: 1.47.4; Remove ext2fs_checkpath(). It is a relic from the pre-genfs_rename era.
|
| 1.46 | 21-Nov-2012 |
jakllsch | branches: 1.46.10; Write support for the Ext4 Read-only Compatible Feature "huge_file".
Primarily, this feature extends the inode block count field to 48 bits. Additionally, this feature allows this field to be represented in file system block size units rather than DEV_BSIZE units.
|
| 1.45 | 17-Nov-2012 |
jakllsch | Match prototype types to function types (u_int64_t vs. uint64_t).
|
| 1.44 | 09-May-2012 |
riastradh | branches: 1.44.2; Adapt ffs, lfs, and ext2fs to use genfs_rename.
ok dholland, rmind
|
| 1.43 | 12-Jul-2011 |
dholland | branches: 1.43.2; 1.43.6; Pass the ufs_lookup_results pointer around instead of fetching it from the inode in the guts of ufs. Now, in VOPs where i_crap is used it is used (directly) only immediately on entry to the VOP call and then passed around by reference.
Except for rename, which needs explicit sorting out. The code in ufs_wapbl_rename is unchanged in behavior but I'm increasingly inclined to think it's wrong.
|
| 1.42 | 21-Oct-2009 |
pooka | update i_uid and i_gid after chown
|
| 1.41 | 19-Oct-2009 |
bouyer | Remove closes 3 & 4 from my licence. Lots of thanks to Soren Jacobsen for the booring work !
|
| 1.40 | 12-Sep-2009 |
tsutsui | Reduce diffs a bit between ext2fs_reload() and ffs_reload().
|
| 1.39 | 28-Jun-2008 |
rumble | branches: 1.39.6; 1.39.14; Create sysctl entries during module initialisation and destroy them appropriately.
Many of these file systems are now ready for modularisation.
|
| 1.38 | 08-Dec-2007 |
pooka | branches: 1.38.12; 1.38.16; 1.38.18; 1.38.20; Remove cn_lwp from struct componentname. curlwp should be used from on. The NDINIT() macro no longer takes the lwp parameter and associates the credentials of the calling thread with the namei structure.
|
| 1.37 | 26-Nov-2007 |
pooka | branches: 1.37.2; Remove the "struct lwp *" argument from all VFS and VOP interfaces. The general trend is to remove it from all kernel interfaces and this is a start. In case the calling lwp is desired, curlwp should be used.
quick consensus on tech-kern
|
| 1.36 | 31-Jul-2007 |
pooka | branches: 1.36.2; 1.36.4; 1.36.10; 1.36.12; * nuke the nameidata parameter from VFS_MOUNT(). Nobody on tech-kern knew what it was supposed to be used for and wrstuden gave a go-ahead * while rototilling, convert file systems which went easily to use VFS_PROTOS() instead of manually prototyping the methods
|
| 1.35 | 12-Jul-2007 |
dsl | branches: 1.35.2; Change the VFS_MOUNT() interface so that the 'data' buffer passed to the fs code is a kernel buffer, pass though the length of the buffer as well. Since the length of the userspace buffer isn'it (yet) passed through the mount system call, add a field to the vfsops structure containing the default length. Split sys_mount() for calls from compat code. Ride one of the recent kernel version changes - old fs LKMs will load, but sys_mount() will reject any attempt to use them.
|
| 1.34 | 13-Jul-2006 |
martin | branches: 1.34.14; Fix alignement problems for fhandle_t, exposed by gcc4.1.
While touching all vptofh/fhtovp functions, get rid of VFS_MAXFIDSIZ, version the getfh(2) syscall and explicitly pass the size available in the filehandle from userland.
Discussed on tech-kern, with lots of help from yamt (thanks!).
|
| 1.33 | 14-May-2006 |
elad | branches: 1.33.4; integrate kauth.
|
| 1.32 | 27-Dec-2005 |
chs | branches: 1.32.4; 1.32.6; 1.32.8; 1.32.10; 1.32.12; changes for making DIAGNOSTIC not change the kernel ABI: - for structure fields that are conditionally present, make those fields always present. - for functions which are conditionally inline, make them never inline. - remove some other functions which are conditionally defined but don't actually do anything anymore. - make a lock-debugging function conditional on only LOCKDEBUG.
as discussed on tech-kern some time back.
|
| 1.31 | 13-Dec-2005 |
christos | add fwd declaration for struct proc. Fixes vax build.
|
| 1.30 | 11-Dec-2005 |
christos | merge ktrace-lwp.
|
| 1.29 | 02-Nov-2005 |
yamt | merge yamt-vop branch. remove following VOPs.
VOP_BLKATOFF VOP_VALLOC VOP_BALLOC VOP_REALLOCBLKS VOP_VFREE VOP_TRUNCATE VOP_UPDATE
|
| 1.28 | 12-Sep-2005 |
christos | branches: 1.28.2; - access the ffs and ext2fs itimes functions through a pointer, so that if the filesystem is not compiled in the kernel still links. Probably a better solution is to use weak symbols. - move the filesystem-specific itime macros to the filesystem header files.
|
| 1.27 | 12-Sep-2005 |
christos | Use nanotime() to update the time fields in filesystems. Convert the code from macros to real functions. Original patch and review from chuq. Note: ext2fs only keeps seconds in the on-disk inode, and msdosfs does not have enough precision for all fields, so this is not very useful for those two.
|
| 1.26 | 30-Aug-2005 |
xtraeme | * Remove __P() * Use ANSI function declarations on ext2fs and mfs
|
| 1.25 | 09-Feb-2005 |
ws | branches: 1.25.6; Add support for large files (>2GB). Like Linux, automagically convert old filesystem to use this, if they are already at revision 1. For revision 0, just punt (unlike Linux; makes me a bit too nervous.)
There should be an option to fsck_ext2fs to upgrade revision 0 to revision 1.
Reviewd by Manuel (bouyer@).
|
| 1.24 | 20-May-2004 |
atatat | branches: 1.24.4; 1.24.6; Tweak sysctl setup functions (the macros, actually) for use in lkms, and tweak lkminit_*.c (where applicable) to call them, and to call sysctl_teardown() when being unloaded.
This consists of (1) making setup functions not be static when being compiled as lkms (change to sys/sysctl.h), (2) making prototypes visible for the various setup functions in header files (changes to various header files), and (3) making simple "load" and "unload" functions in the actual lkminit stuff.
linux_sysctl.c also needs its root exposed (ie, made not static) for this (when built as an lkm).
|
| 1.23 | 21-Apr-2004 |
christos | Replace the statfs() family of system calls with statvfs(). Retain binary compatibility.
|
| 1.22 | 22-Mar-2004 |
bouyer | branches: 1.22.2; Fix disclaimer in my copyright. Pointed out by Thomas Klausner.
|
| 1.21 | 04-Dec-2003 |
atatat | Dynamic sysctl.
Gone are the old kern_sysctl(), cpu_sysctl(), hw_sysctl(), vfs_sysctl(), etc, routines, along with sysctl_int() et al. Now all nodes are registered with the tree, and nodes can be added (or removed) easily, and I/O to and from the tree is handled generically.
Since the nodes are registered with the tree, the mapping from name to number (and back again) can now be discovered, instead of having to be hard coded. Adding new nodes to the tree is likewise much simpler -- the new infrastructure handles almost all the work for simple types, and just about anything else can be done with a small helper function.
All existing nodes are where they were before (numerically speaking), so all existing consumers of sysctl information should notice no difference.
PS - I'm sorry, but there's a distinct lack of documentation at the moment. I'm working on sysctl(3/8/9) right now, and I promise to watch out for buses.
|
| 1.20 | 05-Oct-2003 |
bouyer | Remove references to University of California from my copyright notices.
|
| 1.19 | 07-Aug-2003 |
agc | Move UCB-licensed code from 4-clause to 3-clause licence.
Patches provided by Joel Baker in PR 22364, verified by myself.
|
| 1.18 | 29-Jun-2003 |
fvdl | branches: 1.18.2; Back out the lwp/ktrace changes. They contained a lot of colateral damage, and need to be examined and discussed more.
|
| 1.17 | 29-Jun-2003 |
thorpej | Undo part of the ktrace/lwp changes. In particular: * Remove the "lwp *" argument that was added to vget(). Turns out that nothing actually used it! * Remove the "lwp *" arguments that were added to VFS_ROOT(), VFS_VGET(), and VFS_FHTOVP(); all they did was pass it to vget() (which, as noted above, didn't use it). * Remove all of the "lwp *" arguments to internal functions that were added just to appease the above.
|
| 1.16 | 28-Jun-2003 |
darrenr | Pass lwp pointers throughtout the kernel, as required, so that the lwpid can be inserted into ktrace records. The general change has been to replace "struct proc *" with "struct lwp *" in various function prototypes, pass the lwp through and use l_proc to get the process pointer when needed.
Bump the kernel rev up to 1.6V
|
| 1.15 | 26-May-2003 |
fvdl | free the ext2fs dinode struct in ext2fs_reclaim. From Ted Unangst.
|
| 1.14 | 24-Jan-2003 |
fvdl | Bump daddr_t to 64 bits. Replace it with int32_t in all places where it was used on-disk, so that on-disk formats remain the same. Remove ufs_daddr_t and ufs_lbn_t for the time being.
|
| 1.13 | 01-Dec-2002 |
matt | Add multiple inclusion protection for headers. Fix mismatched variable declarations (missing const's) as needed.
|
| 1.12 | 26-Sep-2002 |
jdolecek | use ufs_balloc_range() rather than local (mostly identical, but with some bugs) ext2fs variant
|
| 1.11 | 15-Sep-2001 |
chs | a whole bunch of changes to improve performance and robustness under load:
- remove special treatment of pager_map mappings in pmaps. this is required now, since I've removed the globals that expose the address range. pager_map now uses pmap_kenter_pa() instead of pmap_enter(), so there's no longer any need to special-case it. - eliminate struct uvm_vnode by moving its fields into struct vnode. - rewrite the pageout path. the pager is now responsible for handling the high-level requests instead of only getting control after a bunch of work has already been done on its behalf. this will allow us to UBCify LFS, which needs tighter control over its pages than other filesystems do. writing a page to disk no longer requires making it read-only, which allows us to write wired pages without causing all kinds of havoc. - use a new PG_PAGEOUT flag to indicate that a page should be freed on behalf of the pagedaemon when it's unlocked. this flag is very similar to PG_RELEASED, but unlike PG_RELEASED, PG_PAGEOUT can be cleared if the pageout fails due to eg. an indirect-block buffer being locked. this allows us to remove the "version" field from struct vm_page, and together with shrinking "loan_count" from 32 bits to 16, struct vm_page is now 4 bytes smaller. - no longer use PG_RELEASED for swap-backed pages. if the page is busy because it's being paged out, we can't release the swap slot to be reallocated until that write is complete, but unlike with vnodes we don't keep a count of in-progress writes so there's no good way to know when the write is done. instead, when we need to free a busy swap-backed page, just sleep until we can get it busy ourselves. - implement a fast-path for extending writes which allows us to avoid zeroing new pages. this substantially reduces cpu usage. - encapsulate the data used by the genfs code in a struct genfs_node, which must be the first element of the filesystem-specific vnode data for filesystems which use genfs_{get,put}pages(). - eliminate many of the UVM pagerops, since they aren't needed anymore now that the pager "put" operation is a higher-level operation. - enhance the genfs code to allow NFS to use the genfs_{get,put}pages instead of a modified copy. - clean up struct vnode by removing all the fields that used to be used by the vfs_cluster.c code (which we don't use anymore with UBC). - remove kmem_object and mb_object since they were useless. instead of allocating pages to these objects, we now just allocate pages with no object. such pages are mapped in the kernel until they are freed, so we can use the mapping to find the page to free it. this allows us to remove splvm() protection in several places.
The sum of all these changes improves write throughput on my decstation 5000/200 to within 1% of the rate of NetBSD 1.5 and reduces the elapsed time for "make release" of a NetBSD 1.5 source tree on my 128MB pc to 10% less than a 1.5 kernel took.
|
| 1.10 | 15-Sep-2001 |
chs | add a new VFS op, vfs_reinit, which is called when desiredvnodes is adjusted via sysctl. file systems that have hash tables which are sized based on the value of this variable now resize those hash tables using the new value. the max number of FFS softdeps is also recalculated.
convert various file systems to use the <sys/queue.h> macros for their hash tables.
|
| 1.9 | 27-Nov-2000 |
chs | branches: 1.9.2; 1.9.6; 1.9.8; Initial integration of the Unified Buffer Cache project.
|
| 1.8 | 16-Mar-2000 |
jdolecek | Add new VFS op routine - vfs_done and call it on filesystem detach in vfs_detach(). vfs_done may free global filesystem's resources, typically those allocated in respective filesystem's init function. Needed so those filesystems which went in via LKM have a chance to clean after themselves before unloading. This fixes random panics when LKM for filesystem using pools was loaded and unloaded several times.
For each leaf filesystem, add appropriate vfs_done routine.
|
| 1.7 | 26-Feb-1999 |
wrstuden | branches: 1.7.4; 1.7.8; Modify vfsops to seperate vfs_fhtovp() into two routines. vfs_fhtovp() now only handles the file handle to vnode conversion, and a new call, vfs_checkexp(), performs the export verification.
|
| 1.6 | 01-Sep-1998 |
thorpej | Use the pool allocator and "nointr" pool page allocator for ext2fs inodes.
|
| 1.5 | 24-Jun-1998 |
sommerfe | Always include fifos; "not an option any more".
|
| 1.4 | 23-Jun-1998 |
sommerfe | Don't include opt_fifo.h if not kernel...
|
| 1.3 | 22-Jun-1998 |
sommerfe | defopt for options FIFO
|
| 1.2 | 01-Mar-1998 |
fvdl | Merge with Lite2 + local changes
|
| 1.1 | 11-Jun-1997 |
bouyer | The ext2fs layer, based on the ffs/ufs one. Uses a few functions from sys/ufs/ufs/
|
| 1.7.8.2 | 08-Dec-2000 |
bouyer | Sync with HEAD.
|
| 1.7.8.1 | 20-Nov-2000 |
bouyer | Update thorpej_scsipi to -current as of a month ago
|
| 1.7.4.1 | 06-Aug-1999 |
chs | UBCify.
|
| 1.9.8.1 | 01-Oct-2001 |
fvdl | Catch up with -current.
|
| 1.9.6.2 | 10-Oct-2002 |
jdolecek | sync kqueue with -current; this includes merge of gehenna-devsw branch, merge of i386 MP branch, and part of autoconf rototil work
|
| 1.9.6.1 | 10-Jan-2002 |
thorpej | Sync kqueue branch with -current.
|
| 1.9.2.3 | 11-Dec-2002 |
thorpej | Sync with HEAD.
|
| 1.9.2.2 | 18-Oct-2002 |
nathanw | Catch up to -current.
|
| 1.9.2.1 | 21-Sep-2001 |
nathanw | Catch up to -current.
|
| 1.18.2.8 | 10-Nov-2005 |
skrll | Sync with HEAD. Here we go again...
|
| 1.18.2.7 | 15-Feb-2005 |
skrll | Sync with HEAD.
|
| 1.18.2.6 | 29-Oct-2004 |
skrll | Remove the struct lwp * argument from ext2f2_checkpath that is no longer (read: was never) required.
|
| 1.18.2.5 | 21-Sep-2004 |
skrll | Fix the sync with head I botched.
|
| 1.18.2.4 | 18-Sep-2004 |
skrll | Sync with HEAD.
|
| 1.18.2.3 | 24-Aug-2004 |
skrll | Undo part of the ktrace/lwp changes. In particular: * Remove the "lwp *" argument that was added to vget(). Turns out that nothing actually used it! * Remove the "lwp *" arguments that were added to VFS_ROOT(), VFS_VGET(), and VFS_FHTOVP(); all they did was pass it to vget() (which, as noted above, didn't use it). * Remove all of the "lwp *" arguments to internal functions that were added just to appease the above.
|
| 1.18.2.2 | 03-Aug-2004 |
skrll | Sync with HEAD
|
| 1.18.2.1 | 02-Jul-2003 |
darrenr | Apply the aborted ktrace-lwp changes to a specific branch. This is just for others to review, I'm concerned that patch fuziness may have resulted in some errant code being generated but I'll look at that later by comparing the diff from the base to the branch with the file I attempt to apply to it. This will, at the very least, put the changes in a better context for others to review them and attempt to tinker with removing passing of 'struct lwp' through the kernel.
|
| 1.22.2.1 | 23-May-2004 |
tron | Pull up revision 1.24 (requested by atatat in ticket #374): Tweak sysctl setup functions (the macros, actually) for use in lkms, and tweak lkminit_*.c (where applicable) to call them, and to call sysctl_teardown() when being unloaded. This consists of (1) making setup functions not be static when being compiled as lkms (change to sys/sysctl.h), (2) making prototypes visible for the various setup functions in header files (changes to various header files), and (3) making simple "load" and "unload" functions in the actual lkminit stuff. linux_sysctl.c also needs its root exposed (ie, made not static) for this (when built as an lkm).
|
| 1.24.6.1 | 12-Feb-2005 |
yamt | sync with head.
|
| 1.24.4.1 | 29-Apr-2005 |
kent | sync with -current
|
| 1.25.6.5 | 21-Jan-2008 |
yamt | sync with head
|
| 1.25.6.4 | 07-Dec-2007 |
yamt | sync with head
|
| 1.25.6.3 | 03-Sep-2007 |
yamt | sync with head.
|
| 1.25.6.2 | 30-Dec-2006 |
yamt | sync with head.
|
| 1.25.6.1 | 21-Jun-2006 |
yamt | sync with head.
|
| 1.28.2.1 | 20-Oct-2005 |
yamt | adapt ufs.
|
| 1.32.12.1 | 24-May-2006 |
tron | Merge 2006-05-24 NetBSD-current into the "peter-altq" branch.
|
| 1.32.10.3 | 06-May-2006 |
christos | - Move kauth_cred_t declaration to <sys/types.h> - Cleanup struct ucred; forward declarations that are unused. - Don't include <sys/kauth.h> in any header, but include it in the c files that need it.
Approved by core.
|
| 1.32.10.2 | 20-Apr-2006 |
christos | use struct kauth_cred instead of kauth_cred_t so that we don't need kauth.h
|
| 1.32.10.1 | 08-Mar-2006 |
elad | Adapt to kernel authorization KPI.
|
| 1.32.8.2 | 11-Aug-2006 |
yamt | sync with head
|
| 1.32.8.1 | 24-May-2006 |
yamt | sync with head.
|
| 1.32.6.1 | 01-Jun-2006 |
kardel | Sync with head.
|
| 1.32.4.1 | 09-Sep-2006 |
rpaulo | sync with head
|
| 1.33.4.1 | 13-Jul-2006 |
gdamore | Merge from HEAD.
|
| 1.34.14.2 | 20-Aug-2007 |
ad | Sync with HEAD.
|
| 1.34.14.1 | 15-Jul-2007 |
ad | Sync with head.
|
| 1.35.2.1 | 15-Aug-2007 |
skrll | Sync with HEAD.
|
| 1.36.12.2 | 31-Jul-2007 |
pooka | * nuke the nameidata parameter from VFS_MOUNT(). Nobody on tech-kern knew what it was supposed to be used for and wrstuden gave a go-ahead * while rototilling, convert file systems which went easily to use VFS_PROTOS() instead of manually prototyping the methods
|
| 1.36.12.1 | 31-Jul-2007 |
pooka | file ext2fs_extern.h was added on branch matt-mips64 on 2007-07-31 21:14:20 +0000
|
| 1.36.10.2 | 27-Dec-2007 |
mjf | Sync with HEAD.
|
| 1.36.10.1 | 08-Dec-2007 |
mjf | Sync with HEAD.
|
| 1.36.4.1 | 09-Jan-2008 |
matt | sync with HEAD
|
| 1.36.2.2 | 09-Dec-2007 |
jmcneill | Sync with HEAD.
|
| 1.36.2.1 | 27-Nov-2007 |
joerg | Sync with HEAD. amd64 Xen support needs testing.
|
| 1.37.2.1 | 26-Dec-2007 |
ad | Sync with head.
|
| 1.38.20.1 | 03-Jul-2008 |
simonb | Sync with head.
|
| 1.38.18.1 | 18-Sep-2008 |
wrstuden | Sync with wrstuden-revivesa-base-2.
|
| 1.38.16.3 | 11-Mar-2010 |
yamt | sync with head
|
| 1.38.16.2 | 16-Sep-2009 |
yamt | sync with head
|
| 1.38.16.1 | 04-May-2009 |
yamt | sync with head.
|
| 1.38.12.1 | 29-Jun-2008 |
mjf | Sync with HEAD.
|
| 1.39.14.1 | 21-Apr-2010 |
matt | sync to netbsd-5
|
| 1.39.6.1 | 27-Oct-2009 |
bouyer | Pull up following revision(s) (requested by pooka in ticket #1112): sys/ufs/ext2fs/ext2fs_vnops.c: revision 1.91 sys/ufs/ext2fs/ext2fs_vfsops.c: revision 1.152 sys/ufs/ext2fs/ext2fs_extern.h: revision 1.42 update i_uid and i_gid after chown
|
| 1.43.6.1 | 02-Jun-2012 |
mrg | sync to latest -current.
|
| 1.43.2.2 | 16-Jan-2013 |
yamt | sync with (a bit old) head
|
| 1.43.2.1 | 23-May-2012 |
yamt | sync with head.
|
| 1.44.2.4 | 03-Dec-2017 |
jdolecek | update from HEAD
|
| 1.44.2.3 | 20-Aug-2014 |
tls | Rebase to HEAD as of a few days ago.
|
| 1.44.2.2 | 25-Feb-2013 |
tls | resync with head
|
| 1.44.2.1 | 20-Nov-2012 |
tls | Resync to 2012-11-19 00:00:00 UTC
|
| 1.46.10.1 | 10-Aug-2014 |
tls | Rebase.
|
| 1.47.4.4 | 28-Aug-2017 |
skrll | Sync with HEAD
|
| 1.47.4.3 | 05-Oct-2016 |
skrll | Sync with HEAD
|
| 1.47.4.2 | 09-Jul-2016 |
skrll | Sync with HEAD
|
| 1.47.4.1 | 06-Apr-2015 |
skrll | Sync with HEAD
|
| 1.2 | 13-Aug-2016 |
christos | branches: 1.2.14; KNF, no functional changes...
|
| 1.1 | 24-Jun-2016 |
christos | branches: 1.1.2; GSoC 2016 (Hrishikesh Goyal): Htree index support from FreeBSD
|
| 1.1.2.3 | 05-Oct-2016 |
skrll | Sync with HEAD
|
| 1.1.2.2 | 09-Jul-2016 |
skrll | Sync with HEAD
|
| 1.1.2.1 | 24-Jun-2016 |
skrll | file ext2fs_hash.c was added on branch nick-nhusb on 2016-07-09 20:25:24 +0000
|
| 1.2.14.2 | 03-Dec-2017 |
jdolecek | update from HEAD
|
| 1.2.14.1 | 13-Aug-2016 |
jdolecek | file ext2fs_hash.c was added on branch tls-maxphys on 2017-12-03 11:39:21 +0000
|
| 1.1 | 24-Jun-2016 |
christos | branches: 1.1.2; 1.1.18; GSoC 2016 (Hrishikesh Goyal): Htree index support from FreeBSD
|
| 1.1.18.2 | 03-Dec-2017 |
jdolecek | update from HEAD
|
| 1.1.18.1 | 24-Jun-2016 |
jdolecek | file ext2fs_hash.h was added on branch tls-maxphys on 2017-12-03 11:39:21 +0000
|
| 1.1.2.2 | 09-Jul-2016 |
skrll | Sync with HEAD
|
| 1.1.2.1 | 24-Jun-2016 |
skrll | file ext2fs_hash.h was added on branch nick-nhusb on 2016-07-09 20:25:24 +0000
|
| 1.11 | 26-Aug-2023 |
riastradh | ext2fs: Nix trailing whitespace.
|
| 1.10 | 04-May-2022 |
andvar | s/entires/entries/ in local variable definition.
|
| 1.9 | 23-Aug-2016 |
christos | branches: 1.9.14; CID 1371645: remove dead code
|
| 1.8 | 20-Aug-2016 |
jdolecek | whitespace fix
|
| 1.7 | 19-Aug-2016 |
jdolecek | fix bug introduced in rev 1.82 of ext2fs_lookup.c, when ext2fs_add_entry() was introduced splitting code from ext2fs_direnter() - code used incorrect new entry size, leading to incomplete entry copy or buffer overflow; fixed by passing the right size from ext2fs_direnter()
|
| 1.6 | 14-Aug-2016 |
jdolecek | switch ext2fs_htree_has_idx() over to EXT2F_HAS_COMPAT_FEATURE() and remove EXT2F_HAS_COMPAT_FEATURE() - this also fixes it for BE machines, as EXT2F_HAS_COMPAT_FEATURE() did extra byte swap; also remove XXX comment about IN_E3INDEX
|
| 1.5 | 13-Aug-2016 |
christos | KNF, no functional changes...
|
| 1.4 | 09-Aug-2016 |
kre | Undo revert now Christos has added the missing glue...
|
| 1.3 | 09-Aug-2016 |
kre | Revert previous. This work isn't complete enough to include yet, and the build of current really does need to go back to a working state.
|
| 1.2 | 09-Aug-2016 |
christos | More htree writing support (Hrishikesh Goyal GSoC 2016)
|
| 1.1 | 24-Jun-2016 |
christos | branches: 1.1.2; GSoC 2016 (Hrishikesh Goyal): Htree index support from FreeBSD
|
| 1.1.2.3 | 05-Oct-2016 |
skrll | Sync with HEAD
|
| 1.1.2.2 | 09-Jul-2016 |
skrll | Sync with HEAD
|
| 1.1.2.1 | 24-Jun-2016 |
skrll | file ext2fs_htree.c was added on branch nick-nhusb on 2016-07-09 20:25:24 +0000
|
| 1.9.14.2 | 03-Dec-2017 |
jdolecek | update from HEAD
|
| 1.9.14.1 | 23-Aug-2016 |
jdolecek | file ext2fs_htree.c was added on branch tls-maxphys on 2017-12-03 11:39:21 +0000
|
| 1.1 | 24-Jun-2016 |
christos | branches: 1.1.2; 1.1.18; GSoC 2016 (Hrishikesh Goyal): Htree index support from FreeBSD
|
| 1.1.18.2 | 03-Dec-2017 |
jdolecek | update from HEAD
|
| 1.1.18.1 | 24-Jun-2016 |
jdolecek | file ext2fs_htree.h was added on branch tls-maxphys on 2017-12-03 11:39:21 +0000
|
| 1.1.2.2 | 09-Jul-2016 |
skrll | Sync with HEAD
|
| 1.1.2.1 | 24-Jun-2016 |
skrll | file ext2fs_htree.h was added on branch nick-nhusb on 2016-07-09 20:25:24 +0000
|
| 1.91 | 26-Aug-2023 |
riastradh | ext2fs: Nix trailing whitespace.
|
| 1.90 | 17-Aug-2021 |
andvar | fix multiplei repetitive typos in comments, messages and documentation. mainly because copy paste code big amount of files are affected.
|
| 1.89 | 23-Apr-2020 |
ad | PR kern/54759 (vm.ubc_direct deadlock when read()/write() into mapping of itself)
- Add new flag UBC_ISMAPPED which tells ubc_uiomove() the object is mmap()ed somewhere. Use it to decide whether to do direct-mapped copy, rather than poking around directly in the vnode in ubc_uiomove(), which is ugly and doesn't work for tmpfs. It would be nicer to contain all this in UVM but the filesystem provides the needed locking here (VV_MAPPED) and to reinvent that would suck more.
- Rename UBC_UNMAP_FLAG() to UBC_VNODE_FLAGS(). Pass in UBC_ISMAPPED where appropriate.
|
| 1.88 | 26-May-2017 |
riastradh | branches: 1.88.20; Eliminate crusty debugging sludge.
We have a mostly sane vnode lifecycle now. If this needs debugging, it should be done once at the call site of VOP_RECLAIM.
|
| 1.87 | 11-Apr-2017 |
riastradh | Make VOP_INACTIVE preserve vnode lock on return.
Discussed on tech-kern: https://mail-index.netbsd.org/tech-kern/2017/04/01/msg021751.html
Ride 7.99.68, a bumpy bus of incremental vfs improvements!
|
| 1.86 | 14-Aug-2016 |
jdolecek | branches: 1.86.2; switch code to use the EXT2_HAS_{COMPAT|ROCOMPAT|INCOMPAT}_FEATURE() macros instead of open coding the checks
|
| 1.85 | 13-Aug-2016 |
christos | KNF, no functional changes...
|
| 1.84 | 04-Aug-2016 |
jdolecek | rename struct ext2fs_dinode attribute e2di_dacl to correct e2di_size_high; even Linux ext2 filesystem code actually uses it unconditionally this way and ext4 code finally also calls it that way in their struct definition too; if there was any trace of this for other purpose it's long gone
|
| 1.83 | 03-Aug-2016 |
jdolecek | support arbitrary ext3/ext4 inode size, add all the new ext4 fields ext2fs_dinode, and add support for loading the extra inode data
|
| 1.82 | 28-Mar-2015 |
maxv | branches: 1.82.2; Remove the 'cred' argument from bread(). Remove a now unused var in ffs_snapshot.c. Update the man page accordingly.
ok hannken@
|
| 1.81 | 23-Jun-2013 |
dholland | branches: 1.81.10; Stick ffs_, ext2_, chfs_, filecore_, cd9660_, or mfs_ in front of the following symbols so as to disambiguate fully. (Christos already did the lfs ones.)
lblkno lblktosize lfragtosize numfrags blkroundup fragroundup
|
| 1.80 | 23-Jun-2013 |
dholland | fsbtodb() -> FFS_FSBTODB(), EXT2_FSBTODB(), or MFS_FSBTODB() dbtofsb() -> FFS_DBTOFSB() or EXT2_DBTOFSB()
(Christos already did the lfs ones a few days back)
|
| 1.79 | 19-Jun-2013 |
dholland | Rename ambiguous macros: MAXDIRSIZE -> UFS_MAXDIRSIZE or LFS_MAXDIRSIZE NINDIR -> FFS_NINDIR, EXT2_NINDIR, LFS_NINDIR, or MFS_NINDIR INOPB -> FFS_INOPB, LFS_INOPB INOPF -> FFS_INOPF, LFS_INOPF blksize -> ffs_blksize, ext2_blksize, or lfs_blksize sblksize -> ffs_blksize
These are not the only ambiguously defined filesystem macros, of course, there's a pile more. I may not have found all the ambiguous definitions of blksize(), too, as there are a lot of other things called 'blksize' in the system.
|
| 1.78 | 22-Jan-2013 |
dholland | Stuff UFS_ in front of a few of ufs's symbols to reduce namespace pollution. Specifically: ROOTINO -> UFS_ROOTINO WINO -> UFS_WINO NXADDR -> UFS_NXADDR NDADDR -> UFS_NDADDR NIADDR -> UFS_NIADDR MAXSYMLINKLEN -> UFS_MAXSYMLINKLEN MAXSYMLINKLEN_UFS[12] -> UFS[12]_MAXSYMLINKLEN (for consistency)
Sort out ext2fs's misuse of NDADDR and NIADDR; fortunately, these have the same values in ext2fs and ffs.
No functional change intended.
|
| 1.77 | 20-Dec-2012 |
hannken | Change bread() and breadn() to never return a buffer on error and modify all callers to not brelse() on error.
Welcome to 6.99.16
PR kern/46282 (6.0_BETA crash: msdosfs_bmap -> pcbmap -> bread -> bio_doread)
|
| 1.76 | 21-Nov-2012 |
jakllsch | Write support for the Ext4 Read-only Compatible Feature "huge_file".
Primarily, this feature extends the inode block count field to 48 bits. Additionally, this feature allows this field to be represented in file system block size units rather than DEV_BSIZE units.
|
| 1.75 | 27-Jan-2012 |
para | branches: 1.75.6; converting readdir in ffs ext2fs from malloc(9) to kmem(9) while there allocate ufs mount structs from kmem(9) too preceding kmem-vmem-pool-patch
releng@ acknowledged
|
| 1.74 | 16-Jun-2011 |
hannken | branches: 1.74.2; 1.74.6; Rename uvm_vnp_zerorange(struct vnode *, off_t, size_t) to ubc_zerorange(struct uvm_object *, off_t, size_t, int) changing the first argument to an uvm_object and adding a flags argument.
Modify tmpfs_reg_resize() to zero the backing store (aobj) instead of the vnode. Ubc_purge() no longer panics when unmounting tmpfs.
Keep uvm_vnp_zerorange() until the next kernel version bump.
|
| 1.73 | 28-Jul-2010 |
hannken | branches: 1.73.6; ext2fs,ffs: free on disk inodes in the reclaim routine. Remove now unneeded vnode flag VI_FREEING.
Welcome to 5.99.38.
Ok: Andrew Doran <ad@netbsd.org>
|
| 1.72 | 24-Jun-2010 |
hannken | Clean up vnode lock operations pass 2:
VOP_UNLOCK(vp, flags) -> VOP_UNLOCK(vp): Remove the unneeded flags argument.
Welcome to 5.99.32.
Discussed on tech-kern.
|
| 1.71 | 07-Feb-2010 |
bouyer | branches: 1.71.2; 1.71.4; - ufs_balloc_range(): on error, only PG_RELEASED the pages that were allocated to extend the file to the new size. Releasing all pages may release pages that contains previously-written data not yet flushed to disk. Should fix PR kern/35704 - {ffs,lfs,ext2fs}_truncate(): Even if the inode's size is the same as the new length, call uvm_vnp_setsize(). *_truncate() may have been called by *_write() in the error path (e.g. block allocation failure because of quota of file system full), and at this point v_writesize has been set to the desired size of the file and not reverted to the old size. Not adjusting v_writesize to the real size cause genfs_do_io() to write to disk past the real end of the file.
|
| 1.70 | 19-Oct-2009 |
bouyer | Remove closes 3 & 4 from my licence. Lots of thanks to Soren Jacobsen for the booring work !
|
| 1.69 | 12-Sep-2009 |
tsutsui | Migrate from u_intNN_t to uintNN_t.
|
| 1.68 | 01-Mar-2009 |
christos | PR/40936: Frederik Sausmikat: ext2fs: add support for inodes > 128 bytes
|
| 1.67 | 17-Dec-2008 |
cegger | branches: 1.67.2; kill MALLOC and FREE macros.
|
| 1.66 | 16-May-2008 |
hannken | branches: 1.66.6; 1.66.8; 1.66.14; Make sure all cached buffers with valid, not yet written data have been run through copy-on-write. Call fscow_run() with valid data where possible.
The LP_UFSCOW hack is no longer needed to protect ffs_copyonwrite() against endless recursion.
- Add a flag B_MODIFY to bread(), breada() and breadn(). If set the caller intends to modify the buffer returned.
- Always run copy-on-write on buffers returned from ffs_balloc().
- Add new function ffs_getblk() that gets a buffer, assigns a new blkno, may clear the buffer and runs copy-on-write. Process possible errors from getblk() or fscow_run(). Part of PR kern/38664.
Welcome to 4.99.63
Reviewed by: YAMAMOTO Takashi <yamt@netbsd.org>
|
| 1.65 | 27-Mar-2008 |
ad | branches: 1.65.2; 1.65.4; 1.65.6; Make rusage collection per-LWP and collate in the appropriate places. cloned threads need a little bit more work but the locking needs to be fixed first.
|
| 1.64 | 09-Jan-2008 |
ad | branches: 1.64.6; Go back to freeing on disk inodes in the inactive routine. It would be better not to do this, but it rules out potential side effects with softdep.
|
| 1.63 | 02-Jan-2008 |
ad | Merge vmlocking2 to head.
|
| 1.62 | 08-Dec-2007 |
pooka | branches: 1.62.4; Remove cn_lwp from struct componentname. curlwp should be used from on. The NDINIT() macro no longer takes the lwp parameter and associates the credentials of the calling thread with the namei structure.
|
| 1.61 | 26-Nov-2007 |
pooka | branches: 1.61.2; Remove the "struct lwp *" argument from all VFS and VOP interfaces. The general trend is to remove it from all kernel interfaces and this is a start. In case the calling lwp is desired, curlwp should be used.
quick consensus on tech-kern
|
| 1.60 | 08-Oct-2007 |
ad | branches: 1.60.4; Merge ffs locking & brelse changes from the vmlocking branch.
|
| 1.59 | 05-Jun-2007 |
yamt | branches: 1.59.6; 1.59.8; 1.59.10; improve post-ubc file overwrite performance in common cases. ie. when it's safe, actually overwrite blocks rather than doing read-modify-write.
also fixes PR/33152 and PR/36303.
|
| 1.58 | 07-Apr-2007 |
hannken | Remove calls to now obsolete vn_start_write() and vn_finished_write().
|
| 1.57 | 04-Mar-2007 |
christos | branches: 1.57.2; 1.57.4; Kill caddr_t; there will be some MI fallout, but it will be fixed shortly.
|
| 1.56 | 09-Dec-2006 |
chs | branches: 1.56.2; several ext2fs fixes provided by Barry Bouwsma: - set ip->i_e2fs_dtime to time_second, not time_uptime. - don't allow ipref to go negative - fs->e2fs.e2fs_icount is a valid inode number, allow it.
|
| 1.55 | 07-Jun-2006 |
kardel | branches: 1.55.6; 1.55.8; 1.55.10; merge FreeBSD timecounters from branch simonb-timecounters - struct timeval time is gone time.tv_sec -> time_second - struct timeval mono_time is gone mono_time.tv_sec -> time_uptime - access to time via {get,}{micro,nano,bin}time() get* versions are fast but less precise - support NTP nanokernel implementation (NTP API 4) - further reading: Timecounter Paper: http://phk.freebsd.dk/pubs/timecounter.pdf NTP Nanokernel: http://www.eecis.udel.edu/~mills/ntp/html/kern.html
|
| 1.54 | 14-May-2006 |
elad | branches: 1.54.2; integrate kauth.
|
| 1.53 | 17-Mar-2006 |
christos | don't use MALLOC with a non-constant size; use malloc instead.
|
| 1.52 | 11-Dec-2005 |
christos | branches: 1.52.4; 1.52.6; 1.52.8; 1.52.10; 1.52.12; merge ktrace-lwp.
|
| 1.51 | 11-Nov-2005 |
yamt | - ignore truncation for VCHR/VBLK/VFIFO as it used to be before yamt-vop merge. PR/32049 from Atsushi Onoe. - reject setattr which attempts to change size of VLNK/VSOCK.
|
| 1.50 | 02-Nov-2005 |
yamt | merge yamt-vop branch. remove following VOPs.
VOP_BLKATOFF VOP_VALLOC VOP_BALLOC VOP_REALLOCBLKS VOP_VFREE VOP_TRUNCATE VOP_UPDATE
|
| 1.49 | 26-Sep-2005 |
yamt | branches: 1.49.2; always use nanotime rather than time. it's bad to mix nanotime and time because it sometimes make timestamps go backwards.
|
| 1.48 | 12-Sep-2005 |
christos | Use nanotime() to update the time fields in filesystems. Convert the code from macros to real functions. Original patch and review from chuq. Note: ext2fs only keeps seconds in the on-disk inode, and msdosfs does not have enough precision for all fields, so this is not very useful for those two.
|
| 1.47 | 30-Aug-2005 |
xtraeme | * Remove __P() * Use ANSI function declarations on ext2fs and mfs
|
| 1.46 | 28-Jun-2005 |
kml | branches: 1.46.2; Ensure that we change the size of the vnode at the same time as we change the size of the inode, and use ext2fs_size uniformly. This fixes a crash that occurs when I create a directory, then move it, all on an ext2 filesystem.
|
| 1.45 | 26-Feb-2005 |
perry | nuke trailing whitespace
|
| 1.44 | 09-Feb-2005 |
ws | Add support for large files (>2GB). Like Linux, automagically convert old filesystem to use this, if they are already at revision 1. For revision 0, just punt (unlike Linux; makes me a bit too nervous.)
There should be an option to fsck_ext2fs to upgrade revision 0 to revision 1.
Reviewd by Manuel (bouyer@).
|
| 1.43 | 15-Aug-2004 |
mycroft | branches: 1.43.4; 1.43.6; Fixing age old cruft: * Rather than using mnt_maxsymlinklen to indicate that a file systems returns d_type fields(!), add a new internal flag, IMNT_DTYPE.
Add 3 new elements to ufsmount: * um_maxsymlinklen, replaces mnt_maxsymlinklen (which never should have existed in the first place). * um_dirblksiz, which tracks the current directory block size, eliminating the FS-specific checks littered throughout the code. This may be used later to make the block size variable. * um_maxfilesize, which is the maximum file size, possibly adjusted lower due to implementation issues.
Sync some bug fixes from FFS into ext2fs, particularly: * ffs_lookup.c 1.21, 1.28, 1.33, 1.48 * ffs_inode.c 1.43, 1.44, 1.45, 1.66, 1.67 * ffs_vnops.c 1.84, 1.85, 1.86
Clean up some crappy pointer frobnication.
|
| 1.42 | 14-Aug-2004 |
mycroft | Push atime/mtime updates even further -- into the reclaim path, so they happen rarely in the normal case. (Note: This happens at reboot/shutdown time because all file systems are unmounted.)
Also, for IN_MODIFY, use IN_ACCESSED, not IN_MODIFIED; otherwise "ls -l" of your device node or FIFO would cause the time stamps to get written too quickly.
|
| 1.41 | 14-Aug-2004 |
mycroft | Add a new flag, IN_MODIFY. This is like IN_UPDATE|IN_CHANGE, but unlike setting those flags, it does not cause the inode to be written in the periodic sync. This is used for writes to special files (devices and named pipes) and FIFOs.
Do not preemptively sync updates to access times and modification times. They are now updated in the inode only opportunistically, or when the file or device is closed. (Really, it should be delayed beyond close, but this is enough to help substantially with device nodes.)
And the most amusing part: Trickle sync was broken on both FFS and ext2fs, in different ways. In FFS, the periodic call to VFS_SYNC(MNT_LAZY) was still causing all file data to be synced. In ext2fs, it was causing the metadata to *not* be synced. We now only call VOP_UPDATE() on the node if we're doing MNT_LAZY. I've confirmed that we do in fact trickle correctly now.
|
| 1.40 | 22-Mar-2004 |
bouyer | Fix disclaimer in my copyright. Pointed out by Thomas Klausner.
|
| 1.39 | 25-Jan-2004 |
hannken | Make VOP_STRATEGY(bp) a real VOP as discussed on tech-kern.
VOP_STRATEGY(bp) is replaced by one of two new functions:
- VOP_STRATEGY(vp, bp) Call the strategy routine of vp for bp. - DEV_STRATEGY(bp) Call the d_strategy routine of bp->b_dev for bp.
DEV_STRATEGY(bp) is used only for block-to-block device situations.
|
| 1.38 | 05-Nov-2003 |
hannken | Clean up the usage of vn_start_write(). At least one occurence clobbered previous error conditions. If "(flags & (V_WAIT|V_PCATCH)) == V_WAIT" the return value is always zero. Ignore the return value in these cases.
From Darrin B. Jewell.
|
| 1.37 | 15-Oct-2003 |
hannken | Add the gating of system calls that cause modifications to the underlying file system. The function vfs_write_suspend stops all new write operations to a file system, allows any file system modifying system calls already in progress to complete, then sync's the file system to disk and returns. The function vfs_write_resume allows the suspended write operations to complete.
From FreeBSD with slight modifications.
Approved by: Frank van der Linden <fvdl@netbsd.org>
|
| 1.36 | 05-Oct-2003 |
bouyer | Remove references to University of California from my copyright notices.
|
| 1.35 | 07-Aug-2003 |
agc | Move UCB-licensed code from 4-clause to 3-clause licence.
Patches provided by Joel Baker in PR 22364, verified by myself.
|
| 1.34 | 29-Jun-2003 |
fvdl | branches: 1.34.2; Back out the lwp/ktrace changes. They contained a lot of colateral damage, and need to be examined and discussed more.
|
| 1.33 | 28-Jun-2003 |
darrenr | Pass lwp pointers throughtout the kernel, as required, so that the lwpid can be inserted into ktrace records. The general change has been to replace "struct proc *" with "struct lwp *" in various function prototypes, pass the lwp through and use l_proc to get the process pointer when needed.
Bump the kernel rev up to 1.6V
|
| 1.32 | 02-Apr-2003 |
he | In the inode, i_din.e2fs_din is now a pointer, so there is no longer a need to take the address here.
|
| 1.31 | 02-Apr-2003 |
fvdl | Add support for UFS2. UFS2 is an enhanced FFS, adding support for 64 bit block pointers, extended attribute storage, and a few other things.
This commit does not yet include the code to manipulate the extended storage (for e.g. ACLs), this will be done later.
Originally written by Kirk McKusick and Network Associates Laboratories for FreeBSD.
|
| 1.30 | 25-Jan-2003 |
fvdl | The oldblks and newblks arrays are used to store direct copies of on-disk block pointers, so they should be int32_t. Error found by Izumi Tsutsui.
|
| 1.29 | 24-Jan-2003 |
fvdl | Bump daddr_t to 64 bits. Replace it with int32_t in all places where it was used on-disk, so that on-disk formats remain the same. Remove ufs_daddr_t and ufs_lbn_t for the time being.
|
| 1.28 | 26-Sep-2002 |
jdolecek | use ufs_balloc_range() rather than local (mostly identical, but with some bugs) ext2fs variant
|
| 1.27 | 08-Nov-2001 |
lukem | add RCSID
|
| 1.26 | 06-Nov-2001 |
simonb | Remove some bogus checks for unsigned variables < 0.
|
| 1.25 | 26-Oct-2001 |
lukem | remove #include <ufs/ufs/quota.h> where it was just to appease <ufs/ufs/inode.h>, since the latter now includes the former. leave the former in source that obviously uses specific bits of it (for completeness.)
|
| 1.24 | 19-Jun-2001 |
wiz | branches: 1.24.4; 1.24.8; `accessible' only has one `a'.
|
| 1.23 | 18-Feb-2001 |
chs | branches: 1.23.2; skip truncating a file to 0 before freeing it if it's already zero-length.
|
| 1.22 | 07-Feb-2001 |
tsutsui | Fix nested extern declaration of prtactive.
|
| 1.21 | 27-Nov-2000 |
chs | Initial integration of the Unified Buffer Cache project.
|
| 1.20 | 28-Jun-2000 |
mrg | remove include of <vm/vm.h> and <uvm/uvm_extern.h>
|
| 1.19 | 30-May-2000 |
mycroft | Adjust where IN_MODIFIED and IN_ACCESSED are cleared (as in the FFS code).
|
| 1.18 | 29-May-2000 |
mycroft | Pull in IN_ACCESSED changes and some MNT_LAZY `bug fixes' from FFS.
|
| 1.17 | 28-May-2000 |
mycroft | Pull in indirect block unwind code from FFS.
|
| 1.16 | 28-May-2000 |
mycroft | Add a new function to remove extra buffers when truncating a file. This is more generic than the vinvalbuf(V_SAVEMETA) case, avoiding synchronous operations when truncating to a non-zero length.
|
| 1.15 | 13-May-2000 |
perseant | branches: 1.15.2; Change the sementics of the last parameter from a boolean ("waitfor") to a set of flags ("flags"). Two flags are defined, UPDATE_WAIT and UPDATE_DIROP.
Under the old semantics, VOP_UPDATE would block if waitfor were set, under the assumption that directory operations should be done synchronously. At least LFS and FFS+softdep do not make this assumption; FFS+softdep got around the problem by enclosing all relevant calls to VOP_UPDATE in a "if(!DOINGSOFTDEP(vp))", while LFS simply ignored waitfor, one of the reasons why NFS-serving an LFS filesystem did not work properly.
Under the new semantics, the UPDATE_DIROP flag is a hint to the fs-specific update routine that the call comes from a dirop routine, and should be wait for, or not, accordingly.
Closes PR#8996.
|
| 1.14 | 30-Mar-2000 |
augustss | Remove register declarations.
|
| 1.13 | 24-Mar-1999 |
mrg | branches: 1.13.4; 1.13.8; 1.13.14; completely remove Mach VM support. all that is left is the all the header files as UVM still uses (most of) these.
|
| 1.12 | 05-Mar-1999 |
mycroft | Pass null pointers to VOP_UPDATE rather than having all the callers fetch the current time themselves.
|
| 1.11 | 05-Mar-1999 |
mycroft | Permit the access and modify time pointers passed to VOP_UPDATE to be null, meaning the current time.
|
| 1.10 | 23-Oct-1998 |
thorpej | For consistency w/ FFS/LFS, define EXT2_DINODE_SIZE, and use it instead of pointer arithmetic and/or sizeof(struct ext2fs_dinode).
|
| 1.9 | 29-Sep-1998 |
bouyer | #include opt_uvm.h only if _KENREL and !_LKM Make ext2fs_init() call ufs_init(). it was doing the init by itself, testing for extern done != 0. This bug was hidden by the fact that ext2fs_init() is called before ffs_init().
|
| 1.8 | 09-Aug-1998 |
perry | bzero->memset, bcopy->memcpy, bcmp->memcmp
|
| 1.7 | 09-Jun-1998 |
mikel | ffs_ -> ext2fs_ in warning; art@openbsd.org
|
| 1.6 | 01-Mar-1998 |
fvdl | Merge with Lite2 + local changes
|
| 1.5 | 10-Feb-1998 |
mrg | - add defopt's for UVM, UVMHIST and PMAP_NEW. - remove unnecessary UVMHIST_DECL's.
|
| 1.4 | 05-Feb-1998 |
mrg | initial import of the new virtual memory system, UVM, into -current.
UVM was written by chuck cranor <chuck@maria.wustl.edu>, with some minor portions derived from the old Mach code. i provided some help getting swap and paging working, and other bug fixes/ideas. chuck silvers <chuq@chuq.com> also provided some other fixes.
this is the rest of the MI portion changes.
this will be KNF'd shortly. :-)
|
| 1.3 | 09-Oct-1997 |
bouyer | Add byte-swapping functions (bswap16, bswap32, bswap64) to libkern. Only assembly version for i386 bswap16 and bswap32 for now (bswap64 uses bswap32). Contribution of assembly versions of these are welcome. Add byte-swapping of ext2fs metadata for big-endian systems. Tested on i386 and sparc.
|
| 1.2 | 04-Jul-1997 |
drochner | branches: 1.2.2; Don't cast 64bit (off_t) file sizes to vm_offset_t (32bit on many architectures), truncate them intelligently instead. The truncation is done centralized in vnode_pager.c. This prevents from wrap-over effects when parts of large (>2^32 byte) files are mmapped. Don't allow to mmap above the numerical range of vm_offset_t. This is considered a temporary solution until the vm system handles the object sizes/offsets more cleanly.
|
| 1.1 | 11-Jun-1997 |
bouyer | The ext2fs layer, based on the ffs/ufs one. Uses a few functions from sys/ufs/ufs/
|
| 1.2.2.1 | 14-Oct-1997 |
thorpej | Update marc-pcmcia branch from trunk.
|
| 1.13.14.1 | 21-Dec-1999 |
wrstuden | Initial commit of recent changes to make DEV_BSIZE go away.
Runs on i386, needs work on other arch's. Main kernel routines should be fine, but a number of the stand programs need help.
cd, fd, ccd, wd, and sd have been updated. sd has been tested with non-512 byte block devices. vnd, raidframe, and lfs need work.
Non 2**n block support is automatic for LKM's and conditional for kernels on "options NON_PO2_BLOCKS".
|
| 1.13.8.4 | 12-Mar-2001 |
bouyer | Sync with HEAD.
|
| 1.13.8.3 | 11-Feb-2001 |
bouyer | Sync with HEAD.
|
| 1.13.8.2 | 08-Dec-2000 |
bouyer | Sync with HEAD.
|
| 1.13.8.1 | 20-Nov-2000 |
bouyer | Update thorpej_scsipi to -current as of a month ago
|
| 1.13.4.2 | 06-Aug-1999 |
chs | UBCify.
|
| 1.13.4.1 | 11-Jul-1999 |
chs | remove uvm_vnp_uncache(), it's no longer needed.
|
| 1.15.2.1 | 22-Jun-2000 |
minoura | Sync w/ netbsd-1-5-base.
|
| 1.23.2.6 | 18-Oct-2002 |
nathanw | Catch up to -current.
|
| 1.23.2.5 | 12-Jul-2002 |
nathanw | No longer need to pull in lwp.h; proc.h pulls it in for us.
|
| 1.23.2.4 | 24-Jun-2002 |
nathanw | Curproc->curlwp renaming.
Change uses of "curproc->l_proc" back to "curproc", which is more like the original use. Bare uses of "curproc" are now "curlwp".
"curproc" is now #defined in proc.h as ((curlwp) ? (curlwp)->l_proc) : NULL) so that it is always safe to reference curproc (*de*referencing curproc is another story, but that's always been true).
|
| 1.23.2.3 | 14-Nov-2001 |
nathanw | Catch up to -current.
|
| 1.23.2.2 | 21-Jun-2001 |
nathanw | Catch up to -current.
|
| 1.23.2.1 | 05-Mar-2001 |
nathanw | Initial commit of scheduler activations and lightweight process support.
|
| 1.24.8.1 | 12-Nov-2001 |
thorpej | Sync the thorpej-mips-cache branch with -current.
|
| 1.24.4.2 | 10-Oct-2002 |
jdolecek | sync kqueue with -current; this includes merge of gehenna-devsw branch, merge of i386 MP branch, and part of autoconf rototil work
|
| 1.24.4.1 | 10-Jan-2002 |
thorpej | Sync kqueue branch with -current.
|
| 1.34.2.10 | 11-Dec-2005 |
christos | Sync with head.
|
| 1.34.2.9 | 10-Nov-2005 |
skrll | Sync with HEAD. Here we go again...
|
| 1.34.2.8 | 04-Mar-2005 |
skrll | Sync with HEAD.
Hi Perry!
|
| 1.34.2.7 | 15-Feb-2005 |
skrll | Sync with HEAD.
|
| 1.34.2.6 | 27-Oct-2004 |
skrll | Fix various comments that describe the argument structures
|
| 1.34.2.5 | 21-Sep-2004 |
skrll | Fix the sync with head I botched.
|
| 1.34.2.4 | 18-Sep-2004 |
skrll | Sync with HEAD.
|
| 1.34.2.3 | 25-Aug-2004 |
skrll | Sync with HEAD.
|
| 1.34.2.2 | 03-Aug-2004 |
skrll | Sync with HEAD
|
| 1.34.2.1 | 02-Jul-2003 |
darrenr | Apply the aborted ktrace-lwp changes to a specific branch. This is just for others to review, I'm concerned that patch fuziness may have resulted in some errant code being generated but I'll look at that later by comparing the diff from the base to the branch with the file I attempt to apply to it. This will, at the very least, put the changes in a better context for others to review them and attempt to tinker with removing passing of 'struct lwp' through the kernel.
|
| 1.43.6.2 | 19-Mar-2005 |
yamt | sync with head. xen and whitespace. xen part is not finished.
|
| 1.43.6.1 | 12-Feb-2005 |
yamt | sync with head.
|
| 1.43.4.1 | 29-Apr-2005 |
kent | sync with -current
|
| 1.46.2.6 | 21-Jan-2008 |
yamt | sync with head
|
| 1.46.2.5 | 07-Dec-2007 |
yamt | sync with head
|
| 1.46.2.4 | 27-Oct-2007 |
yamt | sync with head.
|
| 1.46.2.3 | 03-Sep-2007 |
yamt | sync with head.
|
| 1.46.2.2 | 30-Dec-2006 |
yamt | sync with head.
|
| 1.46.2.1 | 21-Jun-2006 |
yamt | sync with head.
|
| 1.49.2.1 | 20-Oct-2005 |
yamt | adapt ufs.
|
| 1.52.12.2 | 24-May-2006 |
tron | Merge 2006-05-24 NetBSD-current into the "peter-altq" branch.
|
| 1.52.12.1 | 28-Mar-2006 |
tron | Merge 2006-03-28 NetBSD-current into the "peter-altq" branch.
|
| 1.52.10.3 | 06-May-2006 |
christos | - Move kauth_cred_t declaration to <sys/types.h> - Cleanup struct ucred; forward declarations that are unused. - Don't include <sys/kauth.h> in any header, but include it in the c files that need it.
Approved by core.
|
| 1.52.10.2 | 19-Apr-2006 |
elad | sync with head.
|
| 1.52.10.1 | 08-Mar-2006 |
elad | Adapt to kernel authorization KPI.
|
| 1.52.8.3 | 26-Jun-2006 |
yamt | sync with head.
|
| 1.52.8.2 | 24-May-2006 |
yamt | sync with head.
|
| 1.52.8.1 | 01-Apr-2006 |
yamt | sync with head.
|
| 1.52.6.3 | 01-Jun-2006 |
kardel | Sync with head.
|
| 1.52.6.2 | 22-Apr-2006 |
simonb | Sync with head.
|
| 1.52.6.1 | 04-Feb-2006 |
simonb | Adapt for timecounters: mostly use get*time() and use "time_second" instead of "time.tv_sec".
|
| 1.52.4.1 | 09-Sep-2006 |
rpaulo | sync with head
|
| 1.54.2.1 | 19-Jun-2006 |
chap | Sync with head.
|
| 1.55.10.1 | 12-Jan-2007 |
bouyer | Pull up following revision(s) (requested by chs in ticket #346): sys/ufs/ext2fs/ext2fs_inode.c: revision 1.56 sys/ufs/ext2fs/ext2fs_alloc.c: revision 1.33 several ext2fs fixes provided by Barry Bouwsma: - set ip->i_e2fs_dtime to time_second, not time_uptime. - don't allow ipref to go negative - fs->e2fs.e2fs_icount is a valid inode number, allow it.
|
| 1.55.8.1 | 10-Dec-2006 |
yamt | sync with head.
|
| 1.55.6.1 | 12-Jan-2007 |
ad | Sync with head.
|
| 1.56.2.2 | 15-Apr-2007 |
yamt | sync with head.
|
| 1.56.2.1 | 12-Mar-2007 |
rmind | Sync with HEAD.
|
| 1.57.4.1 | 11-Jul-2007 |
mjf | Sync with head.
|
| 1.57.2.5 | 16-Sep-2007 |
ad | - Checkpoint work in progress on the vnode lifecycle and reference counting stuff. This makes it work properly without kernel_lock and fixes a few quite old bugs. See vfs_subr.c 1.283.2.17 for details.
- Fix some problems with softdep. Unfortunately our softdep code appears to have some longstanding bugs that cause it fail under stress test.
|
| 1.57.2.4 | 24-Aug-2007 |
ad | Sync with buffer cache locking changes. See buf.h/vfs_bio.c for details. Some minor portions are incomplete and needs to be verified as a whole.
|
| 1.57.2.3 | 09-Jun-2007 |
ad | Sync with head.
|
| 1.57.2.2 | 13-May-2007 |
ad | - Pass the error number and residual count to biodone(), and let it handle setting error indicators. Prepare to eliminate B_ERROR. - Add a flag argument to brelse() to be set into the buf's flags, instead of doing it directly. Typically used to set B_INVAL. - Add a "struct cpu_info *" argument to kthread_create(), to be used to create bound threads. Change "bool mpsafe" to "int flags". - Allow exit of LWPs in the IDL state when (l != curlwp). - More locking fixes & conversion to the new API.
|
| 1.57.2.1 | 10-Apr-2007 |
ad | Sync with head.
|
| 1.59.10.1 | 14-Oct-2007 |
yamt | sync with head.
|
| 1.59.8.3 | 23-Mar-2008 |
matt | sync with HEAD
|
| 1.59.8.2 | 09-Jan-2008 |
matt | sync with HEAD
|
| 1.59.8.1 | 06-Nov-2007 |
matt | sync with HEAD
|
| 1.59.6.3 | 09-Dec-2007 |
jmcneill | Sync with HEAD.
|
| 1.59.6.2 | 27-Nov-2007 |
joerg | Sync with HEAD. amd64 Xen support needs testing.
|
| 1.59.6.1 | 26-Oct-2007 |
joerg | Sync with HEAD.
Follow the merge of pmap.c on i386 and amd64 and move pmap_init_tmp_pgtbl into arch/x86/x86/pmap.c. Modify the ACPI wakeup code to restore CR4 before jumping back into kernel space as the large page option might cover that.
|
| 1.60.4.3 | 18-Feb-2008 |
mjf | Sync with HEAD.
|
| 1.60.4.2 | 27-Dec-2007 |
mjf | Sync with HEAD.
|
| 1.60.4.1 | 08-Dec-2007 |
mjf | Sync with HEAD.
|
| 1.61.2.3 | 30-Dec-2007 |
ad | Fix remaining problems with ext2fs on this branch.
|
| 1.61.2.2 | 26-Dec-2007 |
ad | Sync with head.
|
| 1.61.2.1 | 04-Dec-2007 |
ad | Pull the vmlocking changes into a new branch.
|
| 1.62.4.2 | 10-Jan-2008 |
bouyer | Sync with HEAD
|
| 1.62.4.1 | 02-Jan-2008 |
bouyer | Sync with HEAD
|
| 1.64.6.3 | 17-Jan-2009 |
mjf | Sync with HEAD.
|
| 1.64.6.2 | 02-Jun-2008 |
mjf | Sync with HEAD.
|
| 1.64.6.1 | 03-Apr-2008 |
mjf | Sync with HEAD.
|
| 1.65.6.1 | 23-Jun-2008 |
wrstuden | Sync w/ -current. 34 merge conflicts to follow.
|
| 1.65.4.4 | 11-Aug-2010 |
yamt | sync with head.
|
| 1.65.4.3 | 11-Mar-2010 |
yamt | sync with head
|
| 1.65.4.2 | 16-Sep-2009 |
yamt | sync with head
|
| 1.65.4.1 | 04-May-2009 |
yamt | sync with head.
|
| 1.65.2.1 | 18-May-2008 |
yamt | sync with head.
|
| 1.66.14.1 | 21-Apr-2010 |
matt | sync to netbsd-5
|
| 1.66.8.2 | 16-Jan-2011 |
bouyer | Pull up following revision(s) (requested by tsutsui in ticket #1486): sbin/fsck_ext2fs/setup.c: revision 1.26 sbin/newfs_ext2fs/mke2fs.c: revision 1.10 sbin/newfs_ext2fs/mke2fs.c: revision 1.11 sbin/newfs_ext2fs/mke2fs.c: revision 1.12 sbin/fsck_ext2fs/inode.c: revision 1.24 sys/lib/libsa/ext2fs.c: revision 1.6 sbin/newfs_ext2fs/extern.h: revision 1.3 sbin/fsck_ext2fs/inode.c: revision 1.25 sys/lib/libsa/ext2fs.c: revision 1.7 sbin/fsck_ext2fs/inode.c: revision 1.26 sys/ufs/ext2fs/ext2fs_inode.c: revision 1.68 sbin/fsck_ext2fs/inode.c: revision 1.27 sbin/fsck_ext2fs/inode.c: revision 1.28 sys/ufs/ext2fs/ext2fs_dinode.h: revision 1.18 sys/ufs/ext2fs/ext2fs_dinode.h: revision 1.19 sbin/newfs_ext2fs/newfs_ext2fs.c: revision 1.5 sbin/newfs_ext2fs/newfs_ext2fs.8: revision 1.2 sbin/newfs_ext2fs/newfs_ext2fs.c: revision 1.6 sbin/newfs_ext2fs/newfs_ext2fs.8: revision 1.3 sys/ufs/ext2fs/ext2fs_vfsops.c: revision 1.142 sbin/newfs_ext2fs/newfs_ext2fs.c: revision 1.7 sbin/newfs_ext2fs/newfs_ext2fs.8: revision 1.4 sbin/newfs_ext2fs/newfs_ext2fs.c: revision 1.8 PR/40936: Frederik Sausmikat: ext2fs: add support for inodes > 128 bytes Support variable inode sizes. catch up with variable inode size. Don't use e2fs_inode_size in superblock on E2FS_REV0 file system. - accept only EXT2_REV0_DINODE_SIZE inodesize on -O 0 - use inodesize to get offset of inode, not struct ext2fs_dinode array Replace a magic number with a new EXT2_REV0_DINODE_SIZE macro. Use EXT2_DINODE_SIZE() to get offset of inode, not struct ext2fs_dinode array. Fix botched logic in inodesize check. Use inodesize to get offset of inode in one more place. - add a sanity check for e2fs_inode_size in readsb() - use EXT2_DINODE_SIZE() rather than sizeof(struct ext2fs_dinode) or struct ext2fs_dinode array/pointer to see e2fs_ipb and inode offsets Sort options. New sentence, new line. Sort options in usage. - unsigned -> unsigned int - remove unnecessary casts from malloc(3) and free(3) - fix a bogus indent Use "size > INT32_MAX" rather than "size >= 0x80000000U" to check 2GB limit. Add missed byteswap ops against ext2fs_dinode members. Handle 32 bit uid field on E2FS_REV1.
|
| 1.66.8.1 | 22-Feb-2010 |
snj | Pull up following revision(s) (requested by bouyer in ticket #1302): sys/ufs/ext2fs/ext2fs_inode.c: revision 1.71 sys/ufs/ffs/ffs_inode.c: revision 1.104 sys/ufs/lfs/lfs_inode.c: revision 1.121 sys/ufs/ufs/ufs_inode.c: revision 1.79 - ufs_balloc_range(): on error, only PG_RELEASED the pages that were allocated to extend the file to the new size. Releasing all pages may release pages that contains previously-written data not yet flushed to disk. Should fix PR kern/35704 - {ffs,lfs,ext2fs}_truncate(): Even if the inode's size is the same as the new length, call uvm_vnp_setsize(). *_truncate() may have been called by *_write() in the error path (e.g. block allocation failure because of quota of file system full), and at this point v_writesize has been set to the desired size of the file and not reverted to the old size. Not adjusting v_writesize to the real size cause genfs_do_io() to write to disk past the real end of the file.
|
| 1.66.6.2 | 03-Mar-2009 |
skrll | Sync with HEAD.
|
| 1.66.6.1 | 19-Jan-2009 |
skrll | Sync with HEAD.
|
| 1.67.2.1 | 13-May-2009 |
jym | Sync with HEAD.
Commit is split, to avoid a "too many arguments" protocol error.
|
| 1.71.4.3 | 05-Mar-2011 |
rmind | sync with head
|
| 1.71.4.2 | 03-Jul-2010 |
rmind | sync with head
|
| 1.71.4.1 | 16-Mar-2010 |
rmind | Change struct uvm_object::vmobjlock to be dynamically allocated with mutex_obj_alloc(). It allows us to share the locks among UVM objects.
|
| 1.71.2.1 | 17-Aug-2010 |
uebayasi | Sync with HEAD.
|
| 1.73.6.1 | 23-Jun-2011 |
cherry | Catchup with rmind-uvmplock merge.
|
| 1.74.6.1 | 18-Feb-2012 |
mrg | merge to -current.
|
| 1.74.2.4 | 22-May-2014 |
yamt | sync with head.
for a reference, the tree before this commit was tagged as yamt-pagecache-tag8.
this commit was splitted into small chunks to avoid a limitation of cvs. ("Protocol error: too many arguments")
|
| 1.74.2.3 | 23-Jan-2013 |
yamt | sync with head
|
| 1.74.2.2 | 16-Jan-2013 |
yamt | sync with (a bit old) head
|
| 1.74.2.1 | 17-Apr-2012 |
yamt | sync with head
|
| 1.75.6.4 | 03-Dec-2017 |
jdolecek | update from HEAD
|
| 1.75.6.3 | 20-Aug-2014 |
tls | Rebase to HEAD as of a few days ago.
|
| 1.75.6.2 | 23-Jun-2013 |
tls | resync from head
|
| 1.75.6.1 | 25-Feb-2013 |
tls | resync with head
|
| 1.81.10.3 | 28-Aug-2017 |
skrll | Sync with HEAD
|
| 1.81.10.2 | 05-Oct-2016 |
skrll | Sync with HEAD
|
| 1.81.10.1 | 06-Apr-2015 |
skrll | Sync with HEAD
|
| 1.82.2.2 | 26-Apr-2017 |
pgoyette | Sync with HEAD
|
| 1.82.2.1 | 06-Aug-2016 |
pgoyette | Sync with HEAD
|
| 1.86.2.1 | 21-Apr-2017 |
bouyer | Sync with HEAD
|
| 1.88.20.1 | 25-Apr-2020 |
bouyer | Sync with bouyer-xenpvh-base2 (HEAD)
|
| 1.95 | 08-Sep-2024 |
rillig | fix a/an grammar in obvious cases
|
| 1.94 | 26-Aug-2023 |
riastradh | branches: 1.94.6; ext2fs: Nix trailing whitespace.
|
| 1.93 | 10-Aug-2023 |
mrg | don't assign struct pointers to smaller then structure regions of memory.
in all cases here, the later parts of the structure are not actually accessed, so there are no existing bugs here beyond general UB. for the ufs ones, this also removes some casts.
found by GCC 12.
|
| 1.92 | 06-Aug-2022 |
andvar | s/blity/bility/ in various words, mainly in comments.
|
| 1.91 | 16-May-2020 |
christos | Add ACL support for FFS. From FreeBSD.
|
| 1.90 | 04-Apr-2020 |
ad | Merge the remaining changes from the ad-namecache branch, affecting namei() and getcwd():
- push vnode locking back as far as possible. - do most lookups directly in the namecache, avoiding vnode locks & refs. - don't block new refs to vnodes across VOP_INACTIVE(). - get shared locks for VOP_LOOKUP() if the file system supports it. - correct lock types for VOP_ACCESS() / VOP_GETATTR() in a few places.
Possible future enhancements:
- make the lookups lockless. - support dotdot lookups by being lockless and inferring absence of chroot. - maybe make it work for layered file systems. - avoid vnode references at the root & cwd.
|
| 1.89 | 14-Mar-2020 |
ad | - Hide the details of SPCF_SHOULDYIELD and related behind a couple of small functions: preempt_point() and preempt_needed().
- preempt(): if the LWP has exceeded its timeslice in kernel, strip it of any priority boost gained earlier from blocking.
|
| 1.88 | 23-Aug-2016 |
christos | branches: 1.88.16; 1.88.22; KNF, no functional change
|
| 1.87 | 19-Aug-2016 |
jdolecek | fix bug introduced in rev 1.82 of ext2fs_lookup.c, when ext2fs_add_entry() was introduced splitting code from ext2fs_direnter() - code used incorrect new entry size, leading to incomplete entry copy or buffer overflow; fixed by passing the right size from ext2fs_direnter()
|
| 1.86 | 14-Aug-2016 |
jdolecek | when converting on-disk direntry, only use the on-disk filetype if the feature flag is present
|
| 1.85 | 14-Aug-2016 |
jdolecek | switch code to use the EXT2_HAS_{COMPAT|ROCOMPAT|INCOMPAT}_FEATURE() macros instead of open coding the checks
|
| 1.84 | 13-Aug-2016 |
christos | KNF, no functional changes...
|
| 1.83 | 13-Aug-2016 |
christos | sync with hrishi's git
|
| 1.82 | 09-Aug-2016 |
christos | merge missing function.
|
| 1.81 | 06-Aug-2016 |
jdolecek | actually pass the d_type from the on-disk directory entry to the lookup results
|
| 1.80 | 24-Jun-2016 |
christos | GSoC 2016 (Hrishikesh Goyal): Htree index support from FreeBSD
|
| 1.79 | 12-Jan-2016 |
riastradh | Use buffer cache, not page cache, to expand directories in ext2fs.
Candidate fix for PR kern/50607, PR port-evbmips/50059.
Formerly VOP_WRITE-->ext2fs_write would automatically dispatch to this code path for writes to directories, but I broke that in ext2fs_lookup.c rev. 1.78 when disentangling page-cached and buffer-cached writes.
This was not a problem in ufs, and I didn't notice it in ext2fs, because ufs consistently used buffercache(9) directly instead of using VOP_WRITE sometimes as ext2fs did.
|
| 1.78 | 27-Mar-2015 |
riastradh | Disentangle buffer-cached I/O from page-cached I/O in UFS.
Page-cached I/O is used for regular files, and is initiated by VFS users such as userland and NFS.
Buffer-cached I/O is used for directories and symlinks, and is issued only internally by UFS.
New UFS routine ufs_bufio replaces vn_rdwr for internal use. ufs_bufio is implemented by new UFS operations uo_bufrd/uo_bufwr, which sit in ufs_readwrite.c alongside the VOP_READ/VOP_WRITE implementations.
I preserved the code as much as possible and will leave further simplification for future commits. I kept the ulfs_readwrite.c copypasta close to ufs_readwrite.c in case we ever want to merge them back; likewise ext2fs_readwrite.c.
No externally visible semantic change. All atf fs tests still pass.
|
| 1.77 | 03-Jun-2014 |
joerg | branches: 1.77.4; Introduce two helper functions to centralise the namecache statistics in vfs_cache.c. Use consistent locking around the per-cpu data.
|
| 1.76 | 25-May-2014 |
hannken | Remove ext2fs_checkpath(). It is a relic from the pre-genfs_rename era.
|
| 1.75 | 08-May-2014 |
hannken | Add a global vnode cache:
- vcache_get() retrieves a referenced and initialised vnode / fs node pair. - vcache_remove() removes a vnode / fs node pair from the cache.
On cache miss vcache_get() calls new vfs operation vfs_loadvnode() to initialise a vnode / fs node pair. This call is guaranteed exclusive, no other thread will try to load this vnode / fs node pair.
Convert ufs/ext2fs, ufs/ffs and ufs/mfs to use this interface.
Remove now unused ufs/ufs_ihash
Discussed on tech-kern.
Welcome to 6.99.41
|
| 1.74 | 07-Feb-2014 |
hannken | branches: 1.74.2; Change vnode operation lookup to return the resulting vnode *vpp unlocked. Change cache_lookup() to return an unlocked vnode.
Discussed on tech-kern@
Welcome to 6.99.31
|
| 1.73 | 22-Jan-2013 |
dholland | branches: 1.73.2; Stuff UFS_ in front of a few of ufs's symbols to reduce namespace pollution. Specifically: ROOTINO -> UFS_ROOTINO WINO -> UFS_WINO NXADDR -> UFS_NXADDR NDADDR -> UFS_NDADDR NIADDR -> UFS_NIADDR MAXSYMLINKLEN -> UFS_MAXSYMLINKLEN MAXSYMLINKLEN_UFS[12] -> UFS[12]_MAXSYMLINKLEN (for consistency)
Sort out ext2fs's misuse of NDADDR and NIADDR; fortunately, these have the same values in ext2fs and ffs.
No functional change intended.
|
| 1.72 | 05-Nov-2012 |
dholland | Excise struct componentname from the namecache.
This uglifies the interface, because several operations need to be passed the namei flags and cache_lookup also needs for the time being to be passed cnp->cn_nameiop. Nonetheless, it's a net benefit.
The glop should be able to go away eventually but requires structural cleanup elsewhere first.
This change requires a kernel bump.
|
| 1.71 | 05-Nov-2012 |
dholland | Disentangle the namecache from the internals of namei.
- Move the namecache's hash computation to inside the namecache code, instead of being spread out all over the place. Remove cn_hash from struct componentname and delete all uses of it.
- It is no longer necessary (if it ever was) for cache_lookup and cache_lookup_raw to clear MAKEENTRY from cnp->cn_flags for the cases that cache_enter already checks for.
- Rearrange the interface of cache_lookup (and cache_lookup_raw) to make it somewhat simpler, to exclude certain nonexistent error conditions, and (most importantly) to make it not require write access to cnp->cn_flags.
This change requires a kernel bump.
|
| 1.70 | 22-Jul-2012 |
rmind | branches: 1.70.2; Move some the test for MAKEENTRY into the cache_enter(9). Make some variables in vfs_cache.c static, __read_mostly, etc.
No objection on tech-kern@.
|
| 1.69 | 16-Mar-2012 |
hannken | Fix last commit that broke lookup for dot with op DELETE.
Reviewed by: David Holland <dholland@netbsd.org>
|
| 1.68 | 13-Mar-2012 |
elad | Replace the remaining KAUTH_GENERIC_ISSUSER authorization calls with something meaningful. All relevant documentation has been updated or written.
Most of these changes were brought up in the following messages:
http://mail-index.netbsd.org/tech-kern/2012/01/18/msg012490.html http://mail-index.netbsd.org/tech-kern/2012/01/19/msg012502.html http://mail-index.netbsd.org/tech-kern/2012/02/17/msg012728.html
Thanks to christos, manu, njoly, and jmmv for input.
Huge thanks to pgoyette for spinning these changes through some build cycles and ATF.
|
| 1.67 | 27-Jan-2012 |
para | branches: 1.67.2; converting readdir in ffs ext2fs from malloc(9) to kmem(9) while there allocate ufs mount structs from kmem(9) too preceding kmem-vmem-pool-patch
releng@ acknowledged
|
| 1.66 | 12-Jul-2011 |
dholland | branches: 1.66.2; 1.66.6; Pass the ufs_lookup_results pointer around instead of fetching it from the inode in the guts of ufs. Now, in VOPs where i_crap is used it is used (directly) only immediately on entry to the VOP call and then passed around by reference.
Except for rename, which needs explicit sorting out. The code in ufs_wapbl_rename is unchanged in behavior but I'm increasingly inclined to think it's wrong.
|
| 1.65 | 12-Jul-2011 |
dholland | Currently, ufs_lookup produces five auxiliary results that are left in the vnode when lookup returns and fished out again later.
1. Create struct ufs_lookup_results to hold these.
2. Call the ufs_lookup_results instance in struct inode "i_crap" to be clear about exactly what's going on, and to distinguish the lookup results from respectable members of struct inode.
3. Update references to these members in the directory access subroutines.
4. Include preliminary infrastructure for checking that the i_crap being used is still valid when it's used. This doesn't actually do anything yet.
5. Update the way ufs_wapbl_rename manipulates these elements to use the new data structures. I have not changed the manipulation; it may or may not be correct but I continue to suspect that it is not.
The word of the day is "stigmergy".
|
| 1.64 | 11-Jul-2011 |
hannken | Change VOP_BWRITE() to take a vnode as its first argument like all other VOPs do. Layered file systems no longer have to modify bp->b_vp and run into trouble when an async VOP_BWRITE() uses the wrong vnode.
- change all occurences of VOP_BWRITE(bp) to VOP_BWRITE(bp->b_vp, bp). - remove layer_bwrite(). - welcome to 5.99.55
Adresses PR kern/38762 panic: vwakeup: neg numoutput
No objections from tech-kern@.
|
| 1.63 | 30-Nov-2010 |
dholland | Abolish the SAVENAME and HASBUF flags. There is now always a buffer, so the path in a struct componentname is now always valid during VOP calls.
|
| 1.62 | 24-Jun-2010 |
hannken | Clean up vnode lock operations pass 2:
VOP_UNLOCK(vp, flags) -> VOP_UNLOCK(vp): Remove the unneeded flags argument.
Welcome to 5.99.32.
Discussed on tech-kern.
|
| 1.61 | 08-Jan-2010 |
pooka | branches: 1.61.2; 1.61.4; The VATTR_NULL/VREF/VHOLD/HOLDRELE() macros lost their will to live years ago when the kernel was modified to not alter ABI based on DIAGNOSTIC, and now just call the respective function interfaces (in lowercase). Plenty of mix'n match upper/lowercase has creeped into the tree since then. Nuke the macros and convert all callsites to lowercase.
no functional change
|
| 1.60 | 12-Sep-2009 |
tsutsui | Whitespace nits.
|
| 1.59 | 12-Sep-2009 |
tsutsui | Migrate from u_intNN_t to uintNN_t.
|
| 1.58 | 17-Dec-2008 |
cegger | kill MALLOC and FREE macros.
|
| 1.57 | 24-Nov-2008 |
tsutsui | Remove an extra semicolon.
|
| 1.56 | 23-Nov-2008 |
mrg | add support for 32 bit uid/gid fields in ext2, but only do so for when the revision is > REV0.
|
| 1.55 | 08-Dec-2007 |
pooka | branches: 1.55.12; 1.55.16; 1.55.22; 1.55.24; 1.55.26; Remove cn_lwp from struct componentname. curlwp should be used from on. The NDINIT() macro no longer takes the lwp parameter and associates the credentials of the calling thread with the namei structure.
|
| 1.54 | 26-Nov-2007 |
pooka | branches: 1.54.2; Remove the "struct lwp *" argument from all VFS and VOP interfaces. The general trend is to remove it from all kernel interfaces and this is a start. In case the calling lwp is desired, curlwp should be used.
quick consensus on tech-kern
|
| 1.53 | 08-Oct-2007 |
ad | branches: 1.53.4; Merge ffs locking & brelse changes from the vmlocking branch.
|
| 1.52 | 24-Sep-2007 |
rumble | Avoid stack allocation of large dirent structures in foo_readdir().
|
| 1.51 | 21-Jul-2007 |
ad | branches: 1.51.4; 1.51.6; 1.51.8; 1.51.10; Don't depend on uvm_extern.h pulling in proc.h.
|
| 1.50 | 04-Mar-2007 |
christos | branches: 1.50.2; 1.50.10; Kill caddr_t; there will be some MI fallout, but it will be fixed shortly.
|
| 1.49 | 09-Feb-2007 |
ad | branches: 1.49.2; Merge newlock2 to head.
|
| 1.48 | 04-Jan-2007 |
elad | Consistent usage of KAUTH_GENERIC_ISSUSER.
|
| 1.47 | 09-Dec-2006 |
chs | a smorgasbord of improvements to vnode locking and path lookup: - LOCKPARENT is no longer relevant for lookup(), relookup() or VOP_LOOKUP(). these now always return the parent vnode locked. namei() works as before. lookup() and various other paths no longer acquire vnode locks in the wrong order via vrele(). fixes PR 32535. as a nice side effect, path lookup is also up to 25% faster. - the above allows us to get rid of PDIRUNLOCK. - also get rid of WANTPARENT (just use LOCKPARENT and unlock it). - remove an assumption in layer_node_find() that all file systems implement a recursive VOP_LOCK() (unionfs doesn't). - require that all file systems supply vfs_vptofh and vfs_fhtovp routines. fill in eopnotsupp() for file systems that don't support being exported and remove the checks for NULL. (layerfs calls these without checking.) - in union_lookup1(), don't change refcounts in the ISDOTDOT case, just adjust which vnode is locked. fixes PR 33374. - apply fixes for ufs_rename() from ufs_vnops.c rev. 1.61 to ext2fs_rename().
|
| 1.46 | 16-Nov-2006 |
christos | branches: 1.46.2; __unused removal on arguments; approved by core.
|
| 1.45 | 12-Oct-2006 |
christos | - sprinkle __unused on function decls. - fix a couple of unused bugs - no more -Wno-unused for i386
|
| 1.44 | 14-May-2006 |
elad | branches: 1.44.8; 1.44.10; integrate kauth.
|
| 1.43 | 15-Apr-2006 |
christos | Coverity CID 1169: Add KASSERT before deref.
|
| 1.42 | 18-Mar-2006 |
bouyer | Remove dead code, fixing coverity ID 745. nameiop can only be CREATE or DELETE here. This code got cut-n-pasted from ufs_loolup.c, but is only used in whiteout support. ext2fs doesn't support whiteout.
|
| 1.41 | 17-Mar-2006 |
christos | don't use MALLOC with a non-constant size; use malloc instead.
|
| 1.40 | 01-Mar-2006 |
yamt | branches: 1.40.2; 1.40.4; 1.40.6; merge yamt-uio_vmspace branch.
- use vmspace rather than proc or lwp where appropriate. the latter is more natural to specify an address space. (and less likely to be abused for random purposes.) - fix a swdmover race.
|
| 1.39 | 11-Dec-2005 |
christos | branches: 1.39.2; 1.39.4; 1.39.6; merge ktrace-lwp.
|
| 1.38 | 02-Nov-2005 |
yamt | branches: 1.38.2; merge yamt-vop branch. remove following VOPs.
VOP_BLKATOFF VOP_VALLOC VOP_BALLOC VOP_REALLOCBLKS VOP_VFREE VOP_TRUNCATE VOP_UPDATE
|
| 1.37 | 30-Aug-2005 |
xtraeme | branches: 1.37.2; * Remove __P() * Use ANSI function declarations on ext2fs and mfs
|
| 1.36 | 23-Aug-2005 |
christos | Don't overload MAXNAMLEN, use a separate constant for each filesystem type.
|
| 1.35 | 19-Aug-2005 |
christos | 64 bit inode changes.
|
| 1.34 | 28-Jun-2005 |
kml | branches: 1.34.2; Ensure that we change the size of the vnode at the same time as we change the size of the inode, and use ext2fs_size uniformly. This fixes a crash that occurs when I create a directory, then move it, all on an ext2 filesystem.
|
| 1.33 | 29-May-2005 |
christos | - sprinkle const - avoid shadow variables.
|
| 1.32 | 26-Feb-2005 |
perry | nuke trailing whitespace
|
| 1.31 | 09-Feb-2005 |
ws | Add support for large files (>2GB). Like Linux, automagically convert old filesystem to use this, if they are already at revision 1. For revision 0, just punt (unlike Linux; makes me a bit too nervous.)
There should be an option to fsck_ext2fs to upgrade revision 0 to revision 1.
Reviewd by Manuel (bouyer@).
|
| 1.30 | 17-Sep-2004 |
skrll | branches: 1.30.4; 1.30.6; There's no need to pass a proc value when using UIO_SYSSPACE with vn_rdwr(9) and uiomove(9).
OK'd by Jason Thorpe
|
| 1.29 | 15-Aug-2004 |
mycroft | Fixing age old cruft: * Rather than using mnt_maxsymlinklen to indicate that a file systems returns d_type fields(!), add a new internal flag, IMNT_DTYPE.
Add 3 new elements to ufsmount: * um_maxsymlinklen, replaces mnt_maxsymlinklen (which never should have existed in the first place). * um_dirblksiz, which tracks the current directory block size, eliminating the FS-specific checks littered throughout the code. This may be used later to make the block size variable. * um_maxfilesize, which is the maximum file size, possibly adjusted lower due to implementation issues.
Sync some bug fixes from FFS into ext2fs, particularly: * ffs_lookup.c 1.21, 1.28, 1.33, 1.48 * ffs_inode.c 1.43, 1.44, 1.45, 1.66, 1.67 * ffs_vnops.c 1.84, 1.85, 1.86
Clean up some crappy pointer frobnication.
|
| 1.28 | 07-Aug-2003 |
agc | Move UCB-licensed code from 4-clause to 3-clause licence.
Patches provided by Joel Baker in PR 22364, verified by myself.
|
| 1.27 | 29-Jun-2003 |
fvdl | branches: 1.27.2; Back out the lwp/ktrace changes. They contained a lot of colateral damage, and need to be examined and discussed more.
|
| 1.26 | 29-Jun-2003 |
thorpej | Undo part of the ktrace/lwp changes. In particular: * Remove the "lwp *" argument that was added to vget(). Turns out that nothing actually used it! * Remove the "lwp *" arguments that were added to VFS_ROOT(), VFS_VGET(), and VFS_FHTOVP(); all they did was pass it to vget() (which, as noted above, didn't use it). * Remove all of the "lwp *" arguments to internal functions that were added just to appease the above.
|
| 1.25 | 28-Jun-2003 |
darrenr | Pass lwp pointers throughtout the kernel, as required, so that the lwpid can be inserted into ktrace records. The general change has been to replace "struct proc *" with "struct lwp *" in various function prototypes, pass the lwp through and use l_proc to get the process pointer when needed.
Bump the kernel rev up to 1.6V
|
| 1.24 | 02-Apr-2003 |
fvdl | Add support for UFS2. UFS2 is an enhanced FFS, adding support for 64 bit block pointers, extended attribute storage, and a few other things.
This commit does not yet include the code to manipulate the extended storage (for e.g. ACLs), this will be done later.
Originally written by Kirk McKusick and Network Associates Laboratories for FreeBSD.
|
| 1.23 | 26-Nov-2002 |
yamt | eliminate i_ino from in-core inode and use local variable instead.
ok'ed by Frank van der Linden.
|
| 1.22 | 25-Nov-2002 |
thorpej | Avoid strict-alias warnings.
|
| 1.21 | 27-Sep-2002 |
provos | remove trailing \n in panic(). approved perry.
|
| 1.20 | 26-Jul-2002 |
wiz | Spell '[Rr]ight' correctly. From Jim Bernard.
|
| 1.19 | 30-May-2002 |
thorpej | #if 0 a test that is always false (and the XXX comment above it indicates so).
|
| 1.18 | 08-Nov-2001 |
lukem | branches: 1.18.8; 1.18.10; add RCSID
|
| 1.17 | 26-Oct-2001 |
lukem | remove #include <ufs/ufs/quota.h> where it was just to appease <ufs/ufs/inode.h>, since the latter now includes the former. leave the former in source that obviously uses specific bits of it (for completeness.)
|
| 1.16 | 03-Aug-2000 |
thorpej | branches: 1.16.2; 1.16.6; 1.16.10; MALLOC()/FREE() are not to be used for variable sized allocations.
|
| 1.15 | 30-Mar-2000 |
augustss | Remove register declarations.
|
| 1.14 | 28-Jan-2000 |
bouyer | Correct (minor) bogons in filetype option support, and add support for sparse_super option
|
| 1.13 | 26-Jan-2000 |
bouyer | First cut at ext2fs rev 1 support (as of mke2fs 1.18): supports the filetype option read/write and the sparse option read-only.
|
| 1.12 | 05-Sep-1999 |
jdolecek | branches: 1.12.2; Adapt to cache_lookup() changes.
Tested by: jdolecek Rewieved by: wrstuden
|
| 1.11 | 04-Aug-1999 |
wrstuden | Pull in changes which parallel rev 1.22 -> 1.25 of ufs_lookup().
|
| 1.10 | 02-Aug-1999 |
wrstuden | Add PDIRUNLOCK support.
|
| 1.9 | 02-Dec-1998 |
bouyer | branches: 1.9.4; - intentation - sync LK_* flags with ffs/ufs
|
| 1.8 | 13-Sep-1998 |
christos | Fix copyright '\t' -> ' '
|
| 1.7 | 09-Aug-1998 |
perry | bzero->memset, bcopy->memcpy, bcmp->memcmp
|
| 1.6 | 28-Jul-1998 |
mjacob | fix to accomodate change in vn_rdwr prototype
|
| 1.5 | 01-Mar-1998 |
fvdl | Merge with Lite2 + local changes
|
| 1.4 | 10-Oct-1997 |
bouyer | Update for 64 bits directory cookies.
|
| 1.3 | 09-Oct-1997 |
bouyer | Add byte-swapping functions (bswap16, bswap32, bswap64) to libkern. Only assembly version for i386 bswap16 and bswap32 for now (bswap64 uses bswap32). Contribution of assembly versions of these are welcome. Add byte-swapping of ext2fs metadata for big-endian systems. Tested on i386 and sparc.
|
| 1.2 | 04-Aug-1997 |
bouyer | Fix bad cut&paste from ufs code: we can't align uio_resid to a directory block size boundary, because size of the returned dir entry may be bigger than the one read.
|
| 1.1 | 11-Jun-1997 |
bouyer | branches: 1.1.4; The ext2fs layer, based on the ffs/ufs one. Uses a few functions from sys/ufs/ufs/
|
| 1.1.4.2 | 14-Oct-1997 |
thorpej | Update marc-pcmcia branch from trunk.
|
| 1.1.4.1 | 23-Aug-1997 |
thorpej | Update marc-pcmcia branch from trunk.
|
| 1.9.4.1 | 01-Feb-2000 |
he | Apply patch (requested by bouyer): Add support for ext2fs revision 1, with read-only support for the 'sparse_super' and 'filetype' options. Should fix PR#9088.
|
| 1.12.2.1 | 20-Nov-2000 |
bouyer | Update thorpej_scsipi to -current as of a month ago
|
| 1.16.10.1 | 12-Nov-2001 |
thorpej | Sync the thorpej-mips-cache branch with -current.
|
| 1.16.6.4 | 10-Oct-2002 |
jdolecek | sync kqueue with -current; this includes merge of gehenna-devsw branch, merge of i386 MP branch, and part of autoconf rototil work
|
| 1.16.6.3 | 06-Sep-2002 |
jdolecek | sync kqueue branch with HEAD
|
| 1.16.6.2 | 23-Jun-2002 |
jdolecek | catch up with -current on kqueue branch
|
| 1.16.6.1 | 10-Jan-2002 |
thorpej | Sync kqueue branch with -current.
|
| 1.16.2.5 | 11-Dec-2002 |
thorpej | Sync with HEAD.
|
| 1.16.2.4 | 18-Oct-2002 |
nathanw | Catch up to -current.
|
| 1.16.2.3 | 01-Aug-2002 |
nathanw | Catch up to -current.
|
| 1.16.2.2 | 20-Jun-2002 |
nathanw | Catch up to -current.
|
| 1.16.2.1 | 14-Nov-2001 |
nathanw | Catch up to -current.
|
| 1.18.10.1 | 30-May-2002 |
tv | Pull up revision 1.19 (requested by thorpej in ticket #93): indicates so).
|
| 1.18.8.2 | 29-Aug-2002 |
gehenna | catch up with -current.
|
| 1.18.8.1 | 20-Jun-2002 |
gehenna | catch up with -current.
|
| 1.27.2.10 | 10-Nov-2005 |
skrll | Sync with HEAD. Here we go again...
|
| 1.27.2.9 | 04-Mar-2005 |
skrll | Sync with HEAD.
Hi Perry!
|
| 1.27.2.8 | 15-Feb-2005 |
skrll | Sync with HEAD.
|
| 1.27.2.7 | 29-Oct-2004 |
skrll | Remove the struct lwp * argument from ext2f2_checkpath that is no longer (read: was never) required.
|
| 1.27.2.6 | 21-Sep-2004 |
skrll | Fix the sync with head I botched.
|
| 1.27.2.5 | 18-Sep-2004 |
skrll | Sync with HEAD.
|
| 1.27.2.4 | 25-Aug-2004 |
skrll | Sync with HEAD.
|
| 1.27.2.3 | 24-Aug-2004 |
skrll | Undo part of the ktrace/lwp changes. In particular: * Remove the "lwp *" argument that was added to vget(). Turns out that nothing actually used it! * Remove the "lwp *" arguments that were added to VFS_ROOT(), VFS_VGET(), and VFS_FHTOVP(); all they did was pass it to vget() (which, as noted above, didn't use it). * Remove all of the "lwp *" arguments to internal functions that were added just to appease the above.
|
| 1.27.2.2 | 03-Aug-2004 |
skrll | Sync with HEAD
|
| 1.27.2.1 | 02-Jul-2003 |
darrenr | Apply the aborted ktrace-lwp changes to a specific branch. This is just for others to review, I'm concerned that patch fuziness may have resulted in some errant code being generated but I'll look at that later by comparing the diff from the base to the branch with the file I attempt to apply to it. This will, at the very least, put the changes in a better context for others to review them and attempt to tinker with removing passing of 'struct lwp' through the kernel.
|
| 1.30.6.2 | 19-Mar-2005 |
yamt | sync with head. xen and whitespace. xen part is not finished.
|
| 1.30.6.1 | 12-Feb-2005 |
yamt | sync with head.
|
| 1.30.4.1 | 29-Apr-2005 |
kent | sync with -current
|
| 1.34.2.7 | 21-Jan-2008 |
yamt | sync with head
|
| 1.34.2.6 | 07-Dec-2007 |
yamt | sync with head
|
| 1.34.2.5 | 27-Oct-2007 |
yamt | sync with head.
|
| 1.34.2.4 | 03-Sep-2007 |
yamt | sync with head.
|
| 1.34.2.3 | 26-Feb-2007 |
yamt | sync with head.
|
| 1.34.2.2 | 30-Dec-2006 |
yamt | sync with head.
|
| 1.34.2.1 | 21-Jun-2006 |
yamt | sync with head.
|
| 1.37.2.1 | 20-Oct-2005 |
yamt | adapt ufs.
|
| 1.38.2.2 | 19-Nov-2005 |
yamt | - finish reverting VOP_READ prototype changes. - remove unused variables. - fix typos. some of them are pointed by Juan RP.
|
| 1.38.2.1 | 15-Nov-2005 |
yamt | - adapt to the new prototype of VOP_READ. - adapt ext2fs and union.
|
| 1.39.6.2 | 01-Jun-2006 |
kardel | Sync with head.
|
| 1.39.6.1 | 22-Apr-2006 |
simonb | Sync with head.
|
| 1.39.4.1 | 09-Sep-2006 |
rpaulo | sync with head
|
| 1.39.2.1 | 15-Jan-2006 |
yamt | convert the rest of ufs.
|
| 1.40.6.2 | 24-May-2006 |
tron | Merge 2006-05-24 NetBSD-current into the "peter-altq" branch.
|
| 1.40.6.1 | 28-Mar-2006 |
tron | Merge 2006-03-28 NetBSD-current into the "peter-altq" branch.
|
| 1.40.4.3 | 06-May-2006 |
christos | - Move kauth_cred_t declaration to <sys/types.h> - Cleanup struct ucred; forward declarations that are unused. - Don't include <sys/kauth.h> in any header, but include it in the c files that need it.
Approved by core.
|
| 1.40.4.2 | 19-Apr-2006 |
elad | sync with head.
|
| 1.40.4.1 | 08-Mar-2006 |
elad | Adapt to kernel authorization KPI.
|
| 1.40.2.2 | 24-May-2006 |
yamt | sync with head.
|
| 1.40.2.1 | 01-Apr-2006 |
yamt | sync with head.
|
| 1.44.10.2 | 10-Dec-2006 |
yamt | sync with head.
|
| 1.44.10.1 | 22-Oct-2006 |
yamt | sync with head
|
| 1.44.8.3 | 30-Jan-2007 |
ad | Remove support for SA. Ok core@.
|
| 1.44.8.2 | 12-Jan-2007 |
ad | Sync with head.
|
| 1.44.8.1 | 18-Nov-2006 |
ad | Sync with head.
|
| 1.46.2.1 | 17-Feb-2007 |
tron | Apply patch (requested by chs in ticket #422): - Fix various deadlock problems with nullfs and unionfs. - Speed up path lookups by upto 25%.
|
| 1.49.2.1 | 12-Mar-2007 |
rmind | Sync with HEAD.
|
| 1.50.10.1 | 15-Aug-2007 |
skrll | Sync with HEAD.
|
| 1.50.2.3 | 09-Oct-2007 |
ad | Sync with head.
|
| 1.50.2.2 | 13-May-2007 |
ad | - Pass the error number and residual count to biodone(), and let it handle setting error indicators. Prepare to eliminate B_ERROR. - Add a flag argument to brelse() to be set into the buf's flags, instead of doing it directly. Typically used to set B_INVAL. - Add a "struct cpu_info *" argument to kthread_create(), to be used to create bound threads. Change "bool mpsafe" to "int flags". - Allow exit of LWPs in the IDL state when (l != curlwp). - More locking fixes & conversion to the new API.
|
| 1.50.2.1 | 05-Apr-2007 |
ad | Compile fixes.
|
| 1.51.10.2 | 21-Jul-2007 |
ad | Don't depend on uvm_extern.h pulling in proc.h.
|
| 1.51.10.1 | 21-Jul-2007 |
ad | file ext2fs_lookup.c was added on branch matt-mips64 on 2007-07-21 19:06:23 +0000
|
| 1.51.8.2 | 14-Oct-2007 |
yamt | sync with head.
|
| 1.51.8.1 | 06-Oct-2007 |
yamt | sync with head.
|
| 1.51.6.2 | 09-Jan-2008 |
matt | sync with HEAD
|
| 1.51.6.1 | 06-Nov-2007 |
matt | sync with HEAD
|
| 1.51.4.4 | 09-Dec-2007 |
jmcneill | Sync with HEAD.
|
| 1.51.4.3 | 27-Nov-2007 |
joerg | Sync with HEAD. amd64 Xen support needs testing.
|
| 1.51.4.2 | 26-Oct-2007 |
joerg | Sync with HEAD.
Follow the merge of pmap.c on i386 and amd64 and move pmap_init_tmp_pgtbl into arch/x86/x86/pmap.c. Modify the ACPI wakeup code to restore CR4 before jumping back into kernel space as the large page option might cover that.
|
| 1.51.4.1 | 02-Oct-2007 |
joerg | Sync with HEAD.
|
| 1.53.4.2 | 27-Dec-2007 |
mjf | Sync with HEAD.
|
| 1.53.4.1 | 08-Dec-2007 |
mjf | Sync with HEAD.
|
| 1.54.2.1 | 26-Dec-2007 |
ad | Sync with head.
|
| 1.55.26.1 | 29-Nov-2008 |
snj | Pull up following revision(s) (requested by mrg in ticket #147): sys/ufs/ext2fs/ext2fs_alloc.c: revision 1.37 sys/ufs/ext2fs/ext2fs_bswap.c: revision 1.14 sys/ufs/ext2fs/ext2fs_dinode.h: revision 1.17 sys/ufs/ext2fs/ext2fs_lookup.c: revision 1.56 sys/ufs/ext2fs/ext2fs_vnops.c: revision 1.83 sys/ufs/ext2fs/ext2fs_vfsops.c: revision 1.140 sys/ufs/ufs/inode.h: revision 1.55 add support for 32 bit uid/gid fields in ext2, but only do so for when the revision is > REV0.
|
| 1.55.24.1 | 19-Jan-2009 |
skrll | Sync with HEAD.
|
| 1.55.22.1 | 13-Dec-2008 |
haad | Update haad-dm branch to haad-dm-base2.
|
| 1.55.16.4 | 11-Aug-2010 |
yamt | sync with head.
|
| 1.55.16.3 | 11-Mar-2010 |
yamt | sync with head
|
| 1.55.16.2 | 16-Sep-2009 |
yamt | sync with head
|
| 1.55.16.1 | 04-May-2009 |
yamt | sync with head.
|
| 1.55.12.1 | 17-Jan-2009 |
mjf | Sync with HEAD.
|
| 1.61.4.2 | 05-Mar-2011 |
rmind | sync with head
|
| 1.61.4.1 | 03-Jul-2010 |
rmind | sync with head
|
| 1.61.2.1 | 17-Aug-2010 |
uebayasi | Sync with HEAD.
|
| 1.66.6.2 | 05-Apr-2012 |
mrg | sync to latest -current.
|
| 1.66.6.1 | 18-Feb-2012 |
mrg | merge to -current.
|
| 1.66.2.5 | 22-May-2014 |
yamt | sync with head.
for a reference, the tree before this commit was tagged as yamt-pagecache-tag8.
this commit was splitted into small chunks to avoid a limitation of cvs. ("Protocol error: too many arguments")
|
| 1.66.2.4 | 23-Jan-2013 |
yamt | sync with head
|
| 1.66.2.3 | 16-Jan-2013 |
yamt | sync with (a bit old) head
|
| 1.66.2.2 | 30-Oct-2012 |
yamt | sync with head
|
| 1.66.2.1 | 17-Apr-2012 |
yamt | sync with head
|
| 1.67.2.1 | 12-Aug-2012 |
martin | Pull up following revision(s) (requested by manu in ticket #484): sys/fs/nilfs/nilfs_vnops.c: revision 1.18 sys/ufs/ufs/ufs_lookup.c: revision 1.117 sys/nfs/nfs_vnops.c: revision 1.295 sys/ufs/chfs/chfs_vnops.c: revision 1.8 sys/ufs/ext2fs/ext2fs_lookup.c: revision 1.70 sys/fs/unionfs/unionfs_vnops.c: revision 1.6 sys/kern/vfs_cache.c: revision 1.89 sys/fs/efs/efs_vnops.c: revision 1.26 sys/fs/hfs/hfs_vnops.c: revision 1.26 sys/fs/adosfs/adlookup.c: revision 1.16 sys/fs/puffs/puffs_vnops.c: revision 1.168 sys/fs/tmpfs/tmpfs_vnops.c: revision 1.98 sys/fs/ntfs/ntfs_vnops.c: revision 1.52 sys/fs/cd9660/cd9660_lookup.c: revision 1.20 sys/fs/msdosfs/msdosfs_lookup.c: revision 1.24 sys/fs/smbfs/smbfs_vnops.c: revision 1.80 sys/fs/udf/udf_vnops.c: revision 1.72 sys/fs/filecorefs/filecore_lookup.c: revision 1.14 sys/fs/puffs/puffs_node.c: revision 1.25 Move some the test for MAKEENTRY into the cache_enter(9). Make some variables in vfs_cache.c static, __read_mostly, etc. No objection on tech-kern@.
|
| 1.70.2.4 | 03-Dec-2017 |
jdolecek | update from HEAD
|
| 1.70.2.3 | 20-Aug-2014 |
tls | Rebase to HEAD as of a few days ago.
|
| 1.70.2.2 | 25-Feb-2013 |
tls | resync with head
|
| 1.70.2.1 | 20-Nov-2012 |
tls | Resync to 2012-11-19 00:00:00 UTC
|
| 1.73.2.1 | 18-May-2014 |
rmind | sync with head
|
| 1.74.2.1 | 10-Aug-2014 |
tls | Rebase.
|
| 1.77.4.4 | 05-Oct-2016 |
skrll | Sync with HEAD
|
| 1.77.4.3 | 09-Jul-2016 |
skrll | Sync with HEAD
|
| 1.77.4.2 | 19-Mar-2016 |
skrll | Sync with HEAD
|
| 1.77.4.1 | 06-Apr-2015 |
skrll | Sync with HEAD
|
| 1.88.22.1 | 19-Jan-2020 |
ad | Set IMNT_SHRLOOKUP and use it for the in-cache case. Need to check what more can be done with tmpfs though, it can probably do the whole lookup.
|
| 1.88.16.1 | 08-Apr-2020 |
martin | Merge changes from current as of 20200406
|
| 1.94.6.1 | 02-Aug-2025 |
perseant | Sync with HEAD
|
| 1.79 | 19-Oct-2024 |
jakllsch | ufs: base amount of data to sync on MAXPHYS instead of constant
No functional change except on sun2 and sun3, as ilog2(MAXPHYS) is the same as the previous constant (16) on all other ports. On sun[23] this changes amount written from 56KiB/8KiB to 2x 32KiB.
|
| 1.78 | 20-Oct-2021 |
thorpej | branches: 1.78.10; Overhaul of the EVFILT_VNODE kevent(2) filter:
- Centralize vnode kevent handling in the VOP_*() wrappers, rather than forcing each individual file system to deal with it (except VOP_RENAME(), because VOP_RENAME() is a mess and we currently have 2 different ways of handling it; at least it's reasonably well-centralized in the "new" way). - Add support for NOTE_OPEN, NOTE_CLOSE, NOTE_CLOSE_WRITE, and NOTE_READ, compatible with the same events in FreeBSD. - Track which kevent notifications clients are interested in receiving to avoid doing work for events no one cares about (avoiding, e.g. taking locks and traversing the klist to send a NOTE_WRITE when someone is merely watching for a file to be deleted, for example).
In support of the above:
- Add support in vnode_if.sh for specifying PRE- and POST-op handlers, to be invoked before and after vop_pre() and vop_post(), respectively. Basic idea from FreeBSD, but implemented differently. - Add support in vnode_if.sh for specifying CONTEXT fields in the vop_*_args structures. These context fields are used to convey information between the file system VOP function and the VOP wrapper, but do not occupy an argument slot in the VOP_*() call itself. These context fields are initialized and subsequently interpreted by PRE- and POST-op handlers. - Version VOP_REMOVE(), uses the a context field for the file system to report back the resulting link count of the target vnode. Return this in tmpfs, udf, nfs, chfs, ext2fs, lfs, and ufs.
NetBSD 9.99.92.
|
| 1.77 | 23-Apr-2020 |
ad | PR kern/54759 (vm.ubc_direct deadlock when read()/write() into mapping of itself)
- Add new flag UBC_ISMAPPED which tells ubc_uiomove() the object is mmap()ed somewhere. Use it to decide whether to do direct-mapped copy, rather than poking around directly in the vnode in ubc_uiomove(), which is ugly and doesn't work for tmpfs. It would be nicer to contain all this in UVM but the filesystem provides the needed locking here (VV_MAPPED) and to reinvent that would suck more.
- Rename UBC_UNMAP_FLAG() to UBC_VNODE_FLAGS(). Pass in UBC_ISMAPPED where appropriate.
|
| 1.76 | 23-Feb-2020 |
ad | branches: 1.76.4; UVM locking changes, proposed on tech-kern:
- Change the lock on uvm_object, vm_amap and vm_anon to be a RW lock. - Break v_interlock and vmobjlock apart. v_interlock remains a mutex. - Do partial PV list locking in the x86 pmap. Others to follow later.
|
| 1.75 | 13-Aug-2016 |
christos | branches: 1.75.16; 1.75.22; KNF, no functional changes...
|
| 1.74 | 28-Mar-2015 |
maxv | Remove the 'cred' argument from bread(). Remove a now unused var in ffs_snapshot.c. Update the man page accordingly.
ok hannken@
|
| 1.73 | 28-Mar-2015 |
riastradh | Let I/O errors override inode update errors in UFS.
Fixes tests/fs/vfs/t_io:read_fault for UFS.
|
| 1.72 | 28-Mar-2015 |
maxv | Remove the 'cred' argument from breadn(), and update the man page accordingly.
ok hannken@
|
| 1.71 | 28-Mar-2015 |
riastradh | Factor out post-read/write inode updates in UFS.
|
| 1.70 | 28-Mar-2015 |
riastradh | Turn some `#if DIAGNOSTIC' into KASSERT.
|
| 1.69 | 28-Mar-2015 |
riastradh | Missed another spot, in ext2fs_write.
|
| 1.68 | 28-Mar-2015 |
riastradh | Missed a spot in ext2fs_read
|
| 1.67 | 27-Mar-2015 |
riastradh | Disentangle buffer-cached I/O from page-cached I/O in UFS.
Page-cached I/O is used for regular files, and is initiated by VFS users such as userland and NFS.
Buffer-cached I/O is used for directories and symlinks, and is issued only internally by UFS.
New UFS routine ufs_bufio replaces vn_rdwr for internal use. ufs_bufio is implemented by new UFS operations uo_bufrd/uo_bufwr, which sit in ufs_readwrite.c alongside the VOP_READ/VOP_WRITE implementations.
I preserved the code as much as possible and will leave further simplification for future commits. I kept the ulfs_readwrite.c copypasta close to ufs_readwrite.c in case we ever want to merge them back; likewise ext2fs_readwrite.c.
No externally visible semantic change. All atf fs tests still pass.
|
| 1.66 | 09-Nov-2014 |
maxv | branches: 1.66.2; Do not uselessly include <sys/malloc.h>.
|
| 1.65 | 12-Aug-2014 |
maxv | http://m00nbsd.net/ae123a9bae03f7dde5c6d654412daf5a.html#Report-2
#04-0x02: Remove 'doclusterread' and 'doclusterwrite' (unused).
|
| 1.64 | 23-Jun-2013 |
dholland | branches: 1.64.8; Stick ffs_, ext2_, chfs_, filecore_, cd9660_, or mfs_ in front of the following symbols so as to disambiguate fully. (Christos already did the lfs ones.)
lblkno lblktosize lfragtosize numfrags blkroundup fragroundup
|
| 1.63 | 19-Jun-2013 |
dholland | Rename ambiguous macros: MAXDIRSIZE -> UFS_MAXDIRSIZE or LFS_MAXDIRSIZE NINDIR -> FFS_NINDIR, EXT2_NINDIR, LFS_NINDIR, or MFS_NINDIR INOPB -> FFS_INOPB, LFS_INOPB INOPF -> FFS_INOPF, LFS_INOPF blksize -> ffs_blksize, ext2_blksize, or lfs_blksize sblksize -> ffs_blksize
These are not the only ambiguously defined filesystem macros, of course, there's a pile more. I may not have found all the ambiguous definitions of blksize(), too, as there are a lot of other things called 'blksize' in the system.
|
| 1.62 | 21-Nov-2012 |
jakllsch | Write support for the Ext4 Read-only Compatible Feature "huge_file".
Primarily, this feature extends the inode block count field to 48 bits. Additionally, this feature allows this field to be represented in file system block size units rather than DEV_BSIZE units.
|
| 1.61 | 29-Apr-2012 |
chs | branches: 1.61.2; change vflushbuf() to take the full FSYNC_* flags. translate FSYNC_LAZY into PGO_LAZY for VOP_PUTPAGES() so that genfs_do_io() can set the appropriate io priority for the I/O. this is the first part of addressing PR 46325.
|
| 1.60 | 17-Apr-2012 |
christos | it is not an error if the kernel needs to clear the setuid/ setgid bit on write/chown/chgrp
|
| 1.59 | 13-Mar-2012 |
elad | Replace the remaining KAUTH_GENERIC_ISSUSER authorization calls with something meaningful. All relevant documentation has been updated or written.
Most of these changes were brought up in the following messages:
http://mail-index.netbsd.org/tech-kern/2012/01/18/msg012490.html http://mail-index.netbsd.org/tech-kern/2012/01/19/msg012502.html http://mail-index.netbsd.org/tech-kern/2012/02/17/msg012728.html
Thanks to christos, manu, njoly, and jmmv for input.
Huge thanks to pgoyette for spinning these changes through some build cycles and ATF.
|
| 1.58 | 18-Nov-2011 |
christos | branches: 1.58.4; 1.58.6; Obey MNT_RELATIME, the only addition is that mkdir in ufs sets IN_ACCESS too.
|
| 1.57 | 12-Jun-2011 |
rmind | branches: 1.57.2; Welcome to 5.99.53! Merge rmind-uvmplock branch:
- Reorganize locking in UVM and provide extra serialisation for pmap(9). New lock order: [vmpage-owner-lock] -> pmap-lock.
- Simplify locking in some pmap(9) modules by removing P->V locking.
- Use lock object on vmobjlock (and thus vnode_t::v_interlock) to share the locks amongst UVM objects where necessary (tmpfs, layerfs, unionfs).
- Rewrite and optimise x86 TLB shootdown code, make it simpler and cleaner. Add TLBSTATS option for x86 to collect statistics about TLB shootdowns.
- Unify /dev/mem et al in MI code and provide required locking (removes kernel-lock on some ports). Also, avoid cache-aliasing issues.
Thanks to Andrew Doran and Joerg Sonnenberger, as their initial patches formed the core changes of this branch.
|
| 1.56 | 23-Apr-2010 |
pooka | branches: 1.56.6; Enforce RLIMIT_FSIZE before VOP_WRITE. This adds support to file system drivers where it was missing from and fixes one buggy implementation. The arguably weird semantics of the check are maintained (v_size vs. va_bytes, overwrite).
|
| 1.55 | 19-Oct-2009 |
bouyer | branches: 1.55.2; 1.55.4; Remove closes 3 & 4 from my licence. Lots of thanks to Soren Jacobsen for the booring work !
|
| 1.54 | 12-Sep-2009 |
tsutsui | Migrate from u_intNN_t to uintNN_t.
|
| 1.53 | 26-Nov-2008 |
pooka | Rototill all remaining file systems to use ubc_uiomove() instead of the ubc_alloc() - uiomove() - ubc_release() dance.
|
| 1.52 | 16-May-2008 |
hannken | branches: 1.52.4; 1.52.6; Make sure all cached buffers with valid, not yet written data have been run through copy-on-write. Call fscow_run() with valid data where possible.
The LP_UFSCOW hack is no longer needed to protect ffs_copyonwrite() against endless recursion.
- Add a flag B_MODIFY to bread(), breada() and breadn(). If set the caller intends to modify the buffer returned.
- Always run copy-on-write on buffers returned from ffs_balloc().
- Add new function ffs_getblk() that gets a buffer, assigns a new blkno, may clear the buffer and runs copy-on-write. Process possible errors from getblk() or fscow_run(). Part of PR kern/38664.
Welcome to 4.99.63
Reviewed by: YAMAMOTO Takashi <yamt@netbsd.org>
|
| 1.51 | 24-Apr-2008 |
ad | branches: 1.51.2; 1.51.4; Network protocol interrupts can now block on locks, so merge the globals proclist_mutex and proclist_lock into a single adaptive mutex (proc_lock). Implications:
- Inspecting process state requires thread context, so signals can no longer be sent from a hardware interrupt handler. Signal activity must be deferred to a soft interrupt or kthread.
- As the proc state locking is simplified, it's now safe to take exit() and wait() out from under kernel_lock.
- The system spends less time at IPL_SCHED, and there is less lock activity.
|
| 1.50 | 02-Jan-2008 |
ad | branches: 1.50.6; 1.50.8; Merge vmlocking2 to head.
|
| 1.49 | 08-Dec-2007 |
pooka | branches: 1.49.4; Remove cn_lwp from struct componentname. curlwp should be used from on. The NDINIT() macro no longer takes the lwp parameter and associates the credentials of the calling thread with the namei structure.
|
| 1.48 | 08-Oct-2007 |
ad | branches: 1.48.4; 1.48.6; Merge ffs locking & brelse changes from the vmlocking branch.
|
| 1.47 | 05-Jun-2007 |
yamt | branches: 1.47.6; 1.47.8; 1.47.10; improve post-ubc file overwrite performance in common cases. ie. when it's safe, actually overwrite blocks rather than doing read-modify-write.
also fixes PR/33152 and PR/36303.
|
| 1.46 | 19-Apr-2007 |
yamt | hold proclist_mutex when calling psignal().
|
| 1.45 | 21-Feb-2007 |
thorpej | branches: 1.45.4; 1.45.6; Replace the Mach-derived boolean_t type with the C99 bool type. A future commit will replace use of TRUE and FALSE with true and false.
|
| 1.44 | 04-Jan-2007 |
elad | branches: 1.44.2; Consistent usage of KAUTH_GENERIC_ISSUSER.
|
| 1.43 | 14-May-2006 |
elad | branches: 1.43.8; integrate kauth.
|
| 1.42 | 01-Mar-2006 |
yamt | branches: 1.42.2; 1.42.4; 1.42.6; merge yamt-uio_vmspace branch.
- use vmspace rather than proc or lwp where appropriate. the latter is more natural to specify an address space. (and less likely to be abused for random purposes.) - fix a swdmover race.
|
| 1.41 | 14-Jan-2006 |
christos | branches: 1.41.2; 1.41.4; Protect against uio_lwp being NULL from Pavel Cahyna
|
| 1.40 | 11-Dec-2005 |
christos | branches: 1.40.2; merge ktrace-lwp.
|
| 1.39 | 29-Nov-2005 |
yamt | merge yamt-readahead branch.
|
| 1.38 | 02-Nov-2005 |
yamt | branches: 1.38.2; merge yamt-vop branch. remove following VOPs.
VOP_BLKATOFF VOP_VALLOC VOP_BALLOC VOP_REALLOCBLKS VOP_VFREE VOP_TRUNCATE VOP_UPDATE
|
| 1.37 | 30-Aug-2005 |
xtraeme | branches: 1.37.2; * Remove __P() * Use ANSI function declarations on ext2fs and mfs
|
| 1.36 | 09-Feb-2005 |
ws | branches: 1.36.6; Add support for large files (>2GB). Like Linux, automagically convert old filesystem to use this, if they are already at revision 1. For revision 0, just punt (unlike Linux; makes me a bit too nervous.)
There should be an option to fsck_ext2fs to upgrade revision 0 to revision 1.
Reviewd by Manuel (bouyer@).
|
| 1.35 | 09-Jan-2005 |
chs | branches: 1.35.2; 1.35.4; adjust the UBC mapping code to support non-vnode uvm_objects. this means we can no longer look at the vnode size to determine how many pages to request in a fault, which is good since for NFS the size can change out from under us on the server anyway. there's also a new flag UBC_UNMAP for ubc_release(), so that the file system code can make the decision about whether to cache mappings for files being used as executables.
|
| 1.34 | 14-Nov-2004 |
christos | Remove erroneous KASSERT; i_size is one of the fields mentioned in <ufs/inode.h> as unused by ext2fs.
|
| 1.33 | 15-Aug-2004 |
mycroft | Fixing age old cruft: * Rather than using mnt_maxsymlinklen to indicate that a file systems returns d_type fields(!), add a new internal flag, IMNT_DTYPE.
Add 3 new elements to ufsmount: * um_maxsymlinklen, replaces mnt_maxsymlinklen (which never should have existed in the first place). * um_dirblksiz, which tracks the current directory block size, eliminating the FS-specific checks littered throughout the code. This may be used later to make the block size variable. * um_maxfilesize, which is the maximum file size, possibly adjusted lower due to implementation issues.
Sync some bug fixes from FFS into ext2fs, particularly: * ffs_lookup.c 1.21, 1.28, 1.33, 1.48 * ffs_inode.c 1.43, 1.44, 1.45, 1.66, 1.67 * ffs_vnops.c 1.84, 1.85, 1.86
Clean up some crappy pointer frobnication.
|
| 1.32 | 22-Mar-2004 |
bouyer | Fix disclaimer in my copyright. Pointed out by Thomas Klausner.
|
| 1.31 | 05-Oct-2003 |
bouyer | Remove references to University of California from my copyright notices.
|
| 1.30 | 07-Aug-2003 |
agc | Move UCB-licensed code from 4-clause to 3-clause licence.
Patches provided by Joel Baker in PR 22364, verified by myself.
|
| 1.29 | 29-Jun-2003 |
fvdl | branches: 1.29.2; Back out the lwp/ktrace changes. They contained a lot of colateral damage, and need to be examined and discussed more.
|
| 1.28 | 28-Jun-2003 |
darrenr | Pass lwp pointers throughtout the kernel, as required, so that the lwpid can be inserted into ktrace records. The general change has been to replace "struct proc *" with "struct lwp *" in various function prototypes, pass the lwp through and use l_proc to get the process pointer when needed.
Bump the kernel rev up to 1.6V
|
| 1.27 | 24-Jan-2003 |
fvdl | Bump daddr_t to 64 bits. Replace it with int32_t in all places where it was used on-disk, so that on-disk formats remain the same. Remove ufs_daddr_t and ufs_lbn_t for the time being.
|
| 1.26 | 23-Oct-2002 |
jdolecek | merge kqueue branch into -current
kqueue provides a stateful and efficient event notification framework currently supported events include socket, file, directory, fifo, pipe, tty and device changes, and monitoring of processes and signals
kqueue is supported by all writable filesystems in NetBSD tree (with exception of Coda) and all device drivers supporting poll(2)
based on work done by Jonathan Lemon for FreeBSD initial NetBSD port done by Luke Mewburn and Jason Thorpe
|
| 1.25 | 22-Sep-2002 |
jdolecek | don't need <sys/conf.h> here
|
| 1.24 | 25-Mar-2002 |
chs | if the size argument to write(2) is 0, do not modify the file in any way, including updating timestamps. required for standards conformance.
|
| 1.23 | 17-Mar-2002 |
chs | don't do any flush-behind for async mounts. this matches the traditional behaviour.
|
| 1.22 | 30-Nov-2001 |
chs | VOP_PUTPAGES() requires page-aligned offsets, so be sure to provide such. fixes PR 14759.
(while I'm here, call VOP_PUTPAGES() directly instead of indirecting through the UVM pager op vector.)
|
| 1.21 | 10-Nov-2001 |
chs | track some changes in the ufs code: update UVM's notion of the file size in *_write() rather than *_balloc().
|
| 1.20 | 08-Nov-2001 |
lukem | add RCSID
|
| 1.19 | 26-Oct-2001 |
lukem | remove #include <ufs/ufs/quota.h> where it was just to appease <ufs/ufs/inode.h>, since the latter now includes the former. leave the former in source that obviously uses specific bits of it (for completeness.)
|
| 1.18 | 22-Sep-2001 |
chs | branches: 1.18.2; check early for reads beyond EOF.
|
| 1.17 | 15-Sep-2001 |
chs | a whole bunch of changes to improve performance and robustness under load:
- remove special treatment of pager_map mappings in pmaps. this is required now, since I've removed the globals that expose the address range. pager_map now uses pmap_kenter_pa() instead of pmap_enter(), so there's no longer any need to special-case it. - eliminate struct uvm_vnode by moving its fields into struct vnode. - rewrite the pageout path. the pager is now responsible for handling the high-level requests instead of only getting control after a bunch of work has already been done on its behalf. this will allow us to UBCify LFS, which needs tighter control over its pages than other filesystems do. writing a page to disk no longer requires making it read-only, which allows us to write wired pages without causing all kinds of havoc. - use a new PG_PAGEOUT flag to indicate that a page should be freed on behalf of the pagedaemon when it's unlocked. this flag is very similar to PG_RELEASED, but unlike PG_RELEASED, PG_PAGEOUT can be cleared if the pageout fails due to eg. an indirect-block buffer being locked. this allows us to remove the "version" field from struct vm_page, and together with shrinking "loan_count" from 32 bits to 16, struct vm_page is now 4 bytes smaller. - no longer use PG_RELEASED for swap-backed pages. if the page is busy because it's being paged out, we can't release the swap slot to be reallocated until that write is complete, but unlike with vnodes we don't keep a count of in-progress writes so there's no good way to know when the write is done. instead, when we need to free a busy swap-backed page, just sleep until we can get it busy ourselves. - implement a fast-path for extending writes which allows us to avoid zeroing new pages. this substantially reduces cpu usage. - encapsulate the data used by the genfs code in a struct genfs_node, which must be the first element of the filesystem-specific vnode data for filesystems which use genfs_{get,put}pages(). - eliminate many of the UVM pagerops, since they aren't needed anymore now that the pager "put" operation is a higher-level operation. - enhance the genfs code to allow NFS to use the genfs_{get,put}pages instead of a modified copy. - clean up struct vnode by removing all the fields that used to be used by the vfs_cluster.c code (which we don't use anymore with UBC). - remove kmem_object and mb_object since they were useless. instead of allocating pages to these objects, we now just allocate pages with no object. such pages are mapped in the kernel until they are freed, so we can use the mapping to find the page to free it. this allows us to remove splvm() protection in several places.
The sum of all these changes improves write throughput on my decstation 5000/200 to within 1% of the rate of NetBSD 1.5 and reduces the elapsed time for "make release" of a NetBSD 1.5 source tree on my 128MB pc to 10% less than a 1.5 kernel took.
|
| 1.16 | 27-Feb-2001 |
chs | branches: 1.16.2; 1.16.6; 1.16.8; min() -> MIN(), max() -> MAX(). fixes more problems with file offsets > 4GB.
|
| 1.15 | 01-Dec-2000 |
chs | fix merge error: ext2fs uses a custom balloc rather than a VOP-style one.
|
| 1.14 | 27-Nov-2000 |
chs | Initial integration of the Unified Buffer Cache project.
|
| 1.13 | 28-Jun-2000 |
mrg | remove include of <vm/vm.h> and <uvm/uvm_extern.h>
|
| 1.12 | 13-May-2000 |
perseant | Change the sementics of the last parameter from a boolean ("waitfor") to a set of flags ("flags"). Two flags are defined, UPDATE_WAIT and UPDATE_DIROP.
Under the old semantics, VOP_UPDATE would block if waitfor were set, under the assumption that directory operations should be done synchronously. At least LFS and FFS+softdep do not make this assumption; FFS+softdep got around the problem by enclosing all relevant calls to VOP_UPDATE in a "if(!DOINGSOFTDEP(vp))", while LFS simply ignored waitfor, one of the reasons why NFS-serving an LFS filesystem did not work properly.
Under the new semantics, the UPDATE_DIROP flag is a hint to the fs-specific update routine that the call comes from a dirop routine, and should be wait for, or not, accordingly.
Closes PR#8996.
|
| 1.11 | 30-Mar-2000 |
augustss | Remove register declarations.
|
| 1.10 | 24-Mar-1999 |
mrg | branches: 1.10.4; 1.10.8; completely remove Mach VM support. all that is left is the all the header files as UVM still uses (most of) these.
|
| 1.9 | 05-Mar-1999 |
mycroft | Pass null pointers to VOP_UPDATE rather than having all the callers fetch the current time themselves.
|
| 1.8 | 29-Sep-1998 |
bouyer | #include opt_uvm.h only if _KENREL and !_LKM Make ext2fs_init() call ufs_init(). it was doing the init by itself, testing for extern done != 0. This bug was hidden by the fact that ext2fs_init() is called before ffs_init().
|
| 1.7 | 02-Aug-1998 |
kleink | Implement support for IEEE Std 1003.1b-1993 synchronous I/O: * in the read vnode operator, check for IO_SYNC being set in the ioflag and synchronously update the file's meta-data if appropriate. * in the write vnode operator, update the appropriate checks for IO_SYNC being set in the ioflag to reflect that IO_DSYNC is now inclusive-or'ed into IO_SYNC, and require all IO_SYNC bits to be set for operations defined by synchronized I/O file integrity completion but not by synchronized I/O data integrity completion.
|
| 1.6 | 01-Mar-1998 |
fvdl | Merge with Lite2 + local changes
|
| 1.5 | 10-Feb-1998 |
mrg | - add defopt's for UVM, UVMHIST and PMAP_NEW. - remove unnecessary UVMHIST_DECL's.
|
| 1.4 | 05-Feb-1998 |
mrg | initial import of the new virtual memory system, UVM, into -current.
UVM was written by chuck cranor <chuck@maria.wustl.edu>, with some minor portions derived from the old Mach code. i provided some help getting swap and paging working, and other bug fixes/ideas. chuck silvers <chuq@chuq.com> also provided some other fixes.
this is the rest of the MI portion changes.
this will be KNF'd shortly. :-)
|
| 1.3 | 23-Oct-1997 |
bouyer | Uses ext2fs_vinit not ufs_vinit. In ext2fs, an inode is deleted either when mode == 0 or dtime != 0. If dtime != 0, reset others fields before using the inode, or we could end up with the wrong v_op in ext2fs_vinit. While I'm there, kill a unused variable in ext2fs_readwrite
|
| 1.2 | 04-Jul-1997 |
drochner | branches: 1.2.6; Don't cast 64bit (off_t) file sizes to vm_offset_t (32bit on many architectures), truncate them intelligently instead. The truncation is done centralized in vnode_pager.c. This prevents from wrap-over effects when parts of large (>2^32 byte) files are mmapped. Don't allow to mmap above the numerical range of vm_offset_t. This is considered a temporary solution until the vm system handles the object sizes/offsets more cleanly.
|
| 1.1 | 11-Jun-1997 |
bouyer | The ext2fs layer, based on the ffs/ufs one. Uses a few functions from sys/ufs/ufs/
|
| 1.2.6.1 | 24-Oct-1997 |
thorpej | Pull up from trunk: kill an unused variable.
|
| 1.10.8.3 | 12-Mar-2001 |
bouyer | Sync with HEAD.
|
| 1.10.8.2 | 08-Dec-2000 |
bouyer | Sync with HEAD.
|
| 1.10.8.1 | 20-Nov-2000 |
bouyer | Update thorpej_scsipi to -current as of a month ago
|
| 1.10.4.2 | 06-Aug-1999 |
chs | UBCify.
|
| 1.10.4.1 | 11-Jul-1999 |
chs | remove uvm_vnp_uncache(), it's no longer needed.
|
| 1.16.8.1 | 01-Oct-2001 |
fvdl | Catch up with -current.
|
| 1.16.6.4 | 10-Oct-2002 |
jdolecek | sync kqueue with -current; this includes merge of gehenna-devsw branch, merge of i386 MP branch, and part of autoconf rototil work
|
| 1.16.6.3 | 26-Sep-2002 |
jdolecek | add support for kevents - sprikle VN_KNOTE() and add genfs_kqfilter() to vnode ops; basically same thing as in ufs_readwrite.c and ufs_vnops.c
|
| 1.16.6.2 | 23-Jun-2002 |
jdolecek | catch up with -current on kqueue branch
|
| 1.16.6.1 | 10-Jan-2002 |
thorpej | Sync kqueue branch with -current.
|
| 1.16.2.7 | 11-Nov-2002 |
nathanw | Catch up to -current
|
| 1.16.2.6 | 18-Oct-2002 |
nathanw | Catch up to -current.
|
| 1.16.2.5 | 01-Apr-2002 |
nathanw | Catch up to -current. (CVS: It's not just a program. It's an adventure!)
|
| 1.16.2.4 | 08-Jan-2002 |
nathanw | Catch up to -current.
|
| 1.16.2.3 | 14-Nov-2001 |
nathanw | Catch up to -current.
|
| 1.16.2.2 | 26-Sep-2001 |
nathanw | Catch up to -current. Again.
|
| 1.16.2.1 | 21-Sep-2001 |
nathanw | Catch up to -current.
|
| 1.18.2.1 | 12-Nov-2001 |
thorpej | Sync the thorpej-mips-cache branch with -current.
|
| 1.29.2.10 | 11-Dec-2005 |
christos | Sync with head.
|
| 1.29.2.9 | 10-Nov-2005 |
skrll | Sync with HEAD. Here we go again...
|
| 1.29.2.8 | 15-Feb-2005 |
skrll | Sync with HEAD.
|
| 1.29.2.7 | 17-Jan-2005 |
skrll | Sync with HEAD.
|
| 1.29.2.6 | 29-Nov-2004 |
skrll | Sync with HEAD.
|
| 1.29.2.5 | 21-Sep-2004 |
skrll | Fix the sync with head I botched.
|
| 1.29.2.4 | 18-Sep-2004 |
skrll | Sync with HEAD.
|
| 1.29.2.3 | 25-Aug-2004 |
skrll | Sync with HEAD.
|
| 1.29.2.2 | 03-Aug-2004 |
skrll | Sync with HEAD
|
| 1.29.2.1 | 02-Jul-2003 |
darrenr | Apply the aborted ktrace-lwp changes to a specific branch. This is just for others to review, I'm concerned that patch fuziness may have resulted in some errant code being generated but I'll look at that later by comparing the diff from the base to the branch with the file I attempt to apply to it. This will, at the very least, put the changes in a better context for others to review them and attempt to tinker with removing passing of 'struct lwp' through the kernel.
|
| 1.35.4.1 | 12-Feb-2005 |
yamt | sync with head.
|
| 1.35.2.1 | 29-Apr-2005 |
kent | sync with -current
|
| 1.36.6.5 | 21-Jan-2008 |
yamt | sync with head
|
| 1.36.6.4 | 27-Oct-2007 |
yamt | sync with head.
|
| 1.36.6.3 | 03-Sep-2007 |
yamt | sync with head.
|
| 1.36.6.2 | 26-Feb-2007 |
yamt | sync with head.
|
| 1.36.6.1 | 21-Jun-2006 |
yamt | sync with head.
|
| 1.37.2.1 | 20-Oct-2005 |
yamt | adapt ufs.
|
| 1.38.2.6 | 22-Nov-2005 |
yamt | revert a whitespace change.
|
| 1.38.2.5 | 19-Nov-2005 |
yamt | - as read-ahead context is per-vnode now, there are less reasons to make VOP_READ call uvm_ra_request explicitly. move it to pager (uvn_get) so that it can handle accesses via mmap as well. - pass advice to pager via ubc. - tweak DPRINTF.
XXX can be disturbed by PGO_LOCKED.
XXX it's controversial where it should be done. (uvm_fault, uvn_get or genfs_getpages.)
|
| 1.38.2.4 | 19-Nov-2005 |
yamt | - finish reverting VOP_READ prototype changes. - remove unused variables. - fix typos. some of them are pointed by Juan RP.
|
| 1.38.2.3 | 18-Nov-2005 |
yamt | - associate read-ahead context to vnode, rather than file. - revert VOP_READ prototype.
|
| 1.38.2.2 | 15-Nov-2005 |
yamt | add missing include.
|
| 1.38.2.1 | 15-Nov-2005 |
yamt | - adapt to the new prototype of VOP_READ. - adapt ext2fs and union.
|
| 1.40.2.3 | 18-Feb-2006 |
yamt | fix proc/lwp mismatch.
|
| 1.40.2.2 | 15-Jan-2006 |
yamt | convert the rest of ufs.
|
| 1.40.2.1 | 15-Jan-2006 |
yamt | sync with head.
|
| 1.41.4.2 | 01-Jun-2006 |
kardel | Sync with head.
|
| 1.41.4.1 | 22-Apr-2006 |
simonb | Sync with head.
|
| 1.41.2.1 | 09-Sep-2006 |
rpaulo | sync with head
|
| 1.42.6.1 | 24-May-2006 |
tron | Merge 2006-05-24 NetBSD-current into the "peter-altq" branch.
|
| 1.42.4.2 | 06-May-2006 |
christos | - Move kauth_cred_t declaration to <sys/types.h> - Cleanup struct ucred; forward declarations that are unused. - Don't include <sys/kauth.h> in any header, but include it in the c files that need it.
Approved by core.
|
| 1.42.4.1 | 08-Mar-2006 |
elad | Adapt to kernel authorization KPI.
|
| 1.42.2.1 | 24-May-2006 |
yamt | sync with head.
|
| 1.43.8.1 | 12-Jan-2007 |
ad | Sync with head.
|
| 1.44.2.2 | 07-May-2007 |
yamt | sync with head.
|
| 1.44.2.1 | 27-Feb-2007 |
yamt | - sync with head. - move sched_changepri back to kern_synch.c as it doesn't know PPQ anymore.
|
| 1.45.6.1 | 11-Jul-2007 |
mjf | Sync with head.
|
| 1.45.4.4 | 09-Jun-2007 |
ad | Sync with head.
|
| 1.45.4.3 | 08-Jun-2007 |
ad | Sync with head.
|
| 1.45.4.2 | 13-May-2007 |
ad | - Pass the error number and residual count to biodone(), and let it handle setting error indicators. Prepare to eliminate B_ERROR. - Add a flag argument to brelse() to be set into the buf's flags, instead of doing it directly. Typically used to set B_INVAL. - Add a "struct cpu_info *" argument to kthread_create(), to be used to create bound threads. Change "bool mpsafe" to "int flags". - Allow exit of LWPs in the IDL state when (l != curlwp). - More locking fixes & conversion to the new API.
|
| 1.45.4.1 | 05-Apr-2007 |
ad | Compile fixes.
|
| 1.47.10.1 | 14-Oct-2007 |
yamt | sync with head.
|
| 1.47.8.2 | 09-Jan-2008 |
matt | sync with HEAD
|
| 1.47.8.1 | 06-Nov-2007 |
matt | sync with HEAD
|
| 1.47.6.2 | 09-Dec-2007 |
jmcneill | Sync with HEAD.
|
| 1.47.6.1 | 26-Oct-2007 |
joerg | Sync with HEAD.
Follow the merge of pmap.c on i386 and amd64 and move pmap_init_tmp_pgtbl into arch/x86/x86/pmap.c. Modify the ACPI wakeup code to restore CR4 before jumping back into kernel space as the large page option might cover that.
|
| 1.48.6.2 | 26-Dec-2007 |
ad | Sync with head.
|
| 1.48.6.1 | 04-Dec-2007 |
ad | Pull the vmlocking changes into a new branch.
|
| 1.48.4.1 | 18-Feb-2008 |
mjf | Sync with HEAD.
|
| 1.49.4.1 | 02-Jan-2008 |
bouyer | Sync with HEAD
|
| 1.50.8.1 | 18-May-2008 |
yamt | sync with head.
|
| 1.50.6.2 | 17-Jan-2009 |
mjf | Sync with HEAD.
|
| 1.50.6.1 | 02-Jun-2008 |
mjf | Sync with HEAD.
|
| 1.51.4.1 | 23-Jun-2008 |
wrstuden | Sync w/ -current. 34 merge conflicts to follow.
|
| 1.51.2.4 | 11-Aug-2010 |
yamt | sync with head.
|
| 1.51.2.3 | 11-Mar-2010 |
yamt | sync with head
|
| 1.51.2.2 | 16-Sep-2009 |
yamt | sync with head
|
| 1.51.2.1 | 04-May-2009 |
yamt | sync with head.
|
| 1.52.6.1 | 19-Jan-2009 |
skrll | Sync with HEAD.
|
| 1.52.4.1 | 13-Dec-2008 |
haad | Update haad-dm branch to haad-dm-base2.
|
| 1.55.4.2 | 30-May-2010 |
rmind | sync with head
|
| 1.55.4.1 | 16-Mar-2010 |
rmind | Change struct uvm_object::vmobjlock to be dynamically allocated with mutex_obj_alloc(). It allows us to share the locks among UVM objects.
|
| 1.55.2.1 | 30-Apr-2010 |
uebayasi | Sync with HEAD.
|
| 1.56.6.1 | 23-Jun-2011 |
cherry | Catchup with rmind-uvmplock merge.
|
| 1.57.2.4 | 22-May-2014 |
yamt | sync with head.
for a reference, the tree before this commit was tagged as yamt-pagecache-tag8.
this commit was splitted into small chunks to avoid a limitation of cvs. ("Protocol error: too many arguments")
|
| 1.57.2.3 | 16-Jan-2013 |
yamt | sync with (a bit old) head
|
| 1.57.2.2 | 23-May-2012 |
yamt | sync with head.
|
| 1.57.2.1 | 17-Apr-2012 |
yamt | sync with head
|
| 1.58.6.1 | 07-May-2012 |
riz | Pull up following revision(s) (requested by chs in ticket #204): sys/fs/sysvbfs/sysvbfs_vnops.c: revision 1.44 sys/ufs/ffs/ffs_vfsops.c: revision 1.277 sys/fs/v7fs/v7fs_vnops.c: revision 1.11 sys/ufs/chfs/chfs_vnops.c: revision 1.7 sys/ufs/ext2fs/ext2fs_readwrite.c: revision 1.61 sys/miscfs/genfs/genfs_io.c: revision 1.54 sys/kern/vfs_wapbl.c: revision 1.52 sys/uvm/uvm_pager.h: revision 1.43 sys/ufs/ffs/ffs_vnops.c: revision 1.121 sys/kern/vfs_subr.c: revision 1.434 sys/fs/msdosfs/msdosfs_vnops.c: revision 1.83 sys/fs/ntfs/ntfs_vnops.c: revision 1.51 sys/fs/udf/udf_subr.c: revision 1.119 sys/miscfs/specfs/spec_vnops.c: revision 1.135 sys/ufs/ext2fs/ext2fs_vnops.c: revision 1.103 sys/fs/udf/udf_vnops.c: revision 1.71 sys/ufs/ufs/ufs_readwrite.c: revision 1.104 change vflushbuf() to take the full FSYNC_* flags. translate FSYNC_LAZY into PGO_LAZY for VOP_PUTPAGES() so that genfs_do_io() can set the appropriate io priority for the I/O. this is the first part of addressing PR 46325. mark all wapbl I/O as BPRIO_TIMECRITICAL. this is the second part of addressing PR 46325.
|
| 1.58.4.3 | 02-Jun-2012 |
mrg | sync to latest -current.
|
| 1.58.4.2 | 29-Apr-2012 |
mrg | sync to latest -current.
|
| 1.58.4.1 | 05-Apr-2012 |
mrg | sync to latest -current.
|
| 1.61.2.4 | 03-Dec-2017 |
jdolecek | update from HEAD
|
| 1.61.2.3 | 20-Aug-2014 |
tls | Rebase to HEAD as of a few days ago.
|
| 1.61.2.2 | 23-Jun-2013 |
tls | resync from head
|
| 1.61.2.1 | 25-Feb-2013 |
tls | resync with head
|
| 1.64.8.2 | 17-Jan-2015 |
martin | Pull up following revision(s) (requested by maxv in ticket #427): sys/compat/svr4/svr4_schedctl.c: revision 1.8 sys/netinet/tcp_timer.c: revision 1.88 sys/miscfs/genfs/layer_vfsops.c: revision 1.45 sys/compat/svr4/svr4_ioctl.c: revision 1.37 sys/ufs/chfs/chfs_vfsops.c: revision 1.14 sys/miscfs/fdesc/fdesc_vfsops.c: revision 1.91 sys/compat/linux/arch/i386/linux_ptrace.c: revision 1.30 sys/compat/common/kern_time_50.c: revision 1.28 sys/netinet6/ip6_forward.c: revision 1.74 sys/miscfs/umapfs/umap_vnops.c: revision 1.57 sys/compat/svr4/svr4_fcntl.c: revision 1.74 distrib/sets/lists/comp/mi: revision 1.1931 sys/netinet6/udp6_output.c: revision 1.46 sys/fs/puffs/puffs_compat.c: revision 1.3 sys/fs/udf/udf_rename.c: revision 1.11 sys/compat/svr4/svr4_filio.c: revision 1.24 sys/fs/udf/udf_rename.c: revision 1.12 sys/netinet/tcp_usrreq.c: revision 1.202 sys/miscfs/umapfs/umap_subr.c: revision 1.29 sys/compat/linux/common/linux_fadvise64.c: revision 1.3 sys/netinet/if_atm.c: revision 1.34 sys/miscfs/procfs/procfs_subr.c: revision 1.106 sys/miscfs/genfs/layer_subr.c: revision 1.37 sys/netinet/tcp_sack.c: revision 1.30 sys/compat/freebsd/freebsd_misc.c: revision 1.33 sys/compat/freebsd/freebsd_file.c: revision 1.33 sys/ufs/chfs/chfs_vnode.c: revision 1.12 sys/compat/svr4/svr4_ttold.c: revision 1.34 sys/compat/linux/common/linux_file.c: revision 1.114 sys/compat/linux/arch/mips/linux_machdep.c: revision 1.43 sys/compat/linux/common/linux_signal.c: revision 1.76 sys/compat/common/compat_util.c: revision 1.46 sys/compat/linux/arch/arm/linux_ptrace.c: revision 1.18 sys/compat/svr4/svr4_sockio.c: revision 1.36 sys/compat/linux/arch/arm/linux_machdep.c: revision 1.32 sys/compat/svr4/svr4_signal.c: revision 1.66 sys/kern/kern_exec.c: revision 1.410 sys/fs/puffs/puffs_vfsops.c: revision 1.115 sys/compat/svr4/svr4_exec_elf64.c: revision 1.15 sys/compat/linux/arch/i386/linux_machdep.c: revision 1.159 sys/compat/linux/arch/alpha/linux_machdep.c: revision 1.50 sys/compat/linux32/common/linux32_misc.c: revision 1.24 sys/netinet/in_pcb.c: revision 1.153 sys/sys/malloc.h: revision 1.116 sys/compat/common/if_43.c: revision 1.9 share/man/man9/Makefile: revision 1.380 sys/netinet/tcp_vtw.c: revision 1.12 sys/miscfs/umapfs/umap_vfsops.c: revision 1.95 sys/ufs/ext2fs/ext2fs_vfsops.c: revision 1.186 sys/compat/common/uipc_syscalls_43.c: revision 1.46 sys/ufs/ext2fs/ext2fs_vnops.c: revision 1.115 sys/fs/puffs/puffs_msgif.c: revision 1.97 sys/compat/svr4/svr4_ipc.c: revision 1.27 sys/compat/linux/common/linux_exec.c: revision 1.117 sys/ufs/ext2fs/ext2fs_readwrite.c: revision 1.66 sys/netinet/tcp_output.c: revision 1.179 sys/compat/svr4/svr4_termios.c: revision 1.28 sys/fs/udf/udf_strat_bootstrap.c: revision 1.4 sys/fs/puffs/puffs_subr.c: revision 1.67 sys/fs/puffs/puffs_node.c: revision 1.36 sys/miscfs/overlay/overlay_vnops.c: revision 1.21 sys/fs/cd9660/cd9660_node.c: revision 1.34 sys/netinet/raw_ip.c: revision 1.146 sys/sys/mallocvar.h: revision 1.13 sys/miscfs/overlay/overlay_vfsops.c: revision 1.63 share/man/man9/malloc.9: revision 1.50 sys/netinet6/dest6.c: revision 1.18 sys/compat/linux/common/linux_uselib.c: revision 1.33 sys/compat/linux/common/linux_socket.c: revision 1.120 share/man/man9/malloc.9: revision 1.51 sys/netinet/tcp_subr.c: revision 1.257 sys/compat/linux/common/linux_socketcall.c: revision 1.45 sys/compat/linux/common/linux_fadvise64_64.c: revision 1.3 sys/compat/freebsd/freebsd_ipc.c: revision 1.17 sys/compat/linux/common/linux_misc_notalpha.c: revision 1.109 sys/compat/linux/arch/alpha/linux_pipe.c: revision 1.17 sys/netinet6/in6_pcb.c: revision 1.132 sys/netinet6/in6_ifattach.c: revision 1.94 sys/compat/svr4/svr4_exec_elf32.c: revision 1.15 sys/miscfs/nullfs/null_vfsops.c: revision 1.90 sys/fs/cd9660/cd9660_util.c: revision 1.12 sys/compat/linux/arch/powerpc/linux_machdep.c: revision 1.48 sys/compat/freebsd/freebsd_exec_elf32.c: revision 1.20 sys/miscfs/procfs/procfs_vfsops.c: revision 1.94 sys/compat/linux/arch/powerpc/linux_ptrace.c: revision 1.28 sys/compat/linux/common/linux_sched.c: revision 1.67 sys/compat/linux/common/linux_exec_aout.c: revision 1.67 sys/compat/linux/common/linux_pipe.c: revision 1.67 sys/compat/linux/common/linux_llseek.c: revision 1.34 sys/compat/linux/arch/mips/linux_ptrace.c: revision 1.10 Do not uselessly include <sys/malloc.h>. Cleanup: - remove struct kmembuckets (dead) - correctly deadify MALLOC_XX - remove MALLOC_DEFINE_LIMIT and MALLOC_JUSTDEFINE_LIMIT (dead) - remove malloc_roundup(), malloc_type_setlimit(), MALLOC_DEFINE_LIMIT() and MALLOC_JUSTDEFINE_LIMIT() from man 9 malloc New sentence, new line. Bump date for previous. Obsolete malloc_roundup(9), malloc_type_setlimit(9) and MALLOC_DEFINE_LIMIT(9) man pages.
|
| 1.64.8.1 | 20-Oct-2014 |
martin | Pullup the following revisions, requested by maxv in ticket #148:
sys/compat/svr4/svr4_stat.c 1.70 sys/dev/dm/dm_target_snapshot.c 1.17 sys/dev/if_ndis/if_ndis_pci.c 1.20 sys/fs/smbfs/smbfs_smb.c 1.45 sys/ufs/ext2fs/ext2fs_readwrite.c 1.65
Various fixes: two memory leaks, a typo, a dead compiler condition and unused macros, respectively in if_ndis and dm, smbfs, svr4 and ext2fs.
|
| 1.66.2.2 | 05-Oct-2016 |
skrll | Sync with HEAD
|
| 1.66.2.1 | 06-Apr-2015 |
skrll | Sync with HEAD
|
| 1.75.22.1 | 29-Feb-2020 |
ad | Sync with head.
|
| 1.75.16.1 | 08-Apr-2020 |
martin | Merge changes from current as of 20200406
|
| 1.76.4.1 | 25-Apr-2020 |
bouyer | Sync with bouyer-xenpvh-base2 (HEAD)
|
| 1.78.10.1 | 02-Aug-2025 |
perseant | Sync with HEAD
|
| 1.13 | 26-Aug-2023 |
riastradh | ext2fs: Nix trailing whitespace.
|
| 1.12 | 20-Oct-2021 |
thorpej | Overhaul of the EVFILT_VNODE kevent(2) filter:
- Centralize vnode kevent handling in the VOP_*() wrappers, rather than forcing each individual file system to deal with it (except VOP_RENAME(), because VOP_RENAME() is a mess and we currently have 2 different ways of handling it; at least it's reasonably well-centralized in the "new" way). - Add support for NOTE_OPEN, NOTE_CLOSE, NOTE_CLOSE_WRITE, and NOTE_READ, compatible with the same events in FreeBSD. - Track which kevent notifications clients are interested in receiving to avoid doing work for events no one cares about (avoiding, e.g. taking locks and traversing the klist to send a NOTE_WRITE when someone is merely watching for a file to be deleted, for example).
In support of the above:
- Add support in vnode_if.sh for specifying PRE- and POST-op handlers, to be invoked before and after vop_pre() and vop_post(), respectively. Basic idea from FreeBSD, but implemented differently. - Add support in vnode_if.sh for specifying CONTEXT fields in the vop_*_args structures. These context fields are used to convey information between the file system VOP function and the VOP wrapper, but do not occupy an argument slot in the VOP_*() call itself. These context fields are initialized and subsequently interpreted by PRE- and POST-op handlers. - Version VOP_REMOVE(), uses the a context field for the file system to report back the resulting link count of the target vnode. Return this in tmpfs, udf, nfs, chfs, ext2fs, lfs, and ufs.
NetBSD 9.99.92.
|
| 1.11 | 15-Aug-2016 |
jdolecek | bump link limit to 65000 for files, and add support for EXT2F_ROCOMPAT_DIR_NLINK to make link count unlimited for directories
|
| 1.10 | 13-Aug-2016 |
christos | KNF, no functional changes...
|
| 1.9 | 06-Aug-2016 |
jdolecek | actually pass the d_type from the on-disk directory entry to the lookup results
|
| 1.8 | 27-Mar-2015 |
riastradh | Disentangle buffer-cached I/O from page-cached I/O in UFS.
Page-cached I/O is used for regular files, and is initiated by VFS users such as userland and NFS.
Buffer-cached I/O is used for directories and symlinks, and is issued only internally by UFS.
New UFS routine ufs_bufio replaces vn_rdwr for internal use. ufs_bufio is implemented by new UFS operations uo_bufrd/uo_bufwr, which sit in ufs_readwrite.c alongside the VOP_READ/VOP_WRITE implementations.
I preserved the code as much as possible and will leave further simplification for future commits. I kept the ulfs_readwrite.c copypasta close to ufs_readwrite.c in case we ever want to merge them back; likewise ext2fs_readwrite.c.
No externally visible semantic change. All atf fs tests still pass.
|
| 1.7 | 25-May-2014 |
hannken | branches: 1.7.4; ext2fs_gro_genealogy: use vcache_get() to lookup DOTDOT.
|
| 1.6 | 28-Jan-2014 |
martin | branches: 1.6.2; Quell a (bogus) "may be used unintialized" warning from gcc 4.8
|
| 1.5 | 22-Jan-2013 |
dholland | branches: 1.5.2; Stuff UFS_ in front of a few of ufs's symbols to reduce namespace pollution. Specifically: ROOTINO -> UFS_ROOTINO WINO -> UFS_WINO NXADDR -> UFS_NXADDR NDADDR -> UFS_NDADDR NIADDR -> UFS_NIADDR MAXSYMLINKLEN -> UFS_MAXSYMLINKLEN MAXSYMLINKLEN_UFS[12] -> UFS[12]_MAXSYMLINKLEN (for consistency)
Sort out ext2fs's misuse of NDADDR and NIADDR; fortunately, these have the same values in ext2fs and ffs.
No functional change intended.
|
| 1.4 | 04-Jun-2012 |
riastradh | branches: 1.4.2; Kill the IN_RENAME in-core inode flag in ufs and ext2fs.
Now that rename works we need not to wave this sort of voodoo at it.
ok dholland
|
| 1.3 | 04-Jun-2012 |
riastradh | Fix ext2fs's scary cross-block directory message too.
(See rev. 1.3 of sys/ufs/ufs/ufs_rename.c for the analysis.)
|
| 1.2 | 10-May-2012 |
riastradh | branches: 1.2.2; 1.2.4; Swap byte order of ext2fs_direct fields in ext2fs_rename_recalculate_fulr.
Symptom found and fix tested by martin.
ok martin
|
| 1.1 | 09-May-2012 |
riastradh | Adapt ffs, lfs, and ext2fs to use genfs_rename.
ok dholland, rmind
|
| 1.2.4.2 | 02-Jun-2012 |
mrg | sync to latest -current.
|
| 1.2.4.1 | 10-May-2012 |
mrg | file ext2fs_rename.c was added on branch jmcneill-usbmp on 2012-06-02 11:09:40 +0000
|
| 1.2.2.5 | 22-May-2014 |
yamt | sync with head.
for a reference, the tree before this commit was tagged as yamt-pagecache-tag8.
this commit was splitted into small chunks to avoid a limitation of cvs. ("Protocol error: too many arguments")
|
| 1.2.2.4 | 23-Jan-2013 |
yamt | sync with head
|
| 1.2.2.3 | 30-Oct-2012 |
yamt | sync with head
|
| 1.2.2.2 | 23-May-2012 |
yamt | sync with head.
|
| 1.2.2.1 | 10-May-2012 |
yamt | file ext2fs_rename.c was added on branch yamt-pagecache on 2012-05-23 10:08:18 +0000
|
| 1.4.2.3 | 03-Dec-2017 |
jdolecek | update from HEAD
|
| 1.4.2.2 | 20-Aug-2014 |
tls | Rebase to HEAD as of a few days ago.
|
| 1.4.2.1 | 25-Feb-2013 |
tls | resync with head
|
| 1.5.2.1 | 18-May-2014 |
rmind | sync with head
|
| 1.6.2.1 | 10-Aug-2014 |
tls | Rebase.
|
| 1.7.4.2 | 05-Oct-2016 |
skrll | Sync with HEAD
|
| 1.7.4.1 | 06-Apr-2015 |
skrll | Sync with HEAD
|
| 1.33 | 13-Aug-2016 |
christos | KNF, no functional changes...
|
| 1.32 | 03-Aug-2016 |
jdolecek | get and set expanded timestamp if the inode contains the extra information, add support for create time
|
| 1.31 | 28-Mar-2015 |
maxv | branches: 1.31.2; Remove the 'cred' argument from bread(). Remove a now unused var in ffs_snapshot.c. Update the man page accordingly.
ok hannken@
|
| 1.30 | 23-Jun-2013 |
dholland | branches: 1.30.10; Stick ffs_, ext2_, chfs_, filecore_, cd9660_, or mfs_ in front of the following symbols so as to disambiguate fully. (Christos already did the lfs ones.)
lblkno lblktosize lfragtosize numfrags blkroundup fragroundup
|
| 1.29 | 19-Jun-2013 |
dholland | Rename ambiguous macros: MAXDIRSIZE -> UFS_MAXDIRSIZE or LFS_MAXDIRSIZE NINDIR -> FFS_NINDIR, EXT2_NINDIR, LFS_NINDIR, or MFS_NINDIR INOPB -> FFS_INOPB, LFS_INOPB INOPF -> FFS_INOPF, LFS_INOPF blksize -> ffs_blksize, ext2_blksize, or lfs_blksize sblksize -> ffs_blksize
These are not the only ambiguously defined filesystem macros, of course, there's a pile more. I may not have found all the ambiguous definitions of blksize(), too, as there are a lot of other things called 'blksize' in the system.
|
| 1.28 | 20-Dec-2012 |
hannken | Change bread() and breadn() to never return a buffer on error and modify all callers to not brelse() on error.
Welcome to 6.99.16
PR kern/46282 (6.0_BETA crash: msdosfs_bmap -> pcbmap -> bread -> bio_doread)
|
| 1.27 | 19-Oct-2009 |
bouyer | branches: 1.27.12; 1.27.22; Remove closes 3 & 4 from my licence. Lots of thanks to Soren Jacobsen for the booring work !
|
| 1.26 | 16-May-2008 |
hannken | Make sure all cached buffers with valid, not yet written data have been run through copy-on-write. Call fscow_run() with valid data where possible.
The LP_UFSCOW hack is no longer needed to protect ffs_copyonwrite() against endless recursion.
- Add a flag B_MODIFY to bread(), breada() and breadn(). If set the caller intends to modify the buffer returned.
- Always run copy-on-write on buffers returned from ffs_balloc().
- Add new function ffs_getblk() that gets a buffer, assigns a new blkno, may clear the buffer and runs copy-on-write. Process possible errors from getblk() or fscow_run(). Part of PR kern/38664.
Welcome to 4.99.63
Reviewed by: YAMAMOTO Takashi <yamt@netbsd.org>
|
| 1.25 | 08-Oct-2007 |
ad | branches: 1.25.18; 1.25.20; 1.25.22; 1.25.24; Merge ffs locking & brelse changes from the vmlocking branch.
|
| 1.24 | 23-Jun-2006 |
yamt | branches: 1.24.14; 1.24.28; 1.24.30; 1.24.32; fix a simonb-timecounters regression. the precision of getnanotime() is not suitable for file timestamps. esp. when it's nfs-exported.
- introduce vfs_timestamp(). (the name is from freebsd. currently merely a wrapper of nanotime()) - for ufs-like filesystems, use it rather than getnanotime().
XXX check other filesystems.
|
| 1.23 | 07-Jun-2006 |
kardel | branches: 1.23.2; merge FreeBSD timecounters from branch simonb-timecounters - struct timeval time is gone time.tv_sec -> time_second - struct timeval mono_time is gone mono_time.tv_sec -> time_uptime - access to time via {get,}{micro,nano,bin}time() get* versions are fast but less precise - support NTP nanokernel implementation (NTP API 4) - further reading: Timecounter Paper: http://phk.freebsd.dk/pubs/timecounter.pdf NTP Nanokernel: http://www.eecis.udel.edu/~mills/ntp/html/kern.html
|
| 1.22 | 14-May-2006 |
elad | branches: 1.22.2; integrate kauth.
|
| 1.21 | 18-Mar-2006 |
bouyer | Fix a dead error condition, coverity ID 603.
|
| 1.20 | 27-Dec-2005 |
chs | branches: 1.20.4; 1.20.6; 1.20.8; 1.20.10; 1.20.12; changes for making DIAGNOSTIC not change the kernel ABI: - for structure fields that are conditionally present, make those fields always present. - for functions which are conditionally inline, make them never inline. - remove some other functions which are conditionally defined but don't actually do anything anymore. - make a lock-debugging function conditional on only LOCKDEBUG.
as discussed on tech-kern some time back.
|
| 1.19 | 11-Dec-2005 |
christos | merge ktrace-lwp.
|
| 1.18 | 02-Nov-2005 |
yamt | merge yamt-vop branch. remove following VOPs.
VOP_BLKATOFF VOP_VALLOC VOP_BALLOC VOP_REALLOCBLKS VOP_VFREE VOP_TRUNCATE VOP_UPDATE
|
| 1.17 | 27-Sep-2005 |
yamt | branches: 1.17.2; introduce "ufs_ops" and use it for ITIMES.
|
| 1.16 | 12-Sep-2005 |
christos | Add a KASSERT like the one ffs has.
|
| 1.15 | 12-Sep-2005 |
christos | Use nanotime() to update the time fields in filesystems. Convert the code from macros to real functions. Original patch and review from chuq. Note: ext2fs only keeps seconds in the on-disk inode, and msdosfs does not have enough precision for all fields, so this is not very useful for those two.
|
| 1.14 | 30-Aug-2005 |
xtraeme | * Remove __P() * Use ANSI function declarations on ext2fs and mfs
|
| 1.13 | 22-Mar-2004 |
bouyer | branches: 1.13.16; Fix disclaimer in my copyright. Pointed out by Thomas Klausner.
|
| 1.12 | 30-Dec-2003 |
pk | Replace the traditional buffer memory management -- based on fixed per buffer virtual memory reservation and a private pool of memory pages -- by a scheme based on memory pools.
This allows better utilization of memory because buffers can now be allocated with a granularity finer than the system's native page size (useful for filesystems with e.g. 1k or 2k fragment sizes). It also avoids fragmentation of virtual to physical memory mappings (due to the former fixed virtual address reservation) resulting in better utilization of MMU resources on some platforms. Finally, the scheme is more flexible by allowing run-time decisions on the amount of memory to be used for buffers.
On the other hand, the effectiveness of the LRU queue for buffer recycling may be somewhat reduced compared to the traditional method since, due to the nature of the pool based memory allocation, the actual least recently used buffer may release its memory to a pool different from the one needed by a newly allocated buffer. However, this effect will kick in only if the system is under memory pressure.
|
| 1.11 | 05-Oct-2003 |
bouyer | Remove references to University of California from my copyright notices.
|
| 1.10 | 07-Aug-2003 |
agc | Move UCB-licensed code from 4-clause to 3-clause licence.
Patches provided by Joel Baker in PR 22364, verified by myself.
|
| 1.9 | 25-Jan-2003 |
tron | branches: 1.9.2; Use PRId64 instead of hard coding "%lld" to fix build problems under LP64 ports.
|
| 1.8 | 25-Jan-2003 |
tron | Fix printf() format strings problems caused by "daddr_t" change.
|
| 1.7 | 24-Jan-2003 |
fvdl | Bump daddr_t to 64 bits. Replace it with int32_t in all places where it was used on-disk, so that on-disk formats remain the same. Remove ufs_daddr_t and ufs_lbn_t for the time being.
|
| 1.6 | 08-Nov-2001 |
lukem | add RCSID
|
| 1.5 | 26-Oct-2001 |
lukem | remove #include <ufs/ufs/quota.h> where it was just to appease <ufs/ufs/inode.h>, since the latter now includes the former. leave the former in source that obviously uses specific bits of it (for completeness.)
|
| 1.4 | 30-Mar-2000 |
augustss | branches: 1.4.6; 1.4.10; 1.4.14; Remove register declarations.
|
| 1.3 | 04-Mar-1998 |
cgd | branches: 1.3.14; 1.3.20; ext2fs_checkoverlap is (or at least seems) unused, and its prototype is #ifdef DIAGNOSTIC. Make the function #ifdef DIAGNOSTIC, as well, so we don't get a warning about the function declaration not being a prototype.
|
| 1.2 | 01-Mar-1998 |
fvdl | Merge with Lite2 + local changes
|
| 1.1 | 11-Jun-1997 |
bouyer | The ext2fs layer, based on the ffs/ufs one. Uses a few functions from sys/ufs/ufs/
|
| 1.3.20.1 | 21-Dec-1999 |
wrstuden | Initial commit of recent changes to make DEV_BSIZE go away.
Runs on i386, needs work on other arch's. Main kernel routines should be fine, but a number of the stand programs need help.
cd, fd, ccd, wd, and sd have been updated. sd has been tested with non-512 byte block devices. vnd, raidframe, and lfs need work.
Non 2**n block support is automatic for LKM's and conditional for kernels on "options NON_PO2_BLOCKS".
|
| 1.3.14.1 | 20-Nov-2000 |
bouyer | Update thorpej_scsipi to -current as of a month ago
|
| 1.4.14.1 | 12-Nov-2001 |
thorpej | Sync the thorpej-mips-cache branch with -current.
|
| 1.4.10.1 | 10-Jan-2002 |
thorpej | Sync kqueue branch with -current.
|
| 1.4.6.1 | 14-Nov-2001 |
nathanw | Catch up to -current.
|
| 1.9.2.4 | 10-Nov-2005 |
skrll | Sync with HEAD. Here we go again...
|
| 1.9.2.3 | 21-Sep-2004 |
skrll | Fix the sync with head I botched.
|
| 1.9.2.2 | 18-Sep-2004 |
skrll | Sync with HEAD.
|
| 1.9.2.1 | 03-Aug-2004 |
skrll | Sync with HEAD
|
| 1.13.16.3 | 27-Oct-2007 |
yamt | sync with head.
|
| 1.13.16.2 | 30-Dec-2006 |
yamt | sync with head.
|
| 1.13.16.1 | 21-Jun-2006 |
yamt | sync with head.
|
| 1.17.2.1 | 20-Oct-2005 |
yamt | adapt ufs.
|
| 1.20.12.2 | 24-May-2006 |
tron | Merge 2006-05-24 NetBSD-current into the "peter-altq" branch.
|
| 1.20.12.1 | 28-Mar-2006 |
tron | Merge 2006-03-28 NetBSD-current into the "peter-altq" branch.
|
| 1.20.10.2 | 06-May-2006 |
christos | - Move kauth_cred_t declaration to <sys/types.h> - Cleanup struct ucred; forward declarations that are unused. - Don't include <sys/kauth.h> in any header, but include it in the c files that need it.
Approved by core.
|
| 1.20.10.1 | 19-Apr-2006 |
elad | sync with head.
|
| 1.20.8.3 | 26-Jun-2006 |
yamt | sync with head.
|
| 1.20.8.2 | 24-May-2006 |
yamt | sync with head.
|
| 1.20.8.1 | 01-Apr-2006 |
yamt | sync with head.
|
| 1.20.6.4 | 01-Jun-2006 |
kardel | Sync with head.
|
| 1.20.6.3 | 22-Apr-2006 |
simonb | Sync with head.
|
| 1.20.6.2 | 05-Feb-2006 |
simonb | In the *itimes functions, just call getnanotime() at the start of the function and use the result if needed, rather than the previous conditional calls/assignments method. The code is clearer this way, and benchmarks at about the same speed.
|
| 1.20.6.1 | 04-Feb-2006 |
simonb | Adapt for timecounters: mostly use get*time() and use "time_second" instead of "time.tv_sec".
|
| 1.20.4.1 | 09-Sep-2006 |
rpaulo | sync with head
|
| 1.22.2.1 | 19-Jun-2006 |
chap | Sync with head.
|
| 1.23.2.1 | 13-Jul-2006 |
gdamore | Merge from HEAD.
|
| 1.24.32.1 | 14-Oct-2007 |
yamt | sync with head.
|
| 1.24.30.1 | 06-Nov-2007 |
matt | sync with HEAD
|
| 1.24.28.1 | 26-Oct-2007 |
joerg | Sync with HEAD.
Follow the merge of pmap.c on i386 and amd64 and move pmap_init_tmp_pgtbl into arch/x86/x86/pmap.c. Modify the ACPI wakeup code to restore CR4 before jumping back into kernel space as the large page option might cover that.
|
| 1.24.14.1 | 13-May-2007 |
ad | - Pass the error number and residual count to biodone(), and let it handle setting error indicators. Prepare to eliminate B_ERROR. - Add a flag argument to brelse() to be set into the buf's flags, instead of doing it directly. Typically used to set B_INVAL. - Add a "struct cpu_info *" argument to kthread_create(), to be used to create bound threads. Change "bool mpsafe" to "int flags". - Allow exit of LWPs in the IDL state when (l != curlwp). - More locking fixes & conversion to the new API.
|
| 1.25.24.1 | 23-Jun-2008 |
wrstuden | Sync w/ -current. 34 merge conflicts to follow.
|
| 1.25.22.2 | 11-Mar-2010 |
yamt | sync with head
|
| 1.25.22.1 | 04-May-2009 |
yamt | sync with head.
|
| 1.25.20.1 | 18-May-2008 |
yamt | sync with head.
|
| 1.25.18.1 | 02-Jun-2008 |
mjf | Sync with HEAD.
|
| 1.27.22.4 | 03-Dec-2017 |
jdolecek | update from HEAD
|
| 1.27.22.3 | 20-Aug-2014 |
tls | Rebase to HEAD as of a few days ago.
|
| 1.27.22.2 | 23-Jun-2013 |
tls | resync from head
|
| 1.27.22.1 | 25-Feb-2013 |
tls | resync with head
|
| 1.27.12.2 | 22-May-2014 |
yamt | sync with head.
for a reference, the tree before this commit was tagged as yamt-pagecache-tag8.
this commit was splitted into small chunks to avoid a limitation of cvs. ("Protocol error: too many arguments")
|
| 1.27.12.1 | 23-Jan-2013 |
yamt | sync with head
|
| 1.30.10.2 | 05-Oct-2016 |
skrll | Sync with HEAD
|
| 1.30.10.1 | 06-Apr-2015 |
skrll | Sync with HEAD
|
| 1.31.2.1 | 06-Aug-2016 |
pgoyette | Sync with HEAD
|
| 1.229 | 16-Feb-2025 |
joe | remove unecessary branching
break is executed regardless the path of the if branch
|
| 1.228 | 30-Dec-2024 |
hannken | emove comment "we are always called with the filesystem marked `MPBUSY'." above some xxx_sync() operations. These operations get called without any exclusive lock.
This comment appeared with "add quota support" on 1990-05-02. On 1998/02/18 MNT_MPBUSY disappeared when vfs_busy() was changed from an exclusive lock to a shared lock.
PR kern/58837 "ffs: Missing locking around fs_fmod/time"
|
| 1.227 | 02-Jul-2024 |
rin | ext2fs: Fix copy-paste for PR kern/58388
|
| 1.226 | 01-Jul-2024 |
riastradh | ext2fs: Fix indexing of group descriptors on disk.
XXX Evidently we need some more automatic tests for this!
PR kern/58388
|
| 1.225 | 27-Aug-2023 |
christos | branches: 1.225.6; - fix cgload/cgsave inconsistencies - add a constant for the rev 0 group descriptor size
|
| 1.224 | 26-Aug-2023 |
christos | fix kmem_free size for e2fs_gd
|
| 1.223 | 26-Aug-2023 |
riastradh | ext2fs: Nix trailing whitespace.
|
| 1.222 | 25-Aug-2023 |
christos | Support INCOMPAT_64BIT on ext4 (Vladimir 'phcoder' Serbinenko)
|
| 1.221 | 22-May-2022 |
andvar | branches: 1.221.4; fix various small typos, mainly in comments.
|
| 1.220 | 19-Mar-2022 |
hannken | Remove now unused VV_LOCKSWORK, all file systems support locking.
Remove unused predicates vn_locked() and vn_anylocked().
Welcome to 9.99.95
|
| 1.219 | 16-May-2020 |
christos | Add ACL support for FFS. From FreeBSD.
|
| 1.218 | 04-Apr-2020 |
ad | Merge the remaining changes from the ad-namecache branch, affecting namei() and getcwd():
- push vnode locking back as far as possible. - do most lookups directly in the namecache, avoiding vnode locks & refs. - don't block new refs to vnodes across VOP_INACTIVE(). - get shared locks for VOP_LOOKUP() if the file system supports it. - correct lock types for VOP_ACCESS() / VOP_GETATTR() in a few places.
Possible future enhancements:
- make the lookups lockless. - support dotdot lookups by being lockless and inferring absence of chroot. - maybe make it work for layered file systems. - avoid vnode references at the root & cwd.
|
| 1.217 | 16-Mar-2020 |
pgoyette | Use the module subsystem's ability to process SYSCTL_SETUP() entries to automate installation of sysctl nodes.
Note that there are still a number of device and pseudo-device modules that create entries tied to individual device units, rather than to the module itself. These are not changed.
|
| 1.216 | 27-Feb-2020 |
ad | Tighten up the locking around vp->v_iflag a little more after the recent split of vmobjlock & v_interlock.
|
| 1.215 | 17-Jan-2020 |
ad | VFS_VGET(), VFS_ROOT(), VFS_FHTOVP(): give them a "int lktype" argument, to allow us to get shared locks (or no lock) on the returned vnode. Matches FreeBSD.
|
| 1.214 | 20-Jun-2019 |
pgoyette | branches: 1.214.2; 1.214.4; Split the ufs code out of the ffs module and into its own module.
Adapt chfs and ext2fs modules accordingly.
|
| 1.213 | 01-Jan-2019 |
hannken | Add "void *extra" argument to vcache_new() so a file system may pass more information about the file to create.
Welcome to 8.99.30
|
| 1.212 | 10-Dec-2018 |
maxv | Remove unused mbuf.h includes.
|
| 1.211 | 28-May-2018 |
chs | branches: 1.211.2; add a genfs method to allow a file system to limit the range of pages that are given to a single GOP_WRITE() call. needed by ZFS.
|
| 1.210 | 30-Jul-2017 |
riastradh | branches: 1.210.2; kmem_xyz(sizeof(struct foo)) --> kmem_xyz(sizeof(*foo))
No change to amd64 binary.
|
| 1.209 | 28-May-2017 |
hannken | Change ext2fs to use vcache_new like we did for ffs: - Change ext2fs_valloc to return an inode number. - Make ext2fs_makeinode private to ext2fs_vnops.c and pass vattr instead of mode.
|
| 1.208 | 17-Apr-2017 |
hannken | branches: 1.208.2; Remove unused argument "nextp" from vfs_busy() and vfs_unbusy(). Remove argument "keepref" from vfs_unbusy() and add vfs_ref() where needed.
|
| 1.207 | 17-Apr-2017 |
hannken | Add vfs_ref(mp) and vfs_rele(mp) to add or remove a reference to struct mount. Rename vfs_destroy(mp) to vfs_rele(mp) and replace incrementing mp->mnt_refcnt with vfs_ref(mp).
|
| 1.206 | 01-Apr-2017 |
riastradh | KASSERT(mutex_owned(vp->v_interlock)) in vnode iterator selector.
|
| 1.205 | 17-Feb-2017 |
hannken | Add generic genfs_suspendctl() and use it for all file systems. Layered file systems need work.
|
| 1.204 | 25-Aug-2016 |
christos | branches: 1.204.2; put back second strlcpy; pointed out by dholland.
|
| 1.203 | 23-Aug-2016 |
christos | CID 1371644: use strlcpy, remove dup copy.
|
| 1.202 | 20-Aug-2016 |
jdolecek | fix code which sets REV1 e2fs_fsmnt, set also mount time and mount count
|
| 1.201 | 20-Aug-2016 |
jdolecek | adjust ext2fs_loadvnode_content() to do the sanity checking before allocating memory, and avoid reallocaing memory on vnode reload
|
| 1.200 | 20-Aug-2016 |
jdolecek | add support for GDT_CSUM AKA uninit_bg feature
|
| 1.199 | 14-Aug-2016 |
jdolecek | switch code to use the EXT2_HAS_{COMPAT|ROCOMPAT|INCOMPAT}_FEATURE() macros instead of open coding the checks
|
| 1.198 | 13-Aug-2016 |
christos | KNF, no functional changes...
|
| 1.197 | 05-Aug-2016 |
jdolecek | add devel ifndefs for incompat/rocompat features so that it's possible to ignore them and mount the filesystem; default is for the mount to fail
|
| 1.196 | 03-Aug-2016 |
pgoyette | Update previous. Since original format was %llu, replace it with % PRIu64 (unsigned).
|
| 1.195 | 03-Aug-2016 |
pgoyette | Use correct printf() format for inode (fixes build for me)
|
| 1.194 | 03-Aug-2016 |
jdolecek | support arbitrary ext3/ext4 inode size, add all the new ext4 fields ext2fs_dinode, and add support for loading the extra inode data
|
| 1.193 | 28-Mar-2015 |
maxv | branches: 1.193.2; Remove the 'cred' argument from bread(). Remove a now unused var in ffs_snapshot.c. Update the man page accordingly.
ok hannken@
|
| 1.192 | 27-Mar-2015 |
riastradh | Disentangle buffer-cached I/O from page-cached I/O in UFS.
Page-cached I/O is used for regular files, and is initiated by VFS users such as userland and NFS.
Buffer-cached I/O is used for directories and symlinks, and is issued only internally by UFS.
New UFS routine ufs_bufio replaces vn_rdwr for internal use. ufs_bufio is implemented by new UFS operations uo_bufrd/uo_bufwr, which sit in ufs_readwrite.c alongside the VOP_READ/VOP_WRITE implementations.
I preserved the code as much as possible and will leave further simplification for future commits. I kept the ulfs_readwrite.c copypasta close to ufs_readwrite.c in case we ever want to merge them back; likewise ext2fs_readwrite.c.
No externally visible semantic change. All atf fs tests still pass.
|
| 1.191 | 17-Mar-2015 |
hannken | Change ffs to use vcache_new: - Change ffs_valloc to return an inode number. - Remove now obsolete UFS operations UFS_VALLOC and UFS_VFREE. - Make ufs_makeinode private to ufs_vnops.c and pass vattr instead of mode.
|
| 1.190 | 23-Feb-2015 |
maxv | Hum. Perhaps I missed a bit of the specification. Let's not be that severe when checking the superblock.
Should fix ATF.
|
| 1.189 | 22-Feb-2015 |
maxv | Merge _sbcompute() and _sbcheck() into _sbfill().
In ext2fs_sbfill(), check more fields of the superblock, to prevent several kernel panics when mounting/unmounting a disk.
|
| 1.188 | 20-Feb-2015 |
maxv | Several fixes: - rename ext2fs_checksb() -> ext2fs_sbcheck(): more consistent - in ext2fs_sbcheck(), add a check to ensure e2fs_inode_size!=0, otherwise division by zero - add ext2fs_sbcompute(), to compute dynamic values of the superblock. It is done twice in _reload() and _mountfs(), so put it in a function. - reorder the code in charge of loading the superblock: now, read the superblock, swap it directly, and *then* pass it to ext2fs_sbcheck(). It is similar to what ffs now does. It is better since the fields don't need to be swapped on the fly in ext2fs_sbcheck(). Tested on amd64.
|
| 1.187 | 19-Feb-2015 |
maxv | e2fs_sbcheck(): add a check to ensure e2fs_bpg!=0. Otherwise the kernel panics with a division by zero.
While here, remove the #ifdef's.
|
| 1.186 | 09-Nov-2014 |
maxv | branches: 1.186.2; Do not uselessly include <sys/malloc.h>.
|
| 1.185 | 19-Sep-2014 |
matt | curlwp can never be NULL now.
|
| 1.184 | 22-Aug-2014 |
hannken | Use mount from argument "mp", "vp->v_mount" is not valid here.
PR kern/49142 (panic in ext2fs_loadvnode mounting an ext2fs filesystem)
Needs pullup to -7
|
| 1.183 | 09-Jul-2014 |
maxv | branches: 1.183.2; Remove ROOTNAME (unused).
|
| 1.182 | 24-May-2014 |
christos | Introduce a selector function to the vfs vnode iterator so that we don't need to vget() vnodes that we are not interested at, and optimize locking a bit. Iterator changes reviewed by Hannken (thanks), the rest of the bugs are mine.
|
| 1.181 | 08-May-2014 |
hannken | Add a global vnode cache:
- vcache_get() retrieves a referenced and initialised vnode / fs node pair. - vcache_remove() removes a vnode / fs node pair from the cache.
On cache miss vcache_get() calls new vfs operation vfs_loadvnode() to initialise a vnode / fs node pair. This call is guaranteed exclusive, no other thread will try to load this vnode / fs node pair.
Convert ufs/ext2fs, ufs/ffs and ufs/mfs to use this interface.
Remove now unused ufs/ufs_ihash
Discussed on tech-kern.
Welcome to 6.99.41
|
| 1.180 | 16-Apr-2014 |
maxv | An (un)privileged user can easily make the kernel dereference a NULL pointer.
The kernel allows 'data' to be NULL; it's the fs's responsibility to ensure that it isn't NULL (if the fs actually needs data).
ok christos@
|
| 1.179 | 23-Mar-2014 |
hannken | branches: 1.179.2; Change all vfsops to use C99 designated initializers.
No functional changes intended.
|
| 1.178 | 17-Mar-2014 |
hannken | Change ext2fs_sync() to use vfs_vnode_iterator.
|
| 1.177 | 05-Mar-2014 |
hannken | Current support for iterating over mnt_vnodelist is rudimentary. Every caller has to care about list and vnode mutexes, reference count being zero, intermediate vnode states like VI_CLEAN, VI_XLOCK, VI_MARKER and so on.
Add an interface to iterate over a vnode list:
void vfs_vnode_iterator_init(struct mount *mp, struct vnode_iterator **marker) void vfs_vnode_iterator_destroy(struct vnode_iterator *marker) bool vfs_vnode_iterator_next(struct vnode_iterator *marker, struct vnode **vpp)
vfs_vnode_iterator_next() returns either "false / *vpp == NULL" when done or "true / *vpp != NULL" to return the next referenced vnode from the list.
To make vrecycle() work in this environment change it to
bool vrecycle(struct vnode *vp)
where "vp" is a referenced vnode to be destroyed if this is the last reference.
Discussed on tech-kern.
Welcome to 6.99.34
|
| 1.176 | 25-Feb-2014 |
pooka | Ensure that the top level sysctl nodes (kern, vfs, net, ...) exist before the sysctl link sets are processed, and remove redundancy.
Shaves >13kB off of an amd64 GENERIC, not to mention >1k duplicate lines of code.
|
| 1.175 | 23-Nov-2013 |
christos | change the mountlist CIRCLEQ into a TAILQ
|
| 1.174 | 29-Oct-2013 |
hannken | Vnode API cleanup pass 1.
- Make these defines and functions private to vfs_vnode.c:
VC_MASK, VC_LOCK, DOCLOSE, VI_IANCTREDO and VI_INACTNOW vclean() and vrelel()
- Remove the long time unused lwp argument from vrecycle().
- Remove vtryget(), it is responsible for ugly hacks and doesn't look that effective.
Presented on tech-kern.
Welcome to 6.99.25
|
| 1.173 | 30-Sep-2013 |
hannken | Replace macro v_specmountpoint with two functions spec_node_getmountedfs() and spec_node_setmountedfs() to manage the file system mounted on a device. Assert the device is a block device.
Welcome to 6.99.24
Discussed on tech-kern@ some time ago.
Reviewed by: David Holland <dholland@netbsd.org>
|
| 1.172 | 11-Aug-2013 |
dholland | Kill off uo_unmark_vnode/UFS_UNMARK_VNODE as it's now a leftover.
|
| 1.171 | 23-Jun-2013 |
dholland | branches: 1.171.2; fsbtodb() -> FFS_FSBTODB(), EXT2_FSBTODB(), or MFS_FSBTODB() dbtofsb() -> FFS_DBTOFSB() or EXT2_DBTOFSB()
(Christos already did the lfs ones a few days back)
|
| 1.170 | 19-Jun-2013 |
dholland | Rename ambiguous macros: MAXDIRSIZE -> UFS_MAXDIRSIZE or LFS_MAXDIRSIZE NINDIR -> FFS_NINDIR, EXT2_NINDIR, LFS_NINDIR, or MFS_NINDIR INOPB -> FFS_INOPB, LFS_INOPB INOPF -> FFS_INOPF, LFS_INOPF blksize -> ffs_blksize, ext2_blksize, or lfs_blksize sblksize -> ffs_blksize
These are not the only ambiguously defined filesystem macros, of course, there's a pile more. I may not have found all the ambiguous definitions of blksize(), too, as there are a lot of other things called 'blksize' in the system.
|
| 1.169 | 08-Apr-2013 |
skrll | Remove some set but unused variables
|
| 1.168 | 20-Dec-2012 |
hannken | Change bread() and breadn() to never return a buffer on error and modify all callers to not brelse() on error.
Welcome to 6.99.16
PR kern/46282 (6.0_BETA crash: msdosfs_bmap -> pcbmap -> bread -> bio_doread)
|
| 1.167 | 21-Nov-2012 |
jakllsch | Write support for the Ext4 Read-only Compatible Feature "huge_file".
Primarily, this feature extends the inode block count field to 48 bits. Additionally, this feature allows this field to be represented in file system block size units rather than DEV_BSIZE units.
|
| 1.166 | 01-Sep-2012 |
christos | branches: 1.166.2; really print the incompatible bits.
|
| 1.165 | 01-Sep-2012 |
chs | when failing a mount due to unsupported features, print which features are involved.
|
| 1.164 | 30-Apr-2012 |
rmind | - Replace some malloc(9) uses with kmem(9). - G/C M_IPMOPTS, M_IPMADDR and M_BWMETER.
|
| 1.163 | 13-Mar-2012 |
elad | Replace the remaining KAUTH_GENERIC_ISSUSER authorization calls with something meaningful. All relevant documentation has been updated or written.
Most of these changes were brought up in the following messages:
http://mail-index.netbsd.org/tech-kern/2012/01/18/msg012490.html http://mail-index.netbsd.org/tech-kern/2012/01/19/msg012502.html http://mail-index.netbsd.org/tech-kern/2012/02/17/msg012728.html
Thanks to christos, manu, njoly, and jmmv for input.
Huge thanks to pgoyette for spinning these changes through some build cycles and ATF.
|
| 1.162 | 14-Nov-2011 |
hannken | branches: 1.162.4; 1.162.6; 1.162.10; 1.162.12; VOP_OPEN() needs a locked vnode. All these copy-and-pasted xxxfs_mount() implementations need more review.
|
| 1.161 | 07-Oct-2011 |
hannken | branches: 1.161.2; As vnalloc() always allocates with PR_WAITOK there is no longer the need to test its result for NULL.
|
| 1.160 | 12-Jun-2011 |
rmind | Welcome to 5.99.53! Merge rmind-uvmplock branch:
- Reorganize locking in UVM and provide extra serialisation for pmap(9). New lock order: [vmpage-owner-lock] -> pmap-lock.
- Simplify locking in some pmap(9) modules by removing P->V locking.
- Use lock object on vmobjlock (and thus vnode_t::v_interlock) to share the locks amongst UVM objects where necessary (tmpfs, layerfs, unionfs).
- Rewrite and optimise x86 TLB shootdown code, make it simpler and cleaner. Add TLBSTATS option for x86 to collect statistics about TLB shootdowns.
- Unify /dev/mem et al in MI code and provide required locking (removes kernel-lock on some ports). Also, avoid cache-aliasing issues.
Thanks to Andrew Doran and Joerg Sonnenberger, as their initial patches formed the core changes of this branch.
|
| 1.159 | 27-Jul-2010 |
jakllsch | branches: 1.159.6; Make DEBUG_EXT2 work with 64-bit size_t.
|
| 1.158 | 21-Jul-2010 |
hannken | Make holding v_interlock mandatory for callers of vget().
Announced some time ago on tech-kern.
|
| 1.157 | 24-Jun-2010 |
hannken | Clean up vnode lock operations pass 2:
VOP_UNLOCK(vp, flags) -> VOP_UNLOCK(vp): Remove the unneeded flags argument.
Welcome to 5.99.32.
Discussed on tech-kern.
|
| 1.156 | 11-Feb-2010 |
mlelstv | branches: 1.156.2; There is no code left that uses disk size data, so don't query it.
|
| 1.155 | 31-Jan-2010 |
mlelstv | branches: 1.155.2; Fix block shift to work with different device block sizes.
|
| 1.154 | 31-Jan-2010 |
mlelstv | Replace individual queries for partition information with new helper function.
|
| 1.153 | 08-Jan-2010 |
pooka | The VATTR_NULL/VREF/VHOLD/HOLDRELE() macros lost their will to live years ago when the kernel was modified to not alter ABI based on DIAGNOSTIC, and now just call the respective function interfaces (in lowercase). Plenty of mix'n match upper/lowercase has creeped into the tree since then. Nuke the macros and convert all callsites to lowercase.
no functional change
|
| 1.152 | 21-Oct-2009 |
pooka | update i_uid and i_gid after chown
|
| 1.151 | 19-Oct-2009 |
bouyer | Remove closes 3 & 4 from my licence. Lots of thanks to Soren Jacobsen for the booring work !
|
| 1.150 | 13-Sep-2009 |
tsutsui | Move declaration of ufs_hashlock into <ufs/ufs_extern.h> from each c source.
|
| 1.149 | 12-Sep-2009 |
tsutsui | Reduce diffs a bit between ext2fs_reload() and ffs_reload().
|
| 1.148 | 12-Sep-2009 |
tsutsui | Add a missed brelse(9) call after bread(9) in ext2fs_reload().
This may close PR kern/28712 (ext2fs hang on mount after fsck).
|
| 1.147 | 12-Sep-2009 |
tsutsui | Pull a fix from ffs_vfsops.c rev 1.248: > Fix bug introduced in revision 1.174(*) where a NULL fspec with an MNT_UPDATE > command would always return EINVAL. This broke fsck on root, where fsck'ing > a dirty root would always return an error causing rc to resort in a reboot. (*) This is "Apply the NFS exports list rototill patch" change in ext2fs_vfsops.c rev 1.91.
|
| 1.146 | 12-Sep-2009 |
tsutsui | Pull a fix for mount function from ffs_vfsops.c rev1.186: > Change ffs_mount, in MNT_UPDATE case, to check dev_t's for equality > instead of just vnode pointers. Fixes erroneous "does not match mounted > device" errors from mount(8) in the presence of MFS /dev, init.root, &c.
|
| 1.145 | 11-Sep-2009 |
tsutsui | Fix botch around argument check in ext2fs_mount(). Taken from ffs_vfsops.c.
Fixes LOCKDEBUG panic which is the same one mentioned in PR kern/41078 on trying to mount_ext2fs against a raw device, while that panic seems to have another route cause around module_autoload() in sys/miscfs/specfs/spec_vnops.c:spec_open().
|
| 1.144 | 29-Jun-2009 |
dholland | Convert 67 namei call sites to use namei_simple, in these functions:
check_console, veriexecclose, veriexec_delete, veriexec_file_add, emul_find_root, coff_load_shlib (sh3 version), coff_load_shlib, compat_20_sys_statfs, compat_20_netbsd32_statfs, ELFNAME2(netbsd32,probe_noteless), darwin_sys_statfs, ibcs2_sys_statfs, ibcs2_sys_statvfs, linux_sys_uselib, osf1_sys_statfs, sunos_sys_statfs, sunos32_sys_statfs, ultrix_sys_statfs, do_sys_mount, fss_create_files (3 of 4), adosfs_mount, cd9660_mount, coda_ioctl, coda_mount, ext2fs_mount, ffs_mount, filecore_mount, hfs_mount, lfs_mount, msdosfs_mount, ntfs_mount, sysvbfs_mount, udf_mount, union_mount, sys_chflags, sys_lchflags, sys_chmod, sys_lchmod, sys_chown, sys_lchown, sys___posix_chown, sys___posix_lchown, sys_link, do_sys_pstatvfs, sys_quotactl, sys_revoke, sys_truncate, do_sys_utimes, sys_extattrctl, sys_extattr_set_file, sys_extattr_set_link, sys_extattr_get_file, sys_extattr_get_link, sys_extattr_delete_file, sys_extattr_delete_link, sys_extattr_list_file, sys_extattr_list_link, sys_setxattr, sys_lsetxattr, sys_getxattr, sys_lgetxattr, sys_listxattr, sys_llistxattr, sys_removexattr, sys_lremovexattr
All have been scrutinized (several times, in fact) and compile-tested, but not all have been explicitly tested in action.
XXX: While I haven't (intentionally) changed the use or nonuse of XXX: TRYEMULROOT in any of these places, I'm not convinced all the XXX: uses are correct; an audit might be desirable.
|
| 1.143 | 25-Apr-2009 |
elad | Add genfs_can_mount() and use it to prevent some more code duplication of the security checks when mounting a device (VOP_ACCESS() + kauth(9) call)).
Proposed with no objections on tech-kern@:
http://mail-index.netbsd.org/tech-kern/2009/04/20/msg004859.html
The vnode is always expected to be locked, so no locking is done outside the file-system code.
|
| 1.142 | 01-Mar-2009 |
christos | PR/40936: Frederik Sausmikat: ext2fs: add support for inodes > 128 bytes
|
| 1.141 | 08-Dec-2008 |
pooka | branches: 1.141.2; Remove no longer valid comment (which probably didn't even say what it wanted to say in the first place).
|
| 1.140 | 23-Nov-2008 |
mrg | add support for 32 bit uid/gid fields in ext2, but only do so for when the revision is > REV0.
|
| 1.139 | 13-Nov-2008 |
ad | These depend on ffs.
|
| 1.138 | 13-Nov-2008 |
ad | Remove #ifdef LFS from the ufs code.
|
| 1.137 | 28-Jun-2008 |
rumble | branches: 1.137.2; 1.137.4; 1.137.6; Create sysctl entries during module initialisation and destroy them appropriately.
Many of these file systems are now ready for modularisation.
|
| 1.136 | 16-May-2008 |
hannken | branches: 1.136.2; Make sure all cached buffers with valid, not yet written data have been run through copy-on-write. Call fscow_run() with valid data where possible.
The LP_UFSCOW hack is no longer needed to protect ffs_copyonwrite() against endless recursion.
- Add a flag B_MODIFY to bread(), breada() and breadn(). If set the caller intends to modify the buffer returned.
- Always run copy-on-write on buffers returned from ffs_balloc().
- Add new function ffs_getblk() that gets a buffer, assigns a new blkno, may clear the buffer and runs copy-on-write. Process possible errors from getblk() or fscow_run(). Part of PR kern/38664.
Welcome to 4.99.63
Reviewed by: YAMAMOTO Takashi <yamt@netbsd.org>
|
| 1.135 | 10-May-2008 |
rumble | Convert file systems to dynamically attach with the new module interface. Make VFS hooks dynamic while we're here and say farewell to VFS_ATTACH and VFS_HOOKS_ATTACH linksets.
As a consequence, most of the file systems can now be loaded as new style modules.
Quick sanity check by ad@.
|
| 1.134 | 06-May-2008 |
ad | branches: 1.134.2; PR kern/38141 lookup/vfs_busy acquire rwlock recursively
Simplify the mount locking. Remove all the crud to deal with recursion on the mount lock, and crud to deal with unmount as another weirdo lock.
Hopefully this will once and for all fix the deadlocks with this. With this commit there are two locks on each mount:
- krwlock_t mnt_unmounting. This is used to prevent unmount across critical sections like getnewvnode(). It's only ever read locked with rw_tryenter(), and is only ever write locked in dounmount(). A write hold can't be taken on this lock if the current LWP could hold a vnode lock.
- kmutex_t mnt_updating. This is taken by threads updating the mount, for example when going r/o -> r/w, and is only present to serialize updates. In order to take this lock, a read hold must first be taken on mnt_unmounting, and the two need to be held across the operation.
One effect of this change: previously if an unmount failed, we would make a half hearted attempt to back out of it gracefully, but that was unlikely to work in a lot of cases. Now while an unmount that will be aborted is in progress, new file operations within the mount will fail instead of being delayed. That is unlikely to be a problem though, because if the admin requests unmount of a file system then s(he) has made a decision to deny access to the resource.
|
| 1.133 | 30-Apr-2008 |
ad | PR kern/38135 vfs_busy/vfs_trybusy confusion
The previous fix worked, but it opened a window where mounts could have disappeared from mountlist while the caller was traversing it using vfs_trybusy(). Fix that.
|
| 1.132 | 29-Apr-2008 |
ad | PR kern/38057 ffs makes assuptions about devvp file system PR kern/33406 softdeps get stuck in endless loop
Introduce VFS_FSYNC() and call it when syncing a block device, if it has a mounted file system.
|
| 1.131 | 05-Feb-2008 |
ad | branches: 1.131.6; 1.131.8; 1.131.10; Do genfs_node_init() earlier. PR kern/36162.
|
| 1.130 | 30-Jan-2008 |
ad | PR kern/37706 (forced unmount of file systems is unsafe):
- Do reference counting for 'struct mount'. Each vnode associated with a mount takes a reference, and in turn the mount takes a reference to the vfsops. - Now that mounts are reference counted, replace the overcomplicated mount locking inherited from 4.4BSD with a recursable rwlock.
|
| 1.129 | 28-Jan-2008 |
dholland | Fix some race conditions in rename. Introduce a per-FS rename lock and new vfsops to manipulate it. Get this lock while renaming. Also add another relookup() in do_sys_rename, which is a hack to kludge around some of the worst deficiencies of ufs_rename. reviewed-by: pooka (and an earlier rev by ad) posted on tech-kern with no objections.
|
| 1.128 | 24-Jan-2008 |
ad | specfs changes for PR kern/37717 (raidclose() is no longer called on shutdown). There are still problems with device access and a PR will be filed.
- Kill checkalias(). Allow multiple vnodes to reference a single device.
- Don't play dangerous tricks with block vnodes to ensure that only one vnode can describe a block device. Instead, prohibit concurrent opens of block devices. As a bonus remove the unreliable code that prevents multiple file system mounts on the same device. It's no longer needed.
- Track opens by vnode and by device. Issue cdev_close() when the last open goes away, instead of abusing vnode::v_usecount to tell if the device is open.
|
| 1.127 | 03-Jan-2008 |
pooka | valloc -> vnalloc, vfree -> vnfree Avoids collision with userland valloc(3).
no functional change ad ok
|
| 1.126 | 02-Jan-2008 |
ad | Merge vmlocking2 to head.
|
| 1.125 | 08-Dec-2007 |
pooka | branches: 1.125.4; Remove cn_lwp from struct componentname. curlwp should be used from on. The NDINIT() macro no longer takes the lwp parameter and associates the credentials of the calling thread with the namei structure.
|
| 1.124 | 01-Dec-2007 |
tsutsui | branches: 1.124.2; Use e2fs_first_dblock in superblock to read/write group descriptor blocks.
|
| 1.123 | 26-Nov-2007 |
pooka | Remove the "struct lwp *" argument from all VFS and VOP interfaces. The general trend is to remove it from all kernel interfaces and this is a start. In case the calling lwp is desired, curlwp should be used.
quick consensus on tech-kern
|
| 1.122 | 26-Nov-2007 |
tsutsui | Misc cosmetics.
|
| 1.121 | 26-Nov-2007 |
tsutsui | Account e2fs_reserved_ngdb blocks accordingly in ext2fs_statvfs().
|
| 1.120 | 17-Oct-2007 |
ad | branches: 1.120.4; Sync with ffs: fix ufs_ihashlock / ufs_hash_lock deadlock. From Sverre Froyen.
|
| 1.119 | 10-Oct-2007 |
ad | Merge from vmlocking:
- Split vnode::v_flag into three fields, depending on field locking. - simple_lock -> kmutex in a few places. - Fix some simple locking problems.
|
| 1.118 | 08-Oct-2007 |
ad | Merge ffs locking & brelse changes from the vmlocking branch.
|
| 1.117 | 31-Jul-2007 |
pooka | branches: 1.117.2; 1.117.4; 1.117.6; 1.117.8; * nuke the nameidata parameter from VFS_MOUNT(). Nobody on tech-kern knew what it was supposed to be used for and wrstuden gave a go-ahead * while rototilling, convert file systems which went easily to use VFS_PROTOS() instead of manually prototyping the methods
|
| 1.116 | 26-Jul-2007 |
pooka | Use eopnotsupp() instead of vfs_stdsuspendctl() and retire the latter.
|
| 1.115 | 20-Jul-2007 |
pooka | In sync, skip over vnodes based on if they are clean rather than if they have pages.
|
| 1.114 | 17-Jul-2007 |
pooka | branches: 1.114.2; Make set_statvfs_info() take a parameter for the vfs name instead of always retrieving it from mp->mnt_op->vfs_name
christos ok
|
| 1.113 | 12-Jul-2007 |
dsl | Change the VFS_MOUNT() interface so that the 'data' buffer passed to the fs code is a kernel buffer, pass though the length of the buffer as well. Since the length of the userspace buffer isn'it (yet) passed through the mount system call, add a field to the vfsops structure containing the default length. Split sys_mount() for calls from compat code. Ride one of the recent kernel version changes - old fs LKMs will load, but sys_mount() will reject any attempt to use them.
|
| 1.112 | 30-Jun-2007 |
pooka | Using POOL_INIT here makes no sense, since file systems always have an init method. So get rid of it and #ifdef _LKM and just always init in the init method. Give malloc types the same treatment. Makes file systems nicer to work with in linksetless environments and fixes a few LKM discrepancies.
|
| 1.111 | 05-Jun-2007 |
yamt | improve post-ubc file overwrite performance in common cases. ie. when it's safe, actually overwrite blocks rather than doing read-modify-write.
also fixes PR/33152 and PR/36303.
|
| 1.110 | 12-Mar-2007 |
ad | branches: 1.110.2; Pass an ipl argument to pool_init/POOL_INIT to be used when initializing the pool's lock.
|
| 1.109 | 04-Mar-2007 |
christos | branches: 1.109.2; Kill caddr_t; there will be some MI fallout, but it will be fixed shortly.
|
| 1.108 | 15-Feb-2007 |
ad | branches: 1.108.2; Replace some uses of lockmgr() / simplelocks.
|
| 1.107 | 19-Jan-2007 |
hannken | New file system suspension API to replace vn_start_write and vn_finished_write. The suspension helpers are now put into file system specific operations. This means every file system not supporting these helpers cannot be suspended and therefore snapshots are no longer possible.
Implemented for file systems of type ffs.
The new API is enabled on a kernel option NEWVNGATE. This option is not enabled by default in any kernel config.
Presented and discussed on tech-kern with much input from Bill Studenmund <wrstuden@netbsd.org> and YAMAMOTO Takashi <yamt@netbsd.org>.
Welcome to 4.99.9 (new vfs op vfs_suspendctl).
|
| 1.106 | 04-Jan-2007 |
elad | Consistent usage of KAUTH_GENERIC_ISSUSER.
|
| 1.105 | 16-Nov-2006 |
christos | __unused removal on arguments; approved by core.
|
| 1.104 | 25-Oct-2006 |
reinoud | Revisit mnt_vnodelist TAILQ patch. Remove all suspicious TAILQ_FOREACH() loops where vnodes can get removed or added during the loops. This could lead to panic's on unmount since nodes are skipped or otherwise TAILQ_NEXT(0xdeadbeef, ...) was dereferenced.
|
| 1.103 | 20-Oct-2006 |
reinoud | Replace the LIST structure mp->mnt_vnodelist to a TAILQ structure since all vnodes were synced and processed backwards. This meant that the last accessed node was processed first and the earlierst last.
An extra benefit is the removal of the ugly hack from the Berkly days on LFS.
In the proces, i've also replaced the various variations hand written loops by the TAILQ_FOREACH() macro's.
|
| 1.102 | 12-Oct-2006 |
christos | - sprinkle __unused on function decls. - fix a couple of unused bugs - no more -Wno-unused for i386
|
| 1.101 | 30-Aug-2006 |
christos | branches: 1.101.2; 1.101.4; fix incomplete initializer.
|
| 1.100 | 23-Jul-2006 |
ad | Use the LWP cached credentials where sane.
|
| 1.99 | 13-Jul-2006 |
martin | Fix alignement problems for fhandle_t, exposed by gcc4.1.
While touching all vptofh/fhtovp functions, get rid of VFS_MAXFIDSIZ, version the getfh(2) syscall and explicitly pass the size available in the filehandle from userland.
Discussed on tech-kern, with lots of help from yamt (thanks!).
|
| 1.98 | 07-Jun-2006 |
kardel | branches: 1.98.2; merge FreeBSD timecounters from branch simonb-timecounters - struct timeval time is gone time.tv_sec -> time_second - struct timeval mono_time is gone mono_time.tv_sec -> time_uptime - access to time via {get,}{micro,nano,bin}time() get* versions are fast but less precise - support NTP nanokernel implementation (NTP API 4) - further reading: Timecounter Paper: http://phk.freebsd.dk/pubs/timecounter.pdf NTP Nanokernel: http://www.eecis.udel.edu/~mills/ntp/html/kern.html
|
| 1.97 | 14-May-2006 |
elad | branches: 1.97.2; integrate kauth.
|
| 1.96 | 18-Mar-2006 |
bouyer | bread() will always return a valid bp. So remplace the (always true) if (bp) with a KASSERT. Should fix Coverity ID 2444.
|
| 1.95 | 21-Feb-2006 |
thorpej | branches: 1.95.2; 1.95.4; 1.95.6; Use device_class() instead of accessing dv_class directly.
|
| 1.94 | 11-Dec-2005 |
christos | branches: 1.94.2; 1.94.4; 1.94.6; merge ktrace-lwp.
|
| 1.93 | 02-Nov-2005 |
yamt | merge yamt-vop branch. remove following VOPs.
VOP_BLKATOFF VOP_VALLOC VOP_BALLOC VOP_REALLOCBLKS VOP_VFREE VOP_TRUNCATE VOP_UPDATE
|
| 1.92 | 27-Sep-2005 |
yamt | branches: 1.92.2; introduce "ufs_ops" and use it for ITIMES.
|
| 1.91 | 23-Sep-2005 |
jmmv | Apply the NFS exports list rototill patch:
- Remove all NFS related stuff from file system specific code. - Drop the vfs_checkexp hook and generalize it in the new nfs_check_export function, thus removing redundancy from all file systems. - Move all NFS export-related stuff from kern/vfs_subr.c to the new file sys/nfs/nfs_export.c. The former was becoming large and its code is always compiled, regardless of the build options. Using the latter, the code is only compiled in when NFSSERVER is enabled. While doing this, also make some functions in nfs_subs.c conditional to NFSSERVER. - Add a new command in nfssvc(2), called NFSSVC_SETEXPORTSLIST, that takes a path and a set of export entries. At the moment it can only clear the exports list or append entries, one by one, but it is done in a way that allows setting the whole set of entries atomically in the future (see the comment in mountd_set_exports_list or in doc/TODO). - Change mountd(8) to use the nfssvc(2) system call instead of mount(2) so that it becomes file system agnostic. In fact, all this whole thing was done to remove a 'XXX' block from this utility! - Change the mount*, newfs and fsck* userland utilities to not deal with NFS exports initialization; done internally by the kernel when initializing the NFS support for each file system. - Implement an interface for VFS (called VFS hooks) so that several kernel subsystems can run arbitrary code upon receipt of specific VFS events. At the moment, this only provides support for unmount and is used to destroy NFS exports lists from the file systems being unmounted, though it has room for extension.
Thanks go to yamt@, chs@, thorpej@, wrstuden@ and others for their comments and advice in the development of this patch.
|
| 1.90 | 12-Sep-2005 |
christos | - access the ffs and ext2fs itimes functions through a pointer, so that if the filesystem is not compiled in the kernel still links. Probably a better solution is to use weak symbols. - move the filesystem-specific itime macros to the filesystem header files.
|
| 1.89 | 30-Aug-2005 |
xtraeme | * Remove __P() * Use ANSI function declarations on ext2fs and mfs
|
| 1.88 | 23-Aug-2005 |
christos | Don't overload MAXNAMLEN, use a separate constant for each filesystem type.
|
| 1.87 | 23-Jul-2005 |
yamt | update file timestamps for nfsd loaned-read and mmap. PR/25279. discussed on tech-kern@.
|
| 1.86 | 28-Jun-2005 |
yamt | branches: 1.86.2; - constify genfs_ops. - use member designators.
|
| 1.85 | 29-May-2005 |
christos | - sprinkle const - avoid shadow variables.
|
| 1.84 | 29-Mar-2005 |
thorpej | - Define a VFS_ATTACH() macro that places a reference to a vfsops structure into the "vfsops" link set. - Use VFS_ATTACH() where vfsops are declared for individual file systems. - In vfsinit(), traverse the "vfsops" link set, rather than vfs_list_initial[].
|
| 1.83 | 26-Feb-2005 |
perry | branches: 1.83.2; nuke trailing whitespace
|
| 1.82 | 09-Feb-2005 |
ws | Add support for large files (>2GB). Like Linux, automagically convert old filesystem to use this, if they are already at revision 1. For revision 0, just punt (unlike Linux; makes me a bit too nervous.)
There should be an option to fsck_ext2fs to upgrade revision 0 to revision 1.
Reviewd by Manuel (bouyer@).
|
| 1.81 | 11-Jan-2005 |
mycroft | branches: 1.81.2; 1.81.4; Rearrange some code slightly to avoid uninitialized variable warnings.
|
| 1.80 | 09-Jan-2005 |
mycroft | Whoops -- move the location of the VOP_OPEN()/VOP_CLOSE(), et al, from foo_mountfs() to foo_mount(), to match the new mountroot API. Also, for ext2fs and lfs, copy some restructuring from ffs to allow changing file system parameters without specifying the device name. (ntfs could use some more work.)
|
| 1.79 | 09-Jan-2005 |
mycroft | Rework the mountroot interface so that vfs_mountroot() opens the root device and just passes it on to the file system functions. This avoids opening and closing the device several times.
Mentioned on tech-kern some time ago, IIRC. I've been running this for a long time.
|
| 1.78 | 02-Jan-2005 |
thorpej | Add the system call and VFS infrastructure for file system extended attributes.
From FreeBSD.
|
| 1.77 | 11-Nov-2004 |
christos | Put the correct fragment size in struct statvfs. From Kevin Lahey.
|
| 1.76 | 21-Sep-2004 |
thorpej | Add a new VNODE_LOCKDEBUG option, which enables checks in the VOP_*() calls to ensure that the vnode lock state is as expected when the VOP call is made. Modify vnode_if.src to set the expected state according to the documenting lock table for each VOP. Modify vnode_if.sh to emit the checks.
Notes: - The checks are only performed if the vnode has the VLOCKSWORK bit set. Some file systems (e.g. specfs) don't even bother with vnode locks, so of course the checks will fail. - We can't actually run with VNODE_LOCKDEBUG because there are so many vnode locking problems, not the least of which is the "use SHARED for VOP_READ()" issue, which screws things up for the entire call chain.
Inspired by similar changes in OpenBSD, but implemented differently.
|
| 1.75 | 15-Aug-2004 |
mycroft | Fixing age old cruft: * Rather than using mnt_maxsymlinklen to indicate that a file systems returns d_type fields(!), add a new internal flag, IMNT_DTYPE.
Add 3 new elements to ufsmount: * um_maxsymlinklen, replaces mnt_maxsymlinklen (which never should have existed in the first place). * um_dirblksiz, which tracks the current directory block size, eliminating the FS-specific checks littered throughout the code. This may be used later to make the block size variable. * um_maxfilesize, which is the maximum file size, possibly adjusted lower due to implementation issues.
Sync some bug fixes from FFS into ext2fs, particularly: * ffs_lookup.c 1.21, 1.28, 1.33, 1.48 * ffs_inode.c 1.43, 1.44, 1.45, 1.66, 1.67 * ffs_vnops.c 1.84, 1.85, 1.86
Clean up some crappy pointer frobnication.
|
| 1.74 | 14-Aug-2004 |
mycroft | Add a new flag, IN_MODIFY. This is like IN_UPDATE|IN_CHANGE, but unlike setting those flags, it does not cause the inode to be written in the periodic sync. This is used for writes to special files (devices and named pipes) and FIFOs.
Do not preemptively sync updates to access times and modification times. They are now updated in the inode only opportunistically, or when the file or device is closed. (Really, it should be delayed beyond close, but this is enough to help substantially with device nodes.)
And the most amusing part: Trickle sync was broken on both FFS and ext2fs, in different ways. In FFS, the periodic call to VFS_SYNC(MNT_LAZY) was still causing all file data to be synced. In ext2fs, it was causing the metadata to *not* be synced. We now only call VOP_UPDATE() on the node if we're doing MNT_LAZY. I've confirmed that we do in fact trickle correctly now.
|
| 1.73 | 05-Jul-2004 |
pk | Call inittodr() from main(). Let file system code set the recorded `last update' time (if any) through the new function setrootfstime().
|
| 1.72 | 25-May-2004 |
hannken | Add ffs internal snapshots. Written by Marshall Kirk McKusick for FreeBSD.
- Not enabled by default. Needs kernel option FFS_SNAPSHOT. - Change parameters of ffs_blkfree. - Let the copy-on-write functions return an error so spec_strategy may fail if the copy-on-write fails. - Change genfs_*lock*() to use vp->v_vnlock instead of &vp->v_lock. - Add flag B_METAONLY to VOP_BALLOC to return indirect block buffer. - Add a function ffs_checkfreefile needed for snapshot creation. - Add special handling of snapshot files: Snapshots may not be opened for writing and the attributes are read-only. Use the mtime as the time this snapshot was taken. Deny mtime updates for snapshot files. - Add function transferlockers to transfer any waiting processes from one lock to another. - Add vfsop VFS_SNAPSHOT to take a snapshot and make it accessible through a vnode. - Add snapshot support to ls, fsck_ffs and dump.
Welcome to 2.0F.
Approved by: Jason R. Thorpe <thorpej@netbsd.org>
|
| 1.71 | 25-May-2004 |
atatat | Sysctl descriptions under vfs subtree
|
| 1.70 | 20-May-2004 |
atatat | Explicitly call pool_init() (and pool_destroy()) when being built as an _LKM.
This adds pools to the list of things that lkms must do manually because they're set up with link sets. Not that there's anything wrong with link sets, but that we need to try harder to remember that lkms are second class citizens. Of a sort.
|
| 1.69 | 02-May-2004 |
wiz | Fix typo in error message, reported by Piotr Meyer in PR 25418.
|
| 1.68 | 25-Apr-2004 |
simonb | Initialise (most) pools from a link set instead of explicit calls to pool_init. Untouched pools are ones that either in arch-specific code, or aren't initialiased during initial system startup.
Convert struct session, ucred and lockf to pools.
|
| 1.67 | 21-Apr-2004 |
christos | Replace the statfs() family of system calls with statvfs(). Retain binary compatibility.
|
| 1.66 | 24-Mar-2004 |
atatat | branches: 1.66.2; Tango on sysctl_createv() and flags. The flags have all been renamed, and sysctl_createv() now uses more arguments.
|
| 1.65 | 22-Mar-2004 |
bouyer | Fix disclaimer in my copyright. Pointed out by Thomas Klausner.
|
| 1.64 | 04-Dec-2003 |
atatat | Dynamic sysctl.
Gone are the old kern_sysctl(), cpu_sysctl(), hw_sysctl(), vfs_sysctl(), etc, routines, along with sysctl_int() et al. Now all nodes are registered with the tree, and nodes can be added (or removed) easily, and I/O to and from the tree is handled generically.
Since the nodes are registered with the tree, the mapping from name to number (and back again) can now be discovered, instead of having to be hard coded. Adding new nodes to the tree is likewise much simpler -- the new infrastructure handles almost all the work for simple types, and just about anything else can be done with a small helper function.
All existing nodes are where they were before (numerically speaking), so all existing consumers of sysctl information should notice no difference.
PS - I'm sorry, but there's a distinct lack of documentation at the moment. I'm working on sysctl(3/8/9) right now, and I promise to watch out for buses.
|
| 1.63 | 14-Oct-2003 |
dbj | add mnt_iflag field to struct mount for internal flags mv MNT_GONE, MNT_UNMOUNT and MNT_WANTRDWR to this field additonally add mnt_writeopcountupper and mnt_writeopcountlower fields in preparation for pending write suspension support work bump kernel version to 1.6ZD
|
| 1.62 | 05-Oct-2003 |
bouyer | Remove references to University of California from my copyright notices.
|
| 1.61 | 07-Aug-2003 |
agc | Move UCB-licensed code from 4-clause to 3-clause licence.
Patches provided by Joel Baker in PR 22364, verified by myself.
|
| 1.60 | 29-Jun-2003 |
fvdl | branches: 1.60.2; Back out the lwp/ktrace changes. They contained a lot of colateral damage, and need to be examined and discussed more.
|
| 1.59 | 29-Jun-2003 |
thorpej | Undo part of the ktrace/lwp changes. In particular: * Remove the "lwp *" argument that was added to vget(). Turns out that nothing actually used it! * Remove the "lwp *" arguments that were added to VFS_ROOT(), VFS_VGET(), and VFS_FHTOVP(); all they did was pass it to vget() (which, as noted above, didn't use it). * Remove all of the "lwp *" arguments to internal functions that were added just to appease the above.
|
| 1.58 | 28-Jun-2003 |
darrenr | Pass lwp pointers throughtout the kernel, as required, so that the lwpid can be inserted into ktrace records. The general change has been to replace "struct proc *" with "struct lwp *" in various function prototypes, pass the lwp through and use l_proc to get the process pointer when needed.
Bump the kernel rev up to 1.6V
|
| 1.57 | 16-Apr-2003 |
christos | PR/1796: John Kohl: statfs misbehaves under chrooted environments.
- Under chroot it displays only the visible filesystems with appropriate paths. - The statfs f_mntonname gets adjusted to contain the real path from root. - While was there, fixed a bug in ext2fs, locking problems with vfs_getfsstat(), and factored out some of the vfsop statfs() code to copy_statfs_info(). This fixes the problem where some filesystems forgot to set fsid. - Made coda look more like a normal fs.
|
| 1.56 | 05-Apr-2003 |
fvdl | Actually get an ext2fs_dinode structure from the pool before using it.
|
| 1.55 | 02-Apr-2003 |
fvdl | Add support for UFS2. UFS2 is an enhanced FFS, adding support for 64 bit block pointers, extended attribute storage, and a few other things.
This commit does not yet include the code to manipulate the extended storage (for e.g. ACLs), this will be done later.
Originally written by Kirk McKusick and Network Associates Laboratories for FreeBSD.
|
| 1.54 | 21-Mar-2003 |
dsl | Use 'void *' instead of 'caddr_t' in prototypes of VOP_IOCTL, VOP_FCNTL and VOP_ADVLOCK, delete casts from callers (and some to copyin/out).
|
| 1.53 | 24-Jan-2003 |
fvdl | Bump daddr_t to 64 bits. Replace it with int32_t in all places where it was used on-disk, so that on-disk formats remain the same. Remove ufs_daddr_t and ufs_lbn_t for the time being.
|
| 1.52 | 21-Sep-2002 |
christos | MNT_GETARGS support
|
| 1.51 | 06-Sep-2002 |
gehenna | Merge the gehenna-devsw branch into the trunk.
This merge changes the device switch tables from static array to dynamically generated by config(8).
- All device switches is defined as a constant structure in device drivers.
- The new grammer ``device-major'' is introduced to ``files''.
device-major <prefix> char <num> [block <num>] [<rules>]
- All device major numbers must be listed up in port dependent majors.<arch> by using this grammer.
- Added the new naming convention. The name of the device switch must be <prefix>_[bc]devsw for auto-generation of device switch tables.
- The backward compatibility of loading block/character device switch by LKM framework is broken. This is necessary to convert from block/character device major to device name in runtime and vice versa.
- The restriction to assign device major by LKM is completely removed. We don't need to reserve LKM entries for dynamic loading of device switch.
- In compile time, device major numbers list is packed into the kernel and the LKM framework will refer it to assign device major number dynamically.
|
| 1.50 | 30-Jul-2002 |
soren | Die, qaddr_t, die! - mnt_data in struct mount is already effectively a void *, so stop pretending otherwise.
|
| 1.49 | 08-Mar-2002 |
thorpej | branches: 1.49.6; Pool deals fairly well with physical memory shortage, but it doesn't deal with shortages of the VM maps where the backing pages are mapped (usually kmem_map). Try to deal with this:
* Group all information about the backend allocator for a pool in a separate structure. The pool references this structure, rather than the individual fields. * Change the pool_init() API accordingly, and adjust all callers. * Link all pools using the same backend allocator on a list. * The backend allocator is responsible for waiting for physical memory to become available, but will still fail if it cannot callocate KVA space for the pages. If this happens, carefully drain all pools using the same backend allocator, so that some KVA space can be freed. * Change pool_reclaim() to indicate if it actually succeeded in freeing some pages, and use that information to make draining easier and more efficient. * Get rid of PR_URGENT. There was only one use of it, and it could be dealt with by the caller.
From art@openbsd.org.
|
| 1.48 | 08-Nov-2001 |
lukem | add RCSID
|
| 1.47 | 06-Nov-2001 |
simonb | Use the sector size from the partition info, not a hard-coded value.
|
| 1.46 | 06-Nov-2001 |
simonb | Remove a variable that is set but never used.
|
| 1.45 | 15-Sep-2001 |
chs | branches: 1.45.2; a whole bunch of changes to improve performance and robustness under load:
- remove special treatment of pager_map mappings in pmaps. this is required now, since I've removed the globals that expose the address range. pager_map now uses pmap_kenter_pa() instead of pmap_enter(), so there's no longer any need to special-case it. - eliminate struct uvm_vnode by moving its fields into struct vnode. - rewrite the pageout path. the pager is now responsible for handling the high-level requests instead of only getting control after a bunch of work has already been done on its behalf. this will allow us to UBCify LFS, which needs tighter control over its pages than other filesystems do. writing a page to disk no longer requires making it read-only, which allows us to write wired pages without causing all kinds of havoc. - use a new PG_PAGEOUT flag to indicate that a page should be freed on behalf of the pagedaemon when it's unlocked. this flag is very similar to PG_RELEASED, but unlike PG_RELEASED, PG_PAGEOUT can be cleared if the pageout fails due to eg. an indirect-block buffer being locked. this allows us to remove the "version" field from struct vm_page, and together with shrinking "loan_count" from 32 bits to 16, struct vm_page is now 4 bytes smaller. - no longer use PG_RELEASED for swap-backed pages. if the page is busy because it's being paged out, we can't release the swap slot to be reallocated until that write is complete, but unlike with vnodes we don't keep a count of in-progress writes so there's no good way to know when the write is done. instead, when we need to free a busy swap-backed page, just sleep until we can get it busy ourselves. - implement a fast-path for extending writes which allows us to avoid zeroing new pages. this substantially reduces cpu usage. - encapsulate the data used by the genfs code in a struct genfs_node, which must be the first element of the filesystem-specific vnode data for filesystems which use genfs_{get,put}pages(). - eliminate many of the UVM pagerops, since they aren't needed anymore now that the pager "put" operation is a higher-level operation. - enhance the genfs code to allow NFS to use the genfs_{get,put}pages instead of a modified copy. - clean up struct vnode by removing all the fields that used to be used by the vfs_cluster.c code (which we don't use anymore with UBC). - remove kmem_object and mb_object since they were useless. instead of allocating pages to these objects, we now just allocate pages with no object. such pages are mapped in the kernel until they are freed, so we can use the mapping to find the page to free it. this allows us to remove splvm() protection in several places.
The sum of all these changes improves write throughput on my decstation 5000/200 to within 1% of the rate of NetBSD 1.5 and reduces the elapsed time for "make release" of a NetBSD 1.5 source tree on my 128MB pc to 10% less than a 1.5 kernel took.
|
| 1.44 | 15-Sep-2001 |
chs | add a new VFS op, vfs_reinit, which is called when desiredvnodes is adjusted via sysctl. file systems that have hash tables which are sized based on the value of this variable now resize those hash tables using the new value. the max number of FFS softdeps is also recalculated.
convert various file systems to use the <sys/queue.h> macros for their hash tables.
|
| 1.43 | 30-May-2001 |
mrg | branches: 1.43.4; 1.43.6; use _KERNEL_OPT
|
| 1.42 | 22-Jan-2001 |
jdolecek | branches: 1.42.2; make filesystem vnodeop, specop, fifoop and vnodeopv_* arrays const
|
| 1.41 | 10-Dec-2000 |
chs | in *_sync(), don't skip vnodes which have (potentially dirty) pages.
|
| 1.40 | 27-Nov-2000 |
chs | Initial integration of the Unified Buffer Cache project.
|
| 1.39 | 19-Sep-2000 |
fvdl | Adapt for VOP_FSYNC parameter change.
|
| 1.38 | 22-Jul-2000 |
jdolecek | ext2fs_reload(), ext2fs_mountfs(): do devvp locking same way as ffs this has not shown any good or bad effect, but might help narrow some problems people seen with ext2fs reload (hi Soren!)
|
| 1.37 | 30-Jun-2000 |
fvdl | Rearrange code around getnewvnode as was already done for ffs, to avoid locking against oneself because getnewvnode recycles a softdep-using vnode.
|
| 1.36 | 29-May-2000 |
mycroft | branches: 1.36.2; Pull in IN_ACCESSED changes and some MNT_LAZY `bug fixes' from FFS.
|
| 1.35 | 30-Mar-2000 |
augustss | branches: 1.35.2; Remove register declarations.
|
| 1.34 | 16-Mar-2000 |
jdolecek | Add new VFS op routine - vfs_done and call it on filesystem detach in vfs_detach(). vfs_done may free global filesystem's resources, typically those allocated in respective filesystem's init function. Needed so those filesystems which went in via LKM have a chance to clean after themselves before unloading. This fixes random panics when LKM for filesystem using pools was loaded and unloaded several times.
For each leaf filesystem, add appropriate vfs_done routine.
|
| 1.33 | 31-Jan-2000 |
bouyer | Check that we can handle the inode size before mounting the fs, and correct a return value.
|
| 1.32 | 28-Jan-2000 |
bouyer | Correct (minor) bogons in filetype option support, and add support for sparse_super option
|
| 1.31 | 26-Jan-2000 |
bouyer | First cut at ext2fs rev 1 support (as of mke2fs 1.18): supports the filetype option read/write and the sparse option read-only.
|
| 1.30 | 15-Nov-1999 |
fvdl | Add Kirk McKusick's soft updates code to the trunk. Not enabled by default, as the copyright on the main file (ffs_softdep.c) is such that is has been put into gnusrc. options SOFTDEP will pull this in. This code also contains the trickle syncer.
Bump version number to 1.4O
|
| 1.29 | 20-Oct-1999 |
enami | Check if the type of device node isn't VBAD before touching v_specinfo. If the device vnode is revoked, the field is NULL and touching it causes null pointer derefercence.
|
| 1.28 | 16-Oct-1999 |
wrstuden | branches: 1.28.2; 1.28.4; In spec_close(), if we're not doing a non-blocking close and VXLOCK is not set, unlock the vnode before calling the device's close routine and relock it after it returns. tty close routines will sleep waiting for buffers to drain, which won't happen often times as the other side needs to grab the vnode lock first.
Make all unmount routines lock the device vnode before calling VOP_CLOSE().
|
| 1.27 | 17-Jul-1999 |
wrstuden | branches: 1.27.2; Adjust mountroot routines to vrele rootvp in case of mount error. Closes PR 7977 by Neil Carson, <neil@brini.com>.
|
| 1.26 | 08-Jul-1999 |
wrstuden | Modify file systems to deal with struct lock in struct vnode. All leaf fs's other than nfs use genfs_lock() for locking.
Modify lookup routines to set PDIRUNLOCK when they unlock the parrent.
|
| 1.25 | 01-Jun-1999 |
bouyer | memset ump->um_e2fs to 0 after malloc, it is bigger than SBSIZE and thus some parts were left uninitialised. The symptom was that a read-only mount tried to rewrite back the superblock.
|
| 1.24 | 26-Feb-1999 |
wrstuden | branches: 1.24.2; 1.24.4; 1.24.6; Modify vfsops to seperate vfs_fhtovp() into two routines. vfs_fhtovp() now only handles the file handle to vnode conversion, and a new call, vfs_checkexp(), performs the export verification.
|
| 1.23 | 10-Feb-1999 |
bouyer | Make sure a buffer optained from bread() is always bresle()'d in case of error. Closes PR kern/1448 from Wolfgang Solfrank.
|
| 1.22 | 02-Dec-1998 |
bouyer | - intentation - sync LK_* flags with ffs/ufs
|
| 1.21 | 01-Dec-1998 |
bouyer | In ext2fs_sync(), don't flush the vnode if vput() returned an error. Fixes PR kern/6495.
|
| 1.20 | 23-Oct-1998 |
thorpej | For consistency w/ FFS/LFS, define EXT2_DINODE_SIZE, and use it instead of pointer arithmetic and/or sizeof(struct ext2fs_dinode).
|
| 1.19 | 29-Sep-1998 |
bouyer | #include opt_uvm.h only if _KENREL and !_LKM Make ext2fs_init() call ufs_init(). it was doing the init by itself, testing for extern done != 0. This bug was hidden by the fact that ext2fs_init() is called before ffs_init().
|
| 1.18 | 13-Sep-1998 |
christos | Fix copyright '\t' -> ' '
|
| 1.17 | 01-Sep-1998 |
thorpej | Use the pool allocator and "nointr" pool page allocator for ext2fs inodes.
|
| 1.16 | 09-Aug-1998 |
perry | bzero->memset, bcopy->memcpy, bcmp->memcmp
|
| 1.15 | 05-Jul-1998 |
jonathan | * defopt COMPAT_{09,10,11,12,13} and COMPAT_NOMID. TODO: revisit interaction between native compat and emul compat usage.
|
| 1.14 | 24-Jun-1998 |
sommerfe | Always include fifos; "not an option any more".
|
| 1.13 | 22-Jun-1998 |
sommerfe | defopt for options FIFO
|
| 1.12 | 05-Jun-1998 |
kleink | Convert fsync vnode operator implementations and usage from the old `waitfor' argument and MNT_WAIT/MNT_NOWAIT to `flags' and FSYNC_WAIT.
|
| 1.11 | 18-Mar-1998 |
bouyer | Add support for reading/writing FFS in non-native byte order, conditioned to "options FFS_EI". The superblock and inodes (without blk addr) are byteswapped at disk read/write time, other metadatas are byteswapped when used (as they are acceeded directly in the buffer cache). This required the addition of a "um_flags" field to struct ufsmount. ffs_bswap.c contains superblock and inode byteswap routines also used by userland utilities.
|
| 1.10 | 02-Mar-1998 |
bouyer | Close kern/5077: When DIAGNOSTIC is defined, don't complain about bad magic numbers at a mount attempt. A message is still printed when the magic number is OK, but the version number or the block size is bad. Patch from Soren S. Jorvang, but different from the one in the PR.
|
| 1.9 | 01-Mar-1998 |
fvdl | Merge with Lite2 + local changes
|
| 1.8 | 18-Feb-1998 |
drochner | add missing vfsops element
|
| 1.7 | 18-Feb-1998 |
thorpej | Place a pointer to an array of our vnodeopv_desc *'s in our vfsops structure, for use by vfs_attach().
|
| 1.6 | 27-Oct-1997 |
bouyer | When allocating an inode with dtime set, also bzero e2di_blocks[].
|
| 1.5 | 23-Oct-1997 |
bouyer | Uses ext2fs_vinit not ufs_vinit. In ext2fs, an inode is deleted either when mode == 0 or dtime != 0. If dtime != 0, reset others fields before using the inode, or we could end up with the wrong v_op in ext2fs_vinit. While I'm there, kill a unused variable in ext2fs_readwrite
|
| 1.4 | 09-Oct-1997 |
bouyer | branches: 1.4.2; Add byte-swapping functions (bswap16, bswap32, bswap64) to libkern. Only assembly version for i386 bswap16 and bswap32 for now (bswap64 uses bswap32). Contribution of assembly versions of these are welcome. Add byte-swapping of ext2fs metadata for big-endian systems. Tested on i386 and sparc.
|
| 1.3 | 17-Jul-1997 |
bouyer | branches: 1.3.2; Add a lock locking around inode hashing.
|
| 1.2 | 12-Jun-1997 |
mrg | remove swap configuration.
|
| 1.1 | 11-Jun-1997 |
bouyer | The ext2fs layer, based on the ffs/ufs one. Uses a few functions from sys/ufs/ufs/
|
| 1.3.2.1 | 14-Oct-1997 |
thorpej | Update marc-pcmcia branch from trunk.
|
| 1.4.2.2 | 27-Oct-1997 |
mellon | Pull rev 1.6 up from trunk (bouyer)
|
| 1.4.2.1 | 23-Oct-1997 |
mellon | Pull rev 1.5 up from trunk
|
| 1.24.6.1 | 30-Nov-1999 |
itojun | bring in latest KAME (as of 19991130, KAME/NetBSD141) into kame branch just for reference purposes. This commit includes 1.4 -> 1.4.1 sync for kame branch.
The branch does not compile at all (due to the lack of ALTQ and some other source code). Please do not try to modify the branch, this is just for referenre purposes.
synchronization to latest KAME will take place on HEAD branch soon.
|
| 1.24.4.3 | 06-Aug-1999 |
chs | UBCify.
|
| 1.24.4.2 | 02-Aug-1999 |
thorpej | Update from trunk.
|
| 1.24.4.1 | 21-Jun-1999 |
thorpej | Sync w/ -current.
|
| 1.24.2.3 | 01-Feb-2000 |
he | Apply patch (requested by bouyer): Add support for ext2fs revision 1, with read-only support for the 'sparse_super' and 'filetype' options. Should fix PR#9088.
|
| 1.24.2.2 | 18-Oct-1999 |
cgd | pull up rev 1.28 from trunk (requested by wrstuden): In spec_close(), call the device's close routine with the vnode unlocked if the call might block. Force a non-blocking close if VXLOCK is set. This eliminates a potential deadlock situation, and should eliminate the dirty buffers on reboot issue.
|
| 1.24.2.1 | 21-Jun-1999 |
perry | pullup 1.24->1.25 (bouyer): zero ump->um_e2fs after malloc
|
| 1.27.2.2 | 27-Dec-1999 |
wrstuden | Pull up to last week's -current.
|
| 1.27.2.1 | 21-Dec-1999 |
wrstuden | Initial commit of recent changes to make DEV_BSIZE go away.
Runs on i386, needs work on other arch's. Main kernel routines should be fine, but a number of the stand programs need help.
cd, fd, ccd, wd, and sd have been updated. sd has been tested with non-512 byte block devices. vnd, raidframe, and lfs need work.
Non 2**n block support is automatic for LKM's and conditional for kernels on "options NON_PO2_BLOCKS".
|
| 1.28.4.3 | 15-Nov-1999 |
fvdl | Sync with -current
|
| 1.28.4.2 | 03-Nov-1999 |
fvdl | Give ufs_ihashget an extra argument: the flags passed to vget() for locking. This way we can avoid locking against ourselves when ufs_ihashget is called during the flushing of metadata. XXX
Also, comment out a VOP_FSYNC call that I think is now unneeded, and put a diagnostic printf there to check if this still happens.
|
| 1.28.4.1 | 19-Oct-1999 |
fvdl | Bring in Kirk McKusick's FFS softdep code on a branch.
|
| 1.28.2.5 | 11-Feb-2001 |
bouyer | Sync with HEAD.
|
| 1.28.2.4 | 13-Dec-2000 |
bouyer | Sync with HEAD (for UBC fixes).
|
| 1.28.2.3 | 08-Dec-2000 |
bouyer | Sync with HEAD.
|
| 1.28.2.2 | 20-Nov-2000 |
bouyer | Update thorpej_scsipi to -current as of a month ago
|
| 1.28.2.1 | 20-Oct-1999 |
thorpej | Sync w/ trunk.
|
| 1.35.2.1 | 22-Jun-2000 |
minoura | Sync w/ netbsd-1-5-base.
|
| 1.36.2.3 | 14-Dec-2000 |
he | Pull up revision 1.39 (requested by fvdl): Improve NFS performance, possibly with as much as 100% in throughput. Please note: this implies a kernel interface change, VOP_FSYNC gains two arguments.
|
| 1.36.2.2 | 24-Jul-2000 |
jdolecek | pullup rev. 1.38 from trunk (approved by thorpej): ext2fs_reload(), ext2fs_mountfs(): do devvp locking same way as ffs this has not shown any good or bad effect, but might help narrow some problems people seen with ext2fs reload
|
| 1.36.2.1 | 03-Jul-2000 |
fvdl | pullup from trunk:
Fix a "locking against myself" problem; holding ufs_hashlock across getnewvnode() could cause a recursive lock if it resulted in recycling a vnode that was using softdeps.
|
| 1.42.2.10 | 18-Oct-2002 |
nathanw | Catch up to -current.
|
| 1.42.2.9 | 17-Sep-2002 |
nathanw | Catch up to -current.
|
| 1.42.2.8 | 01-Aug-2002 |
nathanw | Catch up to -current.
|
| 1.42.2.7 | 12-Jul-2002 |
nathanw | No longer need to pull in lwp.h; proc.h pulls it in for us.
|
| 1.42.2.6 | 24-Jun-2002 |
nathanw | Curproc->curlwp renaming.
Change uses of "curproc->l_proc" back to "curproc", which is more like the original use. Bare uses of "curproc" are now "curlwp".
"curproc" is now #defined in proc.h as ((curlwp) ? (curlwp)->l_proc) : NULL) so that it is always safe to reference curproc (*de*referencing curproc is another story, but that's always been true).
|
| 1.42.2.5 | 01-Apr-2002 |
nathanw | Catch up to -current. (CVS: It's not just a program. It's an adventure!)
|
| 1.42.2.4 | 14-Nov-2001 |
nathanw | Catch up to -current.
|
| 1.42.2.3 | 21-Sep-2001 |
nathanw | Catch up to -current.
|
| 1.42.2.2 | 21-Jun-2001 |
nathanw | Catch up to -current.
|
| 1.42.2.1 | 05-Mar-2001 |
nathanw | Initial commit of scheduler activations and lightweight process support.
|
| 1.43.6.3 | 01-Oct-2001 |
fvdl | Catch up with -current.
|
| 1.43.6.2 | 26-Sep-2001 |
fvdl | * add a VCLONED vnode flag that indicates a vnode representing a cloned device. * rename REVOKEALL to REVOKEALIAS, and add a REVOKECLONE flag, to pass to VOP_REVOKE * the revoke system call will revoke all aliases, as before, but not the clones * vdevgone is called when detaching a device, so make it use REVOKECLONE to get rid of all clones as well * clean up all uses of VOP_OPEN wrt. locking. * add a few VOPS to spec_vnops that need to do something when it's a clone vnode (access and getattr) * add a copy of the vnode vattr structure of the original 'master' vnode to the specinfo of a cloned vnode. could possibly redirect getattr to the 'master' vnode, but this has issues with revoke * add a vdev_reassignvp function that disassociates a vnode from its original device, and reassociates it with the specified dev_t. to be used by cloning devices only, in case a new minor is allocated. * change all direct references in drivers to v_devcookie and v_rdev to vdev_privdata(vp) and vdev_rdev(vp). for diagnostic purposes when debugging race conditions that still exist wrt. locking and revoking vnodes. * make the locking state of a vnode consistent when passed to d_open and d_close (unlocked). locked would be better, but has some deadlock issues
|
| 1.43.6.1 | 18-Sep-2001 |
fvdl | Various changes to make cloning devices possible:
* Add an extra argument (struct vnode **) to VOP_OPEN. If it is not NULL, specfs will create a cloned (aliased) vnode during the call, and return it there. The caller should release and unlock the original vnode if a new vnode was returned. The new vnode is returned locked.
* Add a flag field to the cdevsw and bdevsw structures. DF_CLONING indicates that it wants a new vnode for each open (XXX is there a better way? devprop?)
* If a device is cloning, always call the close entry point for a VOP_CLOSE.
Also, rewrite cons.c to do the right thing with vnodes. Use VOPs rather then direct device entry calls. Suggested by mycroft@
Light to moderate testing done an i386 system (arch doesn't matter though, these are MI changes).
|
| 1.43.4.4 | 10-Oct-2002 |
jdolecek | sync kqueue with -current; this includes merge of gehenna-devsw branch, merge of i386 MP branch, and part of autoconf rototil work
|
| 1.43.4.3 | 06-Sep-2002 |
jdolecek | sync kqueue branch with HEAD
|
| 1.43.4.2 | 16-Mar-2002 |
jdolecek | Catch up with -current.
|
| 1.43.4.1 | 10-Jan-2002 |
thorpej | Sync kqueue branch with -current.
|
| 1.45.2.1 | 12-Nov-2001 |
thorpej | Sync the thorpej-mips-cache branch with -current.
|
| 1.49.6.2 | 29-Aug-2002 |
gehenna | catch up with -current.
|
| 1.49.6.1 | 16-May-2002 |
gehenna | Use devsw APIs for checking validity of major numbers.
|
| 1.60.2.13 | 10-Nov-2005 |
skrll | Sync with HEAD. Here we go again...
|
| 1.60.2.12 | 01-Apr-2005 |
skrll | Sync with HEAD.
|
| 1.60.2.11 | 04-Mar-2005 |
skrll | Sync with HEAD.
Hi Perry!
|
| 1.60.2.10 | 15-Feb-2005 |
skrll | Sync with HEAD.
|
| 1.60.2.9 | 17-Jan-2005 |
skrll | Sync with HEAD.
|
| 1.60.2.8 | 14-Nov-2004 |
skrll | Sync with HEAD.
|
| 1.60.2.7 | 24-Sep-2004 |
skrll | Sync with HEAD.
|
| 1.60.2.6 | 21-Sep-2004 |
skrll | Fix the sync with head I botched.
|
| 1.60.2.5 | 18-Sep-2004 |
skrll | Sync with HEAD.
|
| 1.60.2.4 | 25-Aug-2004 |
skrll | Sync with HEAD.
|
| 1.60.2.3 | 24-Aug-2004 |
skrll | Undo part of the ktrace/lwp changes. In particular: * Remove the "lwp *" argument that was added to vget(). Turns out that nothing actually used it! * Remove the "lwp *" arguments that were added to VFS_ROOT(), VFS_VGET(), and VFS_FHTOVP(); all they did was pass it to vget() (which, as noted above, didn't use it). * Remove all of the "lwp *" arguments to internal functions that were added just to appease the above.
|
| 1.60.2.2 | 03-Aug-2004 |
skrll | Sync with HEAD
|
| 1.60.2.1 | 02-Jul-2003 |
darrenr | Apply the aborted ktrace-lwp changes to a specific branch. This is just for others to review, I'm concerned that patch fuziness may have resulted in some errant code being generated but I'll look at that later by comparing the diff from the base to the branch with the file I attempt to apply to it. This will, at the very least, put the changes in a better context for others to review them and attempt to tinker with removing passing of 'struct lwp' through the kernel.
|
| 1.66.2.1 | 29-May-2004 |
tron | Pull up revision 1.71 (requested by atatat in ticket #393): Sysctl descriptions under vfs subtree
|
| 1.81.4.2 | 19-Mar-2005 |
yamt | sync with head. xen and whitespace. xen part is not finished.
|
| 1.81.4.1 | 12-Feb-2005 |
yamt | sync with head.
|
| 1.81.2.1 | 29-Apr-2005 |
kent | sync with -current
|
| 1.83.2.1 | 24-Aug-2005 |
riz | Pull up following revision(s) (requested by yamt in ticket #688): sys/miscfs/genfs/genfs_vnops.c: revision 1.98 via patch sys/ufs/ffs/ffs_vfsops.c: revision 1.165 sys/ufs/lfs/lfs_extern.h: revision 1.69 sys/fs/filecorefs/filecore_vfsops.c: revision 1.20 sys/nfs/nfs_node.c: revision 1.80 sys/fs/smbfs/smbfs_node.c: revision 1.24 sys/fs/cd9660/cd9660_vfsops.c: revision 1.24 sys/fs/msdosfs/msdosfs_denode.c: revision 1.8 sys/miscfs/genfs/genfs_node.h: revision 1.6 sys/ufs/lfs/lfs_vfsops.c: revision 1.183 sys/ufs/ext2fs/ext2fs_vfsops.c: revision 1.86 sys/fs/adosfs/advfsops.c: revision 1.23 sys/fs/ntfs/ntfs_vfsops.c: revision 1.31 - constify genfs_ops. - use member designators.
sys/miscfs/genfs/genfs_vnops.c: revision 1.99 via patch genfs_getpages: don't forget to put the vnode onto the syncer's work que ue even in the case of PGO_LOCKED.
sys/uvm/uvm_bio.c: revision 1.40 sys/uvm/uvm_pager.h: revision 1.29 sys/miscfs/genfs/genfs_vnops.c: revision 1.100 via patch sys/ufs/ufs/ufs_inode.c: revision 1.50 - introduce PGO_NOBLOCKALLOC and use it for ubc mapping to prevent unnecessary block allocations in the case that page size > block size. - ufs_balloc_range: use VM_PROT_WRITE+PGO_NOBLOCKALLOC rather than VM_PROT_READ.
sys/uvm/uvm_fault.c: revision 1.96 sys/miscfs/genfs/genfs_vnops.c: revision 1.101 via patch sys/uvm/uvm_object.h: revision 1.19 sys/miscfs/genfs/genfs_node.h: revision 1.7 ensure that vnodes with dirty pages are always on syncer's queue. - genfs_putpages: wait for i/o completion of PG_RELEASED/PG_PAGEOUT pages by setting "wasclean" false when encountering them. suggested by Stephan Uphoff in PR/24596 (1). - genfs_putpages: write protect pages when cleaning out, if we're going to take the vnode off the syncer's queue. uvm_fault: don't write-map pages unless its vnode is already on the syncer's queue. fix PR/24596 (3) but in the different way from the suggested fix. (to keep our current behaviour, ie. not to require explicit msync. discussed on tech-kern@.) - genfs_putpages: don't mistakenly take a vnode off the queue by introducing a generation number in genfs_node. genfs_getpages: increment the generation number. suggested by Stephan Uphoff in PR/24596 (2). - add some assertions.
sys/miscfs/genfs/genfs_vnops.c: revision 1.102 via patch genfs_putpages: don't bother to clean the vnode unless VONWORKLST.
sys/ufs/ffs/ffs_vnops.c: revision 1.71 ffs_full_fsync: because VBLK/VCHR can be mmap'ed, do VOP_PUTPAGES for them as well.
sys/uvm/uvm_fault.c: revision 1.97 uvm_fault: check a correct object in the case of layered filesystems. fix PR/30811 from Jukka Salmi.
sys/uvm/uvm_object.h: revision 1.20 sys/ufs/ffs/ffs_vfsops.c: revision 1.167 sys/uvm/uvm_bio.c: revision 1.41 sys/ufs/ufs/ufs_vnops.c: revision 1.129 sys/uvm/uvm_mmap.c: revision 1.92 sys/uvm/uvm_fault.c: revision 1.98 sys/kern/vfs_subr.c: revision 1.252 sys/fs/msdosfs/denode.h: revision 1.5 sys/miscfs/genfs/genfs_vnops.c: revision 1.103 via patch sys/fs/msdosfs/msdosfs_denode.c: revision 1.9 sys/sys/vnode.h: revision 1.141 sys/ufs/ufs/ufs_inode.c: revision 1.51 sys/ufs/ufs/ufs_extern.h: revision 1.45 via patch sys/miscfs/genfs/genfs_node.h: revision 1.8 sys/ufs/lfs/lfs_vfsops.c: revision 1.184 sys/uvm/uvm_pager.h: revision 1.30 sys/ufs/ext2fs/ext2fs_vfsops.c: revision 1.87 update file timestamps for nfsd loaned-read and mmap. PR/25279. discussed on tech-kern@.
sys/miscfs/genfs/genfs_vnops.c: revision 1.104 via patch don't write-protect wired pages. pointed by Chuck Silvers. for now, leave a vnode on the syncer's queue, as suggested by him.
sys/ufs/ffs/ffs_vnops.c: revision 1.72 revert VCHR part of ffs_vnops.c 1.71. as VCHR uses the device pager, no point to call VOP_PUTPAGES here. pointed by Chuck Silvers.
|
| 1.86.2.9 | 11-Feb-2008 |
yamt | sync with head.
|
| 1.86.2.8 | 04-Feb-2008 |
yamt | sync with head.
|
| 1.86.2.7 | 21-Jan-2008 |
yamt | sync with head
|
| 1.86.2.6 | 07-Dec-2007 |
yamt | sync with head
|
| 1.86.2.5 | 27-Oct-2007 |
yamt | sync with head.
|
| 1.86.2.4 | 03-Sep-2007 |
yamt | sync with head.
|
| 1.86.2.3 | 26-Feb-2007 |
yamt | sync with head.
|
| 1.86.2.2 | 30-Dec-2006 |
yamt | sync with head.
|
| 1.86.2.1 | 21-Jun-2006 |
yamt | sync with head.
|
| 1.92.2.1 | 20-Oct-2005 |
yamt | adapt ufs.
|
| 1.94.6.3 | 01-Jun-2006 |
kardel | Sync with head.
|
| 1.94.6.2 | 22-Apr-2006 |
simonb | Sync with head.
|
| 1.94.6.1 | 04-Feb-2006 |
simonb | Adapt for timecounters: mostly use get*time() and use "time_second" instead of "time.tv_sec".
|
| 1.94.4.1 | 09-Sep-2006 |
rpaulo | sync with head
|
| 1.94.2.1 | 01-Mar-2006 |
yamt | sync with head.
|
| 1.95.6.2 | 24-May-2006 |
tron | Merge 2006-05-24 NetBSD-current into the "peter-altq" branch.
|
| 1.95.6.1 | 28-Mar-2006 |
tron | Merge 2006-03-28 NetBSD-current into the "peter-altq" branch.
|
| 1.95.4.3 | 06-May-2006 |
christos | - Move kauth_cred_t declaration to <sys/types.h> - Cleanup struct ucred; forward declarations that are unused. - Don't include <sys/kauth.h> in any header, but include it in the c files that need it.
Approved by core.
|
| 1.95.4.2 | 19-Apr-2006 |
elad | sync with head.
|
| 1.95.4.1 | 08-Mar-2006 |
elad | Adapt to kernel authorization KPI.
|
| 1.95.2.5 | 03-Sep-2006 |
yamt | sync with head.
|
| 1.95.2.4 | 11-Aug-2006 |
yamt | sync with head
|
| 1.95.2.3 | 26-Jun-2006 |
yamt | sync with head.
|
| 1.95.2.2 | 24-May-2006 |
yamt | sync with head.
|
| 1.95.2.1 | 01-Apr-2006 |
yamt | sync with head.
|
| 1.97.2.1 | 19-Jun-2006 |
chap | Sync with head.
|
| 1.98.2.1 | 13-Jul-2006 |
gdamore | Merge from HEAD.
|
| 1.101.4.2 | 10-Dec-2006 |
yamt | sync with head.
|
| 1.101.4.1 | 22-Oct-2006 |
yamt | sync with head
|
| 1.101.2.3 | 01-Feb-2007 |
ad | Sync with head.
|
| 1.101.2.2 | 12-Jan-2007 |
ad | Sync with head.
|
| 1.101.2.1 | 18-Nov-2006 |
ad | Sync with head.
|
| 1.108.2.2 | 24-Mar-2007 |
yamt | sync with head.
|
| 1.108.2.1 | 12-Mar-2007 |
rmind | Sync with HEAD.
|
| 1.109.2.11 | 25-Oct-2007 |
ad | Fix up mnt_vnodelist handling.
|
| 1.109.2.10 | 23-Oct-2007 |
ad | Sync with head.
|
| 1.109.2.9 | 19-Oct-2007 |
ad | Hook ext2fs_vfree into ext2fs_ufsops (for ufs_reclaim).
|
| 1.109.2.8 | 20-Aug-2007 |
ad | Sync with HEAD.
|
| 1.109.2.7 | 29-Jul-2007 |
ad | Add vfs_destroy() to free mount structures. The specificdata_ref was being leaked.
|
| 1.109.2.6 | 15-Jul-2007 |
ad | Sync with head.
|
| 1.109.2.5 | 17-Jun-2007 |
ad | - Increase the number of thread priorities from 128 to 256. How the space is set up is to be revisited. - Implement soft interrupts as kernel threads. A generic implementation is provided, with hooks for fast-path MD code that can run the interrupt threads over the top of other threads executing in the kernel. - Split vnode::v_flag into three fields, depending on how the flag is locked (by the interlock, by the vnode lock, by the file system). - Miscellaneous locking fixes and improvements.
|
| 1.109.2.4 | 09-Jun-2007 |
ad | Sync with head.
|
| 1.109.2.3 | 13-May-2007 |
ad | - Pass the error number and residual count to biodone(), and let it handle setting error indicators. Prepare to eliminate B_ERROR. - Add a flag argument to brelse() to be set into the buf's flags, instead of doing it directly. Typically used to set B_INVAL. - Add a "struct cpu_info *" argument to kthread_create(), to be used to create bound threads. Change "bool mpsafe" to "int flags". - Allow exit of LWPs in the IDL state when (l != curlwp). - More locking fixes & conversion to the new API.
|
| 1.109.2.2 | 13-Mar-2007 |
ad | Pull in the initial set of changes for the vmlocking branch.
|
| 1.109.2.1 | 13-Mar-2007 |
ad | Sync with head.
|
| 1.110.2.1 | 11-Jul-2007 |
mjf | Sync with head.
|
| 1.114.2.1 | 15-Aug-2007 |
skrll | Sync with HEAD.
|
| 1.117.8.2 | 31-Jul-2007 |
pooka | * nuke the nameidata parameter from VFS_MOUNT(). Nobody on tech-kern knew what it was supposed to be used for and wrstuden gave a go-ahead * while rototilling, convert file systems which went easily to use VFS_PROTOS() instead of manually prototyping the methods
|
| 1.117.8.1 | 31-Jul-2007 |
pooka | file ext2fs_vfsops.c was added on branch matt-mips64 on 2007-07-31 21:14:21 +0000
|
| 1.117.6.2 | 18-Oct-2007 |
yamt | sync with head.
|
| 1.117.6.1 | 14-Oct-2007 |
yamt | sync with head.
|
| 1.117.4.3 | 23-Mar-2008 |
matt | sync with HEAD
|
| 1.117.4.2 | 09-Jan-2008 |
matt | sync with HEAD
|
| 1.117.4.1 | 06-Nov-2007 |
matt | sync with HEAD
|
| 1.117.2.4 | 09-Dec-2007 |
jmcneill | Sync with HEAD.
|
| 1.117.2.3 | 03-Dec-2007 |
joerg | Sync with HEAD.
|
| 1.117.2.2 | 27-Nov-2007 |
joerg | Sync with HEAD. amd64 Xen support needs testing.
|
| 1.117.2.1 | 26-Oct-2007 |
joerg | Sync with HEAD.
Follow the merge of pmap.c on i386 and amd64 and move pmap_init_tmp_pgtbl into arch/x86/x86/pmap.c. Modify the ACPI wakeup code to restore CR4 before jumping back into kernel space as the large page option might cover that.
|
| 1.120.4.3 | 18-Feb-2008 |
mjf | Sync with HEAD.
|
| 1.120.4.2 | 27-Dec-2007 |
mjf | Sync with HEAD.
|
| 1.120.4.1 | 08-Dec-2007 |
mjf | Sync with HEAD.
|
| 1.124.2.3 | 30-Dec-2007 |
ad | Fix remaining problems with ext2fs on this branch.
|
| 1.124.2.2 | 26-Dec-2007 |
ad | Sync with head.
|
| 1.124.2.1 | 04-Dec-2007 |
ad | Pull the vmlocking changes into a new branch.
|
| 1.125.4.2 | 08-Jan-2008 |
bouyer | Sync with HEAD
|
| 1.125.4.1 | 02-Jan-2008 |
bouyer | Sync with HEAD
|
| 1.131.10.6 | 11-Aug-2010 |
yamt | sync with head.
|
| 1.131.10.5 | 11-Mar-2010 |
yamt | sync with head
|
| 1.131.10.4 | 16-Sep-2009 |
yamt | sync with head
|
| 1.131.10.3 | 18-Jul-2009 |
yamt | sync with head.
|
| 1.131.10.2 | 04-May-2009 |
yamt | sync with head.
|
| 1.131.10.1 | 16-May-2008 |
yamt | sync with head.
|
| 1.131.8.1 | 18-May-2008 |
yamt | sync with head.
|
| 1.131.6.3 | 17-Jan-2009 |
mjf | Sync with HEAD.
|
| 1.131.6.2 | 29-Jun-2008 |
mjf | Sync with HEAD.
|
| 1.131.6.1 | 02-Jun-2008 |
mjf | Sync with HEAD.
|
| 1.134.2.2 | 18-Sep-2008 |
wrstuden | Sync with wrstuden-revivesa-base-2.
|
| 1.134.2.1 | 23-Jun-2008 |
wrstuden | Sync w/ -current. 34 merge conflicts to follow.
|
| 1.136.2.1 | 03-Jul-2008 |
simonb | Sync with head.
|
| 1.137.6.7 | 25-Apr-2014 |
sborrill | Pull up the following revisions(s) (requested by maxv in ticket #1901): sys/kern/vfs_syscalls.c: revision 1.478, 1.480 via patch sys/coda/coda_vfsops.c: revision 1.81 sys/fs/adosfs/advfsops.c: revision 1.70 sys/fs/cd9660/cd9660_vfsops.c: revision 1.84 sys/fs/efs/efs_vfsops.c: revision 1.25 sys/fs/filecorefs/filecore_vfsops.c: revision 1.76 sys/fs/hfs/hfs_vfsops.c: revision 1.31 sys/fs/msdosfs/msdosfs_vfsops.c: revision 1.107 sys/fs/ntfs/ntfs_vfsops.c: revision 1.94 sys/fs/ptyfs/ptyfs_vfsops.c: revision 1.50 via patch sys/fs/puffs/puffs_vfsops.c: revision 1.110 via patch sys/fs/smbfs/smbfs_vfsops.c: revision 1.100 sys/fs/sysvbfs/sysvbfs_vfsops.c: revision 1.43 sys/fs/tmpfs/tmpfs_vfsops.c: revision 1.59 via patch sys/fs/udf/udf_vfsops.c: revision 1.67 sys/fs/union/union_vfsops.c: revision 1.72 sys/fs/unionfs/unionfs_vfsops.c: revision 1.13 sys/kern/vfs_syscalls.c: revision 1.479 sys/miscfs/nullfs/null_vfsops.c: revision 1.88 via patch sys/miscfs/overlay/overlay_vfsops.c: revision 1.61 sys/miscfs/procfs/procfs_vfsops.c: revision 1.91 sys/miscfs/umapfs/umap_vfsops.c: revision 1.92 sys/nfs/nfs_vfsops.c: revision 1.227 sys/ufs/ext2fs/ext2fs_vfsops.c: revision 1.180 sys/ufs/ffs/ffs_vfsops.c: revision 1.297 sys/ufs/lfs/lfs_vfsops.c: revision 1.321 sys/ufs/mfs/mfs_vfsops.c: revision 1.107
Due to missing checks in the mount syscall, and a wrong assumption on the file systems side, the kernel could allocate an unbounded or zero-sized memory buffer, and could dereference a NULL pointer when particular arguments are given by a user.
|
| 1.137.6.6 | 16-Jan-2011 |
bouyer | branches: 1.137.6.6.2; Pull up following revision(s) (requested by tsutsui in ticket #1486): sbin/fsck_ext2fs/setup.c: revision 1.26 sbin/newfs_ext2fs/mke2fs.c: revision 1.10 sbin/newfs_ext2fs/mke2fs.c: revision 1.11 sbin/newfs_ext2fs/mke2fs.c: revision 1.12 sbin/fsck_ext2fs/inode.c: revision 1.24 sys/lib/libsa/ext2fs.c: revision 1.6 sbin/newfs_ext2fs/extern.h: revision 1.3 sbin/fsck_ext2fs/inode.c: revision 1.25 sys/lib/libsa/ext2fs.c: revision 1.7 sbin/fsck_ext2fs/inode.c: revision 1.26 sys/ufs/ext2fs/ext2fs_inode.c: revision 1.68 sbin/fsck_ext2fs/inode.c: revision 1.27 sbin/fsck_ext2fs/inode.c: revision 1.28 sys/ufs/ext2fs/ext2fs_dinode.h: revision 1.18 sys/ufs/ext2fs/ext2fs_dinode.h: revision 1.19 sbin/newfs_ext2fs/newfs_ext2fs.c: revision 1.5 sbin/newfs_ext2fs/newfs_ext2fs.8: revision 1.2 sbin/newfs_ext2fs/newfs_ext2fs.c: revision 1.6 sbin/newfs_ext2fs/newfs_ext2fs.8: revision 1.3 sys/ufs/ext2fs/ext2fs_vfsops.c: revision 1.142 sbin/newfs_ext2fs/newfs_ext2fs.c: revision 1.7 sbin/newfs_ext2fs/newfs_ext2fs.8: revision 1.4 sbin/newfs_ext2fs/newfs_ext2fs.c: revision 1.8 PR/40936: Frederik Sausmikat: ext2fs: add support for inodes > 128 bytes Support variable inode sizes. catch up with variable inode size. Don't use e2fs_inode_size in superblock on E2FS_REV0 file system. - accept only EXT2_REV0_DINODE_SIZE inodesize on -O 0 - use inodesize to get offset of inode, not struct ext2fs_dinode array Replace a magic number with a new EXT2_REV0_DINODE_SIZE macro. Use EXT2_DINODE_SIZE() to get offset of inode, not struct ext2fs_dinode array. Fix botched logic in inodesize check. Use inodesize to get offset of inode in one more place. - add a sanity check for e2fs_inode_size in readsb() - use EXT2_DINODE_SIZE() rather than sizeof(struct ext2fs_dinode) or struct ext2fs_dinode array/pointer to see e2fs_ipb and inode offsets Sort options. New sentence, new line. Sort options in usage. - unsigned -> unsigned int - remove unnecessary casts from malloc(3) and free(3) - fix a bogus indent Use "size > INT32_MAX" rather than "size >= 0x80000000U" to check 2GB limit. Add missed byteswap ops against ext2fs_dinode members. Handle 32 bit uid field on E2FS_REV1.
|
| 1.137.6.5 | 27-Oct-2009 |
bouyer | branches: 1.137.6.5.2; Pull up following revision(s) (requested by pooka in ticket #1112): sys/ufs/ext2fs/ext2fs_vnops.c: revision 1.91 sys/ufs/ext2fs/ext2fs_vfsops.c: revision 1.152 sys/ufs/ext2fs/ext2fs_extern.h: revision 1.42 update i_uid and i_gid after chown
|
| 1.137.6.4 | 16-Oct-2009 |
snj | Pull up following revision(s) (requested by tsutsui in ticket #1060): sys/ufs/ext2fs/ext2fs_vfsops.c: revision 1.148 Add a missed brelse(9) call after bread(9) in ext2fs_reload(). This may close PR kern/28712 (ext2fs hang on mount after fsck).
|
| 1.137.6.3 | 16-Oct-2009 |
snj | Pull up following revision(s) (requested by tsutsui in ticket #1060): sys/ufs/ext2fs/ext2fs_vfsops.c: revision 1.147 Pull a fix from ffs_vfsops.c rev 1.248: Fix bug introduced in revision 1.174(*) where a NULL fspec with an MNT_UPDATE command would always return EINVAL. This broke fsck on root, where fsck'ing a dirty root would always return an error causing rc to resort in a reboot. (*) This is "Apply the NFS exports list rototill patch" change in ext2fs_vfsops.c rev 1.91.
|
| 1.137.6.2 | 16-Oct-2009 |
snj | Pull up following revision(s) (requested by tsutsui in ticket #1060): sys/ufs/ext2fs/ext2fs_vfsops.c: revision 1.146 Pull a fix for mount function from ffs_vfsops.c rev1.186: Change ffs_mount, in MNT_UPDATE case, to check dev_t's for equality instead of just vnode pointers. Fixes erroneous "does not match mounted device" errors from mount(8) in the presence of MFS /dev, init.root, &c.
|
| 1.137.6.1 | 29-Nov-2008 |
snj | branches: 1.137.6.1.4; Pull up following revision(s) (requested by mrg in ticket #147): sys/ufs/ext2fs/ext2fs_alloc.c: revision 1.37 sys/ufs/ext2fs/ext2fs_bswap.c: revision 1.14 sys/ufs/ext2fs/ext2fs_dinode.h: revision 1.17 sys/ufs/ext2fs/ext2fs_lookup.c: revision 1.56 sys/ufs/ext2fs/ext2fs_vnops.c: revision 1.83 sys/ufs/ext2fs/ext2fs_vfsops.c: revision 1.140 sys/ufs/ufs/inode.h: revision 1.55 add support for 32 bit uid/gid fields in ext2, but only do so for when the revision is > REV0.
|
| 1.137.6.6.2.1 | 28-Apr-2014 |
sborrill | Pull up the following revisions(s) (requested by maxv in ticket #1901): sys/kern/vfs_syscalls.c: revision 1.478, 1.480 via patch sys/coda/coda_vfsops.c: revision 1.81 sys/fs/adosfs/advfsops.c: revision 1.70 sys/fs/cd9660/cd9660_vfsops.c: revision 1.84 sys/fs/efs/efs_vfsops.c: revision 1.25 sys/fs/filecorefs/filecore_vfsops.c: revision 1.76 sys/fs/hfs/hfs_vfsops.c: revision 1.31 sys/fs/msdosfs/msdosfs_vfsops.c: revision 1.107 sys/fs/ntfs/ntfs_vfsops.c: revision 1.94 sys/fs/ptyfs/ptyfs_vfsops.c: revision 1.50 via patch sys/fs/puffs/puffs_vfsops.c: revision 1.110 via patch sys/fs/smbfs/smbfs_vfsops.c: revision 1.100 sys/fs/sysvbfs/sysvbfs_vfsops.c: revision 1.43 sys/fs/tmpfs/tmpfs_vfsops.c: revision 1.59 via patch sys/fs/udf/udf_vfsops.c: revision 1.67 sys/fs/union/union_vfsops.c: revision 1.72 sys/fs/unionfs/unionfs_vfsops.c: revision 1.13 sys/kern/vfs_syscalls.c: revision 1.479 sys/miscfs/nullfs/null_vfsops.c: revision 1.88 via patch sys/miscfs/overlay/overlay_vfsops.c: revision 1.61 sys/miscfs/procfs/procfs_vfsops.c: revision 1.91 sys/miscfs/umapfs/umap_vfsops.c: revision 1.92 sys/nfs/nfs_vfsops.c: revision 1.227 sys/ufs/ext2fs/ext2fs_vfsops.c: revision 1.180 sys/ufs/ffs/ffs_vfsops.c: revision 1.297 sys/ufs/lfs/lfs_vfsops.c: revision 1.321 sys/ufs/mfs/mfs_vfsops.c: revision 1.107
Due to missing checks in the mount syscall, and a wrong assumption on the file systems side, the kernel could allocate an unbounded or zero-sized memory buffer, and could dereference a NULL pointer when particular arguments are given by a user.
|
| 1.137.6.5.2.1 | 28-Apr-2014 |
sborrill | Pull up the following revisions(s) (requested by maxv in ticket #1901): sys/kern/vfs_syscalls.c: revision 1.478, 1.480 via patch sys/coda/coda_vfsops.c: revision 1.81 sys/fs/adosfs/advfsops.c: revision 1.70 sys/fs/cd9660/cd9660_vfsops.c: revision 1.84 sys/fs/efs/efs_vfsops.c: revision 1.25 sys/fs/filecorefs/filecore_vfsops.c: revision 1.76 sys/fs/hfs/hfs_vfsops.c: revision 1.31 sys/fs/msdosfs/msdosfs_vfsops.c: revision 1.107 sys/fs/ntfs/ntfs_vfsops.c: revision 1.94 sys/fs/ptyfs/ptyfs_vfsops.c: revision 1.50 via patch sys/fs/puffs/puffs_vfsops.c: revision 1.110 via patch sys/fs/smbfs/smbfs_vfsops.c: revision 1.100 sys/fs/sysvbfs/sysvbfs_vfsops.c: revision 1.43 sys/fs/tmpfs/tmpfs_vfsops.c: revision 1.59 via patch sys/fs/udf/udf_vfsops.c: revision 1.67 sys/fs/union/union_vfsops.c: revision 1.72 sys/fs/unionfs/unionfs_vfsops.c: revision 1.13 sys/kern/vfs_syscalls.c: revision 1.479 sys/miscfs/nullfs/null_vfsops.c: revision 1.88 via patch sys/miscfs/overlay/overlay_vfsops.c: revision 1.61 sys/miscfs/procfs/procfs_vfsops.c: revision 1.91 sys/miscfs/umapfs/umap_vfsops.c: revision 1.92 sys/nfs/nfs_vfsops.c: revision 1.227 sys/ufs/ext2fs/ext2fs_vfsops.c: revision 1.180 sys/ufs/ffs/ffs_vfsops.c: revision 1.297 sys/ufs/lfs/lfs_vfsops.c: revision 1.321 sys/ufs/mfs/mfs_vfsops.c: revision 1.107
Due to missing checks in the mount syscall, and a wrong assumption on the file systems side, the kernel could allocate an unbounded or zero-sized memory buffer, and could dereference a NULL pointer when particular arguments are given by a user.
|
| 1.137.6.1.4.1 | 21-Apr-2010 |
matt | sync to netbsd-5
|
| 1.137.4.3 | 28-Apr-2009 |
skrll | Sync with HEAD.
|
| 1.137.4.2 | 03-Mar-2009 |
skrll | Sync with HEAD.
|
| 1.137.4.1 | 19-Jan-2009 |
skrll | Sync with HEAD.
|
| 1.137.2.1 | 13-Dec-2008 |
haad | Update haad-dm branch to haad-dm-base2.
|
| 1.141.2.2 | 23-Jul-2009 |
jym | Sync with HEAD.
|
| 1.141.2.1 | 13-May-2009 |
jym | Sync with HEAD.
Commit is split, to avoid a "too many arguments" protocol error.
|
| 1.155.2.2 | 17-Aug-2010 |
uebayasi | Sync with HEAD.
|
| 1.155.2.1 | 30-Apr-2010 |
uebayasi | Sync with HEAD.
|
| 1.156.2.4 | 19-May-2011 |
rmind | Implement sharing of vnode_t::v_interlock amongst vnodes: - Lock is shared amongst UVM objects using uvm_obj_setlock() or getnewvnode(). - Adjust vnode cache to handle unsharing, add VI_LOCKSHARE flag for that. - Use sharing in tmpfs and layerfs for underlying object. - Simplify locking in ubc_fault(). - Sprinkle some asserts.
Discussed with ad@.
|
| 1.156.2.3 | 05-Mar-2011 |
rmind | sync with head
|
| 1.156.2.2 | 03-Jul-2010 |
rmind | sync with head
|
| 1.156.2.1 | 16-Mar-2010 |
rmind | Change struct uvm_object::vmobjlock to be dynamically allocated with mutex_obj_alloc(). It allows us to share the locks among UVM objects.
|
| 1.159.6.1 | 23-Jun-2011 |
cherry | Catchup with rmind-uvmplock merge.
|
| 1.161.2.6 | 22-May-2014 |
yamt | sync with head.
for a reference, the tree before this commit was tagged as yamt-pagecache-tag8.
this commit was splitted into small chunks to avoid a limitation of cvs. ("Protocol error: too many arguments")
|
| 1.161.2.5 | 23-Jan-2013 |
yamt | sync with head
|
| 1.161.2.4 | 16-Jan-2013 |
yamt | sync with (a bit old) head
|
| 1.161.2.3 | 30-Oct-2012 |
yamt | sync with head
|
| 1.161.2.2 | 23-May-2012 |
yamt | sync with head.
|
| 1.161.2.1 | 17-Apr-2012 |
yamt | sync with head
|
| 1.162.12.1 | 21-Apr-2014 |
bouyer | Pull up following revision(s) (requested by maxv in ticket #1050): sys/ufs/chfs/chfs_vfsops.c: revision 1.11 sys/fs/unionfs/unionfs_vfsops.c: revision 1.13 sys/fs/nilfs/nilfs_vfsops.c: revision 1.16 sys/ufs/mfs/mfs_vfsops.c: revision 1.107 sys/fs/sysvbfs/sysvbfs_vfsops.c: revision 1.43 sys/ufs/ffs/ffs_vfsops.c: revision 1.297 sys/kern/vfs_syscalls.c: revision 1.478 sys/kern/vfs_syscalls.c: revision 1.479 sys/fs/puffs/puffs_vfsops.c: revision 1.110 sys/fs/cd9660/cd9660_vfsops.c: revision 1.84 sys/nfs/nfs_vfsops.c: revision 1.227 sys/fs/v7fs/v7fs_vfsops.c: revision 1.10 sys/ufs/ext2fs/ext2fs_vfsops.c: revision 1.180 sys/miscfs/umapfs/umap_vfsops.c: revision 1.92 sys/fs/filecorefs/filecore_vfsops.c: revision 1.76 sys/miscfs/nullfs/null_vfsops.c: revision 1.88 sys/fs/ptyfs/ptyfs_vfsops.c: revision 1.50 sys/coda/coda_vfsops.c: revision 1.81 sys/ufs/lfs/lfs_vfsops.c: revision 1.321 sys/fs/tmpfs/tmpfs_vfsops.c: revision 1.59 sys/fs/hfs/hfs_vfsops.c: revision 1.31 sys/miscfs/overlay/overlay_vfsops.c: revision 1.61 sys/fs/union/union_vfsops.c: revision 1.72 sys/fs/ntfs/ntfs_vfsops.c: revision 1.94 sys/kern/vfs_syscalls.c: revision 1.480 sys/fs/efs/efs_vfsops.c: revision 1.25 sys/kern/vfs_syscalls.c: revision 1.482 sys/fs/msdosfs/msdosfs_vfsops.c: revision 1.107 external/cddl/osnet/dist/uts/common/fs/zfs/zfs_vfsops.c: revision 1.12 sys/miscfs/procfs/procfs_vfsops.c: revision 1.91 sys/fs/smbfs/smbfs_vfsops.c: revision 1.100 sys/fs/adosfs/advfsops.c: revision 1.70 sys/fs/udf/udf_vfsops.c: revision 1.67 Limit check for 'data_len'. Otherwise a (un)privileged user can easily panic the system by passing a huge size. ok christos@ An (un)privileged user can easily make the kernel dereference a NULL pointer. The kernel allows 'data' to be NULL; it's the fs's responsibility to ensure that it isn't NULL (if the fs actually needs data). ok christos@ Some fs's - like kernfs - set their vfs_min_mount_data to zero. Add a check to prevent an (un)privileged user from requesting a zero-sized allocation (and thus a panic). This thing is totally buggy: 'data_len' is modified by the fs, so calling kmem_free with it while its value has changed since the kmem_alloc is far from being a good idea. If the kernel figures out that something mismatches, it will panic (typically with kernfs).
|
| 1.162.10.1 | 21-Apr-2014 |
bouyer | Pull up following revision(s) (requested by maxv in ticket #1050): sys/ufs/chfs/chfs_vfsops.c: revision 1.11 sys/fs/unionfs/unionfs_vfsops.c: revision 1.13 sys/fs/nilfs/nilfs_vfsops.c: revision 1.16 sys/ufs/mfs/mfs_vfsops.c: revision 1.107 sys/fs/sysvbfs/sysvbfs_vfsops.c: revision 1.43 sys/ufs/ffs/ffs_vfsops.c: revision 1.297 sys/kern/vfs_syscalls.c: revision 1.478 sys/kern/vfs_syscalls.c: revision 1.479 sys/fs/puffs/puffs_vfsops.c: revision 1.110 sys/fs/cd9660/cd9660_vfsops.c: revision 1.84 sys/nfs/nfs_vfsops.c: revision 1.227 sys/fs/v7fs/v7fs_vfsops.c: revision 1.10 sys/ufs/ext2fs/ext2fs_vfsops.c: revision 1.180 sys/miscfs/umapfs/umap_vfsops.c: revision 1.92 sys/fs/filecorefs/filecore_vfsops.c: revision 1.76 sys/miscfs/nullfs/null_vfsops.c: revision 1.88 sys/fs/ptyfs/ptyfs_vfsops.c: revision 1.50 sys/coda/coda_vfsops.c: revision 1.81 sys/ufs/lfs/lfs_vfsops.c: revision 1.321 sys/fs/tmpfs/tmpfs_vfsops.c: revision 1.59 sys/fs/hfs/hfs_vfsops.c: revision 1.31 sys/miscfs/overlay/overlay_vfsops.c: revision 1.61 sys/fs/union/union_vfsops.c: revision 1.72 sys/fs/ntfs/ntfs_vfsops.c: revision 1.94 sys/kern/vfs_syscalls.c: revision 1.480 sys/fs/efs/efs_vfsops.c: revision 1.25 sys/kern/vfs_syscalls.c: revision 1.482 sys/fs/msdosfs/msdosfs_vfsops.c: revision 1.107 external/cddl/osnet/dist/uts/common/fs/zfs/zfs_vfsops.c: revision 1.12 sys/miscfs/procfs/procfs_vfsops.c: revision 1.91 sys/fs/smbfs/smbfs_vfsops.c: revision 1.100 sys/fs/adosfs/advfsops.c: revision 1.70 sys/fs/udf/udf_vfsops.c: revision 1.67 Limit check for 'data_len'. Otherwise a (un)privileged user can easily panic the system by passing a huge size. ok christos@ An (un)privileged user can easily make the kernel dereference a NULL pointer. The kernel allows 'data' to be NULL; it's the fs's responsibility to ensure that it isn't NULL (if the fs actually needs data). ok christos@ Some fs's - like kernfs - set their vfs_min_mount_data to zero. Add a check to prevent an (un)privileged user from requesting a zero-sized allocation (and thus a panic). This thing is totally buggy: 'data_len' is modified by the fs, so calling kmem_free with it while its value has changed since the kmem_alloc is far from being a good idea. If the kernel figures out that something mismatches, it will panic (typically with kernfs).
|
| 1.162.6.1 | 21-Apr-2014 |
bouyer | Pull up following revision(s) (requested by maxv in ticket #1050): sys/ufs/chfs/chfs_vfsops.c: revision 1.11 sys/fs/unionfs/unionfs_vfsops.c: revision 1.13 sys/fs/nilfs/nilfs_vfsops.c: revision 1.16 sys/ufs/mfs/mfs_vfsops.c: revision 1.107 sys/fs/sysvbfs/sysvbfs_vfsops.c: revision 1.43 sys/ufs/ffs/ffs_vfsops.c: revision 1.297 sys/kern/vfs_syscalls.c: revision 1.478 sys/kern/vfs_syscalls.c: revision 1.479 sys/fs/puffs/puffs_vfsops.c: revision 1.110 sys/fs/cd9660/cd9660_vfsops.c: revision 1.84 sys/nfs/nfs_vfsops.c: revision 1.227 sys/fs/v7fs/v7fs_vfsops.c: revision 1.10 sys/ufs/ext2fs/ext2fs_vfsops.c: revision 1.180 sys/miscfs/umapfs/umap_vfsops.c: revision 1.92 sys/fs/filecorefs/filecore_vfsops.c: revision 1.76 sys/miscfs/nullfs/null_vfsops.c: revision 1.88 sys/fs/ptyfs/ptyfs_vfsops.c: revision 1.50 sys/coda/coda_vfsops.c: revision 1.81 sys/ufs/lfs/lfs_vfsops.c: revision 1.321 sys/fs/tmpfs/tmpfs_vfsops.c: revision 1.59 sys/fs/hfs/hfs_vfsops.c: revision 1.31 sys/miscfs/overlay/overlay_vfsops.c: revision 1.61 sys/fs/union/union_vfsops.c: revision 1.72 sys/fs/ntfs/ntfs_vfsops.c: revision 1.94 sys/kern/vfs_syscalls.c: revision 1.480 sys/fs/efs/efs_vfsops.c: revision 1.25 sys/kern/vfs_syscalls.c: revision 1.482 sys/fs/msdosfs/msdosfs_vfsops.c: revision 1.107 external/cddl/osnet/dist/uts/common/fs/zfs/zfs_vfsops.c: revision 1.12 sys/miscfs/procfs/procfs_vfsops.c: revision 1.91 sys/fs/smbfs/smbfs_vfsops.c: revision 1.100 sys/fs/adosfs/advfsops.c: revision 1.70 sys/fs/udf/udf_vfsops.c: revision 1.67 Limit check for 'data_len'. Otherwise a (un)privileged user can easily panic the system by passing a huge size. ok christos@ An (un)privileged user can easily make the kernel dereference a NULL pointer. The kernel allows 'data' to be NULL; it's the fs's responsibility to ensure that it isn't NULL (if the fs actually needs data). ok christos@ Some fs's - like kernfs - set their vfs_min_mount_data to zero. Add a check to prevent an (un)privileged user from requesting a zero-sized allocation (and thus a panic). This thing is totally buggy: 'data_len' is modified by the fs, so calling kmem_free with it while its value has changed since the kmem_alloc is far from being a good idea. If the kernel figures out that something mismatches, it will panic (typically with kernfs).
|
| 1.162.4.2 | 02-Jun-2012 |
mrg | sync to latest -current.
|
| 1.162.4.1 | 05-Apr-2012 |
mrg | sync to latest -current.
|
| 1.166.2.4 | 03-Dec-2017 |
jdolecek | update from HEAD
|
| 1.166.2.3 | 20-Aug-2014 |
tls | Rebase to HEAD as of a few days ago.
|
| 1.166.2.2 | 23-Jun-2013 |
tls | resync from head
|
| 1.166.2.1 | 25-Feb-2013 |
tls | resync with head
|
| 1.171.2.2 | 18-May-2014 |
rmind | sync with head
|
| 1.171.2.1 | 28-Aug-2013 |
rmind | sync with head
|
| 1.179.2.1 | 10-Aug-2014 |
tls | Rebase.
|
| 1.183.2.2 | 17-Jan-2015 |
martin | Pull up following revision(s) (requested by maxv in ticket #427): sys/compat/svr4/svr4_schedctl.c: revision 1.8 sys/netinet/tcp_timer.c: revision 1.88 sys/miscfs/genfs/layer_vfsops.c: revision 1.45 sys/compat/svr4/svr4_ioctl.c: revision 1.37 sys/ufs/chfs/chfs_vfsops.c: revision 1.14 sys/miscfs/fdesc/fdesc_vfsops.c: revision 1.91 sys/compat/linux/arch/i386/linux_ptrace.c: revision 1.30 sys/compat/common/kern_time_50.c: revision 1.28 sys/netinet6/ip6_forward.c: revision 1.74 sys/miscfs/umapfs/umap_vnops.c: revision 1.57 sys/compat/svr4/svr4_fcntl.c: revision 1.74 distrib/sets/lists/comp/mi: revision 1.1931 sys/netinet6/udp6_output.c: revision 1.46 sys/fs/puffs/puffs_compat.c: revision 1.3 sys/fs/udf/udf_rename.c: revision 1.11 sys/compat/svr4/svr4_filio.c: revision 1.24 sys/fs/udf/udf_rename.c: revision 1.12 sys/netinet/tcp_usrreq.c: revision 1.202 sys/miscfs/umapfs/umap_subr.c: revision 1.29 sys/compat/linux/common/linux_fadvise64.c: revision 1.3 sys/netinet/if_atm.c: revision 1.34 sys/miscfs/procfs/procfs_subr.c: revision 1.106 sys/miscfs/genfs/layer_subr.c: revision 1.37 sys/netinet/tcp_sack.c: revision 1.30 sys/compat/freebsd/freebsd_misc.c: revision 1.33 sys/compat/freebsd/freebsd_file.c: revision 1.33 sys/ufs/chfs/chfs_vnode.c: revision 1.12 sys/compat/svr4/svr4_ttold.c: revision 1.34 sys/compat/linux/common/linux_file.c: revision 1.114 sys/compat/linux/arch/mips/linux_machdep.c: revision 1.43 sys/compat/linux/common/linux_signal.c: revision 1.76 sys/compat/common/compat_util.c: revision 1.46 sys/compat/linux/arch/arm/linux_ptrace.c: revision 1.18 sys/compat/svr4/svr4_sockio.c: revision 1.36 sys/compat/linux/arch/arm/linux_machdep.c: revision 1.32 sys/compat/svr4/svr4_signal.c: revision 1.66 sys/kern/kern_exec.c: revision 1.410 sys/fs/puffs/puffs_vfsops.c: revision 1.115 sys/compat/svr4/svr4_exec_elf64.c: revision 1.15 sys/compat/linux/arch/i386/linux_machdep.c: revision 1.159 sys/compat/linux/arch/alpha/linux_machdep.c: revision 1.50 sys/compat/linux32/common/linux32_misc.c: revision 1.24 sys/netinet/in_pcb.c: revision 1.153 sys/sys/malloc.h: revision 1.116 sys/compat/common/if_43.c: revision 1.9 share/man/man9/Makefile: revision 1.380 sys/netinet/tcp_vtw.c: revision 1.12 sys/miscfs/umapfs/umap_vfsops.c: revision 1.95 sys/ufs/ext2fs/ext2fs_vfsops.c: revision 1.186 sys/compat/common/uipc_syscalls_43.c: revision 1.46 sys/ufs/ext2fs/ext2fs_vnops.c: revision 1.115 sys/fs/puffs/puffs_msgif.c: revision 1.97 sys/compat/svr4/svr4_ipc.c: revision 1.27 sys/compat/linux/common/linux_exec.c: revision 1.117 sys/ufs/ext2fs/ext2fs_readwrite.c: revision 1.66 sys/netinet/tcp_output.c: revision 1.179 sys/compat/svr4/svr4_termios.c: revision 1.28 sys/fs/udf/udf_strat_bootstrap.c: revision 1.4 sys/fs/puffs/puffs_subr.c: revision 1.67 sys/fs/puffs/puffs_node.c: revision 1.36 sys/miscfs/overlay/overlay_vnops.c: revision 1.21 sys/fs/cd9660/cd9660_node.c: revision 1.34 sys/netinet/raw_ip.c: revision 1.146 sys/sys/mallocvar.h: revision 1.13 sys/miscfs/overlay/overlay_vfsops.c: revision 1.63 share/man/man9/malloc.9: revision 1.50 sys/netinet6/dest6.c: revision 1.18 sys/compat/linux/common/linux_uselib.c: revision 1.33 sys/compat/linux/common/linux_socket.c: revision 1.120 share/man/man9/malloc.9: revision 1.51 sys/netinet/tcp_subr.c: revision 1.257 sys/compat/linux/common/linux_socketcall.c: revision 1.45 sys/compat/linux/common/linux_fadvise64_64.c: revision 1.3 sys/compat/freebsd/freebsd_ipc.c: revision 1.17 sys/compat/linux/common/linux_misc_notalpha.c: revision 1.109 sys/compat/linux/arch/alpha/linux_pipe.c: revision 1.17 sys/netinet6/in6_pcb.c: revision 1.132 sys/netinet6/in6_ifattach.c: revision 1.94 sys/compat/svr4/svr4_exec_elf32.c: revision 1.15 sys/miscfs/nullfs/null_vfsops.c: revision 1.90 sys/fs/cd9660/cd9660_util.c: revision 1.12 sys/compat/linux/arch/powerpc/linux_machdep.c: revision 1.48 sys/compat/freebsd/freebsd_exec_elf32.c: revision 1.20 sys/miscfs/procfs/procfs_vfsops.c: revision 1.94 sys/compat/linux/arch/powerpc/linux_ptrace.c: revision 1.28 sys/compat/linux/common/linux_sched.c: revision 1.67 sys/compat/linux/common/linux_exec_aout.c: revision 1.67 sys/compat/linux/common/linux_pipe.c: revision 1.67 sys/compat/linux/common/linux_llseek.c: revision 1.34 sys/compat/linux/arch/mips/linux_ptrace.c: revision 1.10 Do not uselessly include <sys/malloc.h>. Cleanup: - remove struct kmembuckets (dead) - correctly deadify MALLOC_XX - remove MALLOC_DEFINE_LIMIT and MALLOC_JUSTDEFINE_LIMIT (dead) - remove malloc_roundup(), malloc_type_setlimit(), MALLOC_DEFINE_LIMIT() and MALLOC_JUSTDEFINE_LIMIT() from man 9 malloc New sentence, new line. Bump date for previous. Obsolete malloc_roundup(9), malloc_type_setlimit(9) and MALLOC_DEFINE_LIMIT(9) man pages.
|
| 1.183.2.1 | 22-Aug-2014 |
martin | Pull up following revision(s) (requested by hannken in ticket #49): sys/ufs/ext2fs/ext2fs_vfsops.c: revision 1.184 Use mount from argument "mp", "vp->v_mount" is not valid here. PR kern/49142 (panic in ext2fs_loadvnode mounting an ext2fs filesystem)
|
| 1.186.2.3 | 28-Aug-2017 |
skrll | Sync with HEAD
|
| 1.186.2.2 | 05-Oct-2016 |
skrll | Sync with HEAD
|
| 1.186.2.1 | 06-Apr-2015 |
skrll | Sync with HEAD
|
| 1.193.2.4 | 26-Apr-2017 |
pgoyette | Sync with HEAD
|
| 1.193.2.3 | 20-Mar-2017 |
pgoyette | Sync with HEAD
|
| 1.193.2.2 | 06-Aug-2016 |
pgoyette | Sync with HEAD
|
| 1.193.2.1 | 20-Jul-2016 |
pgoyette | Adapt machine-independant code to the new {b,c}devsw reference-counting (using localcount(9)). All callers of {b,c}devsw_lookup() now call {b,c}devsw_lookup_acquire() which retains a reference on the 'struct {b,c}devsw'. This reference must be released by the caller once it is finished with the structure's content (or other data that would disappear if the 'struct {b,c}devsw' were to disappear).
|
| 1.204.2.1 | 21-Apr-2017 |
bouyer | Sync with HEAD
|
| 1.208.2.2 | 17-May-2017 |
pgoyette | Typo - insert missing *
|
| 1.208.2.1 | 17-May-2017 |
pgoyette | Adapt for bdevsw_lookup_acquire()
|
| 1.210.2.3 | 18-Jan-2019 |
pgoyette | Synch with HEAD
|
| 1.210.2.2 | 26-Dec-2018 |
pgoyette | Sync with HEAD, resolve a few conflicts
|
| 1.210.2.1 | 25-Jun-2018 |
pgoyette | Sync with HEAD
|
| 1.211.2.3 | 13-Apr-2020 |
martin | Mostly merge changes from HEAD upto 20200411
|
| 1.211.2.2 | 08-Apr-2020 |
martin | Merge changes from current as of 20200406
|
| 1.211.2.1 | 10-Jun-2019 |
christos | Sync with HEAD
|
| 1.214.4.3 | 29-Feb-2020 |
ad | Sync with head.
|
| 1.214.4.2 | 19-Jan-2020 |
ad | Set IMNT_SHRLOOKUP and use it for the in-cache case. Need to check what more can be done with tmpfs though, it can probably do the whole lookup.
|
| 1.214.4.1 | 17-Jan-2020 |
ad | Sync with head.
|
| 1.214.2.1 | 07-Jan-2025 |
martin | Pull up following revision(s) (requested by hannken in ticket #1934):
sys/ufs/ext2fs/ext2fs_vfsops.c: revision 1.228 sys/ufs/lfs/lfs_vfsops.c: revision 1.383 sys/ufs/ffs/ffs_wapbl.c: revision 1.50 sys/ufs/ffs/ffs_vfsops.c: revision 1.383 (patch) sys/ufs/ffs/ffs_vfsops.c: revision 1.384 (patch)
Remove comment "we are always called with the filesystem marked `MPBUSY'." above some xxx_sync() operations. These operations get called without any exclusive lock.
This comment appeared with "add quota support" on 1990-05-02. On 1998/02/18 MNT_MPBUSY disappeared when vfs_busy() was changed from an exclusive lock to a shared lock.
PR kern/58837 "ffs: Missing locking around fs_fmod/time"
Protect test/clear fs->fs_fmod with um_lock like it is already protected in ffs_alloc.c.
When writing to disk protect moving superblock to buffer with um_lock.
Set/clear fs->fmod while mounting, updating a mount or unmounting is safe as these operations run exclusive, either mounting creates a new file system or the file system is suspended. Assert suspension for update and unmount.
PR kern/58837 "ffs: Missing locking around fs_fmod/time"
|
| 1.221.4.1 | 07-Jan-2025 |
martin | Pull up following revision(s) (requested by hannken in ticket #1037):
sys/ufs/ext2fs/ext2fs_vfsops.c: revision 1.228 sys/ufs/lfs/lfs_vfsops.c: revision 1.383 sys/ufs/ffs/ffs_wapbl.c: revision 1.50 sys/ufs/ffs/ffs_vfsops.c: revision 1.383 sys/ufs/ffs/ffs_vfsops.c: revision 1.384
Remove comment "we are always called with the filesystem marked `MPBUSY'." above some xxx_sync() operations. These operations get called without any exclusive lock.
This comment appeared with "add quota support" on 1990-05-02. On 1998/02/18 MNT_MPBUSY disappeared when vfs_busy() was changed from an exclusive lock to a shared lock.
PR kern/58837 "ffs: Missing locking around fs_fmod/time"
Protect test/clear fs->fs_fmod with um_lock like it is already protected in ffs_alloc.c.
When writing to disk protect moving superblock to buffer with um_lock.
Set/clear fs->fmod while mounting, updating a mount or unmounting is safe as these operations run exclusive, either mounting creates a new file system or the file system is suspended. Assert suspension for update and unmount.
PR kern/58837 "ffs: Missing locking around fs_fmod/time"
|
| 1.225.6.1 | 02-Aug-2025 |
perseant | Sync with HEAD
|
| 1.139 | 29-Jan-2024 |
christos | PR/57889: Ricardo Branco: ext2fs does not have user immutable and append file flags, only system ones. Restrict those to the superuser. Before the behavior was controlled by EXT2FS_SYSTEM_FLAGS. Make that behavior the default.
|
| 1.138 | 26-Aug-2023 |
riastradh | ext2fs: Nix trailing whitespace.
|
| 1.137 | 27-Mar-2022 |
christos | add a kauth vnode check for creating links
|
| 1.136 | 20-Oct-2021 |
thorpej | Overhaul of the EVFILT_VNODE kevent(2) filter:
- Centralize vnode kevent handling in the VOP_*() wrappers, rather than forcing each individual file system to deal with it (except VOP_RENAME(), because VOP_RENAME() is a mess and we currently have 2 different ways of handling it; at least it's reasonably well-centralized in the "new" way). - Add support for NOTE_OPEN, NOTE_CLOSE, NOTE_CLOSE_WRITE, and NOTE_READ, compatible with the same events in FreeBSD. - Track which kevent notifications clients are interested in receiving to avoid doing work for events no one cares about (avoiding, e.g. taking locks and traversing the klist to send a NOTE_WRITE when someone is merely watching for a file to be deleted, for example).
In support of the above:
- Add support in vnode_if.sh for specifying PRE- and POST-op handlers, to be invoked before and after vop_pre() and vop_post(), respectively. Basic idea from FreeBSD, but implemented differently. - Add support in vnode_if.sh for specifying CONTEXT fields in the vop_*_args structures. These context fields are used to convey information between the file system VOP function and the VOP wrapper, but do not occupy an argument slot in the VOP_*() call itself. These context fields are initialized and subsequently interpreted by PRE- and POST-op handlers. - Version VOP_REMOVE(), uses the a context field for the file system to report back the resulting link count of the target vnode. Return this in tmpfs, udf, nfs, chfs, ext2fs, lfs, and ufs.
NetBSD 9.99.92.
|
| 1.135 | 18-Jul-2021 |
dholland | Abolish all the silly indirection macros for initializing vnode ops tables.
These are things of the form #define foofs_op genfs_op, or #define foofs_op genfs_eopnotsupp, or similar. They serve no purpose besides obfuscation, and have gotten cutpasted all over everywhere.
|
| 1.134 | 18-Jul-2021 |
dholland | Use macros for the canned parts of device and fifo vnode op tables.
Add GENFS_SPECOP_ENTRIES and GENFS_FIFOOP_ENTRIES macros that contain the portion of the vnode ops table declaration that is (conservatively) the same in every fs. Use these in every fs that supports devices and/or fifos with separate ops tables.
Note that ptyfs works differently (it has one type of vnode with open-coded dispatch to the specfs code, which I haven't changed in this commit) and rump/librump/rumpvfs/rumpfs.c has an indirect dynamic dispatch that already does more or less the same thing, which I also haven't changed.
Also note that this anticipates a few bits in the next changeset here and there, and adds missing but unreachable calls in some cases (e.g. most fses weren't defining whiteout on devices and fifos, but it isn't reachable there), and it changes parsepath on devices and fifos to genfs_badop from genfs_parsepath (but it's not reachable there either).
It appears that devices in kernfs were missing kqfilter, so it's possible that if you try to use kqueue on /kern/rootdev that it'll explode.
And finally note that the ops declaration tables aren't order-dependent. (Other than vop_default_desc has to come first.) Otherwise this wouldn't work.
|
| 1.133 | 29-Jun-2021 |
dholland | - Add a new vnode op: VOP_PARSEPATH. - Move namei_getcomponent to genfs_vnops.c and call it genfs_parsepath. - Add a parsepath entry to every vnode ops table.
VOP_PARSEPATH takes a directory vnode to be searched and a complete following path and chooses how much of that path to consume. To begin with, all parsepath calls are genfs_parsepath, which locates the first '/' as always.
Note that the call doesn't take the whole struct componentname, only the string. The other bits of struct componentname should not be needed and there's no reason to cause potential complications by exposing them.
|
| 1.132 | 16-May-2020 |
christos | branches: 1.132.6; Add ACL support for FFS. From FreeBSD.
|
| 1.131 | 08-Mar-2020 |
kamil | Perform bit operations on unsigned integer
ext2fs_vnops.c:1002:2, signed integer overflow: 510008 * 4294 cannot be represented in type 'int
Maximum usec * 4294 is in the range of unsigned int.
>>> 1000000*4294 4294000000 >>> 2**32 4294967296
Patch submitted by Nisarg S. Joshi.
|
| 1.130 | 18-Sep-2019 |
christos | Add newly created vnodes to the namei cache. The rest of the filesystems already did that (or they don't support writing). Discussed in tech-kern.
|
| 1.129 | 01-Jan-2019 |
hannken | Add "void *extra" argument to vcache_new() so a file system may pass more information about the file to create.
Welcome to 8.99.30
|
| 1.128 | 28-May-2017 |
hannken | branches: 1.128.8; 1.128.10; Change ext2fs to use vcache_new like we did for ffs: - Change ext2fs_valloc to return an inode number. - Make ext2fs_makeinode private to ext2fs_vnops.c and pass vattr instead of mode.
|
| 1.127 | 26-May-2017 |
riastradh | Make VOP_RECLAIM do the last unlock of the vnode.
VOP_RECLAIM naturally has exclusive access to the vnode, so having it locked on entry is not strictly necessary -- but it means if there are any final operations that must be done on the vnode, such as ffs_update, requiring exclusive access to it, we can now kassert that the vnode is locked in those operations.
We can't just have the caller release the last lock because some file systems don't use genfs_lock, and require the vnode to remain valid for VOP_UNLOCK to work, notably unionfs.
|
| 1.126 | 26-Apr-2017 |
riastradh | Change VOP_REMOVE and VOP_RMDIR to preserve lock/ref on dvp.
No change to vp -- the plan is to replace the node by the componentname in the vop parameters, and let all directory vops do lookups internally.
Proposed on tech-kern with no objections: https://mail-index.netbsd.org/tech-kern/2017/04/17/msg021825.html
|
| 1.125 | 15-Aug-2016 |
jdolecek | bump link limit to 65000 for files, and add support for EXT2F_ROCOMPAT_DIR_NLINK to make link count unlimited for directories
|
| 1.124 | 15-Aug-2016 |
jdolecek | adjust ext2fs_makeinode() so that the direnter is optional, use the function (with the direnter off) in ext2fs_mkdir() instead of the code copy; adjust ext2fs_makeinode() to initialize extra_isize and set creation time, if supported by the filesystem
|
| 1.123 | 14-Aug-2016 |
jdolecek | switch code to use the EXT2_HAS_{COMPAT|ROCOMPAT|INCOMPAT}_FEATURE() macros instead of open coding the checks
|
| 1.122 | 13-Aug-2016 |
christos | KNF, no functional changes...
|
| 1.121 | 12-Aug-2016 |
jdolecek | add support for extended attributes in ext2fs for ext3/ext4; read-only for now
|
| 1.120 | 05-Aug-2016 |
jdolecek | PR kern/7867 add support for UF_NODUMP flag to ext2fs
|
| 1.119 | 03-Aug-2016 |
jdolecek | get and set expanded timestamp if the inode contains the extra information, add support for create time
|
| 1.118 | 03-Aug-2016 |
jdolecek | support arbitrary ext3/ext4 inode size, add all the new ext4 fields ext2fs_dinode, and add support for loading the extra inode data
|
| 1.117 | 20-Apr-2015 |
riastradh | branches: 1.117.2; Make VOP_LINK return directory still locked and referenced.
Ride 7.99.10 bump.
|
| 1.116 | 27-Mar-2015 |
riastradh | Disentangle buffer-cached I/O from page-cached I/O in UFS.
Page-cached I/O is used for regular files, and is initiated by VFS users such as userland and NFS.
Buffer-cached I/O is used for directories and symlinks, and is issued only internally by UFS.
New UFS routine ufs_bufio replaces vn_rdwr for internal use. ufs_bufio is implemented by new UFS operations uo_bufrd/uo_bufwr, which sit in ufs_readwrite.c alongside the VOP_READ/VOP_WRITE implementations.
I preserved the code as much as possible and will leave further simplification for future commits. I kept the ulfs_readwrite.c copypasta close to ufs_readwrite.c in case we ever want to merge them back; likewise ext2fs_readwrite.c.
No externally visible semantic change. All atf fs tests still pass.
|
| 1.115 | 09-Nov-2014 |
maxv | branches: 1.115.2; Do not uselessly include <sys/malloc.h>.
|
| 1.114 | 18-Oct-2014 |
snj | src is too big these days to tolerate superfluous apostrophes. It's "its", people!
|
| 1.113 | 25-Jul-2014 |
dholland | branches: 1.113.2; Add VOP_FALLOCATE and VOP_FDISCARD to every vnode ops table I can find.
The filesystem ones all call genfs_eopnotsupp - right now I am only implementing the plumbing and we can implement fallocate and/or fdiscard for files later.
The device ones call spec_fallocate (which is also genfs_eopnotsupp) and spec_fdiscard, which dispatches to the device-level op.
The fifo ones all call vn_fifo_bypass, which also ends up being EOPNOTSUPP.
|
| 1.112 | 25-May-2014 |
hannken | ext2fs_mknod: use vcache_get() to reload the new node.
|
| 1.111 | 24-Mar-2014 |
hannken | branches: 1.111.2; - Make VI_XLOCK, VI_CLEAN and VI_LOCKSHARE private to kern/vfs_*.c. - Make vwait() static. - Add vdead_check() to check a vnode for being or becoming dead.
Discussed on tech-kern.
Welcome to 6.99.38
|
| 1.110 | 23-Jan-2014 |
hannken | Change vnode operations create, mknod, mkdir and symlink to return the resulting vnode *vpp unlocked.
Discussed on tech-kern@
Welcome to 6.99.30
|
| 1.109 | 21-Jan-2014 |
hannken | Move VOP_UNLOCK() after setting type to VNON like all other UFS file systems.
|
| 1.108 | 17-Jan-2014 |
hannken | Change vnode operations create, mknod, mkdir and symlink to keep the directory node dvp locked on return.
Discussed on tech-kern@
Welcome to 6.99.29
|
| 1.107 | 18-Mar-2013 |
plunky | branches: 1.107.6; C99 section 6.7.2.3 (Tags) Note 3 states that:
A type specifier of the form
enum identifier
without an enumerator list shall only appear after the type it specifies is complete.
which means that we cannot pass an "enum vtype" argument to kauth_access_action() without fully specifying the type first. Unfortunately there is a complicated include file loop which makes that difficult, so convert this minimal function into a macro (and capitalize it).
(ok elad@)
|
| 1.106 | 22-Jan-2013 |
dholland | Stuff UFS_ in front of a few of ufs's symbols to reduce namespace pollution. Specifically: ROOTINO -> UFS_ROOTINO WINO -> UFS_WINO NXADDR -> UFS_NXADDR NDADDR -> UFS_NDADDR NIADDR -> UFS_NIADDR MAXSYMLINKLEN -> UFS_MAXSYMLINKLEN MAXSYMLINKLEN_UFS[12] -> UFS[12]_MAXSYMLINKLEN (for consistency)
Sort out ext2fs's misuse of NDADDR and NIADDR; fortunately, these have the same values in ext2fs and ffs.
No functional change intended.
|
| 1.105 | 21-Nov-2012 |
jakllsch | Write support for the Ext4 Read-only Compatible Feature "huge_file".
Primarily, this feature extends the inode block count field to 48 bits. Additionally, this feature allows this field to be represented in file system block size units rather than DEV_BSIZE units.
|
| 1.104 | 09-May-2012 |
riastradh | branches: 1.104.2; Adapt ffs, lfs, and ext2fs to use genfs_rename.
ok dholland, rmind
|
| 1.103 | 29-Apr-2012 |
chs | change vflushbuf() to take the full FSYNC_* flags. translate FSYNC_LAZY into PGO_LAZY for VOP_PUTPAGES() so that genfs_do_io() can set the appropriate io priority for the I/O. this is the first part of addressing PR 46325.
|
| 1.102 | 13-Mar-2012 |
elad | Replace the remaining KAUTH_GENERIC_ISSUSER authorization calls with something meaningful. All relevant documentation has been updated or written.
Most of these changes were brought up in the following messages:
http://mail-index.netbsd.org/tech-kern/2012/01/18/msg012490.html http://mail-index.netbsd.org/tech-kern/2012/01/19/msg012502.html http://mail-index.netbsd.org/tech-kern/2012/02/17/msg012728.html
Thanks to christos, manu, njoly, and jmmv for input.
Huge thanks to pgoyette for spinning these changes through some build cycles and ATF.
|
| 1.101 | 18-Nov-2011 |
christos | branches: 1.101.4; 1.101.6; Obey MNT_RELATIME, the only addition is that mkdir in ufs sets IN_ACCESS too.
|
| 1.100 | 12-Jul-2011 |
dholland | branches: 1.100.2; Pass the ufs_lookup_results pointer around instead of fetching it from the inode in the guts of ufs. Now, in VOPs where i_crap is used it is used (directly) only immediately on entry to the VOP call and then passed around by reference.
Except for rename, which needs explicit sorting out. The code in ufs_wapbl_rename is unchanged in behavior but I'm increasingly inclined to think it's wrong.
|
| 1.99 | 26-Apr-2011 |
hannken | Change vflushbuf() to return an error if a synchronous write fails.
Welcome to 5.99.51.
|
| 1.98 | 24-Apr-2011 |
rmind | sys_link: prevent hard links on directories (cross-mount operations are already prevented). File systems are no longer responsible to check this. Clean up and add asserts (note that dvp == vp cannot happen in vop_link).
OK dholland@
|
| 1.97 | 02-Jan-2011 |
dholland | branches: 1.97.2; Remove the special refcount behavior (adding an extra reference to the parent dir) associated with SAVESTART in relookup().
Check all call sites to make sure that SAVESTART wasn't set while calling relookup(); if it was, adjust the refcount behavior. Remove related references to SAVESTART.
The only code that was reaching the extra ref was msdosfs_rename, where the refcount behavior was already fairly broken and/or gross; repair it.
Add a dummy 4th argument to relookup to make sure code that hasn't been inspected won't compile. (This will go away next time the relookup semantics change, which they will.)
|
| 1.96 | 30-Nov-2010 |
dholland | Abolish the SAVENAME and HASBUF flags. There is now always a buffer, so the path in a struct componentname is now always valid during VOP calls.
|
| 1.95 | 30-Nov-2010 |
dholland | Abolish struct componentname's cn_pnbuf. Use the path buffer in the pathbuf object passed to namei as work space instead. (For now a pnbuf pointer appears in struct nameidata, to support certain unclean things that haven't been fixed yet, but it will be going away in the future.)
This removes the need for the SAVENAME and HASBUF namei flags.
|
| 1.94 | 28-Jul-2010 |
hannken | ext2fs,ffs: free on disk inodes in the reclaim routine. Remove now unneeded vnode flag VI_FREEING.
Welcome to 5.99.38.
Ok: Andrew Doran <ad@netbsd.org>
|
| 1.93 | 24-Jun-2010 |
hannken | Clean up vnode lock operations pass 2:
VOP_UNLOCK(vp, flags) -> VOP_UNLOCK(vp): Remove the unneeded flags argument.
Welcome to 5.99.32.
Discussed on tech-kern.
|
| 1.92 | 29-Mar-2010 |
pooka | Stop exposing fifofs internals and leave only fifo_vnodeop_p visible.
|
| 1.91 | 21-Oct-2009 |
pooka | branches: 1.91.2; 1.91.4; update i_uid and i_gid after chown
|
| 1.90 | 19-Oct-2009 |
bouyer | Remove closes 3 & 4 from my licence. Lots of thanks to Soren Jacobsen for the booring work !
|
| 1.89 | 12-Sep-2009 |
tsutsui | Whitespace nits.
|
| 1.88 | 03-Jul-2009 |
elad | Where possible, extract the file-system's access() routine to two internal functions: the first checking if the operation is possible (regardless of permissions), the second checking file-system permissions, ACLs, etc.
Mailing list reference:
http://mail-index.netbsd.org/tech-kern/2009/06/21/msg005311.html
|
| 1.87 | 23-Jun-2009 |
elad | Move the implementation of vaccess() to genfs_can_access(), in line with the other routines of the same spirit.
Adjust file-system code to use it.
Keep vaccess() for KPI compatibility and to keep element of least surprise. A "diagnostic" message warning that vaccess() is deprecated will be printed when it's used (obviously, only in DIAGNOSTIC kernels).
No objections on tech-kern@:
http://mail-index.netbsd.org/tech-kern/2009/06/21/msg005310.html
|
| 1.86 | 07-May-2009 |
elad | Extract the open-coded authorization logic for chtimes() from various file-systems and put it in a single function, genfs_can_chtimes().
This also makes UDF follow the same policy as all other file-systems.
Mailing list reference:
http://mail-index.netbsd.org/tech-kern/2009/04/27/msg004951.html
|
| 1.85 | 22-Apr-2009 |
elad | Per discussion on tech-kern@:
- Replace use of label/goto with returns
- Rename, change prototype of, and move functions from vfs_subr.c to genfs_vnops.c
|
| 1.84 | 20-Apr-2009 |
elad | Refactor some duplicated file-system code.
Proposed and received no objections on tech-kern@:
http://mail-index.netbsd.org/tech-kern/2009/04/18/msg004843.html
|
| 1.83 | 23-Nov-2008 |
mrg | branches: 1.83.4; add support for 32 bit uid/gid fields in ext2, but only do so for when the revision is > REV0.
|
| 1.82 | 29-Apr-2008 |
ad | branches: 1.82.6; 1.82.8; 1.82.10; PR kern/38057 ffs makes assuptions about devvp file system PR kern/33406 softdeps get stuck in endless loop
Introduce VFS_FSYNC() and call it when syncing a block device, if it has a mounted file system.
|
| 1.81 | 25-Jan-2008 |
ad | branches: 1.81.6; 1.81.8; 1.81.10; Remove VOP_LEASE. Discussed on tech-kern.
|
| 1.80 | 24-Jan-2008 |
ad | specfs changes for PR kern/37717 (raidclose() is no longer called on shutdown). There are still problems with device access and a PR will be filed.
- Kill checkalias(). Allow multiple vnodes to reference a single device.
- Don't play dangerous tricks with block vnodes to ensure that only one vnode can describe a block device. Instead, prohibit concurrent opens of block devices. As a bonus remove the unreliable code that prevents multiple file system mounts on the same device. It's no longer needed.
- Track opens by vnode and by device. Issue cdev_close() when the last open goes away, instead of abusing vnode::v_usecount to tell if the device is open.
|
| 1.79 | 09-Jan-2008 |
ad | Go back to freeing on disk inodes in the inactive routine. It would be better not to do this, but it rules out potential side effects with softdep.
|
| 1.78 | 02-Jan-2008 |
ad | Merge vmlocking2 to head.
|
| 1.77 | 08-Dec-2007 |
pooka | branches: 1.77.4; Remove cn_lwp from struct componentname. curlwp should be used from on. The NDINIT() macro no longer takes the lwp parameter and associates the credentials of the calling thread with the namei structure.
|
| 1.76 | 26-Nov-2007 |
pooka | branches: 1.76.2; Remove the "struct lwp *" argument from all VFS and VOP interfaces. The general trend is to remove it from all kernel interfaces and this is a start. In case the calling lwp is desired, curlwp should be used.
quick consensus on tech-kern
|
| 1.75 | 10-Oct-2007 |
ad | branches: 1.75.4; Merge from vmlocking:
- Split vnode::v_flag into three fields, depending on field locking. - simple_lock -> kmutex in a few places. - Fix some simple locking problems.
|
| 1.74 | 04-Mar-2007 |
christos | branches: 1.74.2; 1.74.14; 1.74.16; 1.74.18; Kill caddr_t; there will be some MI fallout, but it will be fixed shortly.
|
| 1.73 | 20-Feb-2007 |
ad | Call genfs_node_destroy() where appropriate.
|
| 1.72 | 04-Jan-2007 |
elad | branches: 1.72.2; Consistent usage of KAUTH_GENERIC_ISSUSER.
|
| 1.71 | 02-Jan-2007 |
elad | Add KAUTH_SYSTEM_CHSYSFLAGS so we can get rid of the last three securelevel references (ufs, ext2fs, tmpfs).
Intentionally undocumented.
|
| 1.70 | 09-Dec-2006 |
chs | a smorgasbord of improvements to vnode locking and path lookup: - LOCKPARENT is no longer relevant for lookup(), relookup() or VOP_LOOKUP(). these now always return the parent vnode locked. namei() works as before. lookup() and various other paths no longer acquire vnode locks in the wrong order via vrele(). fixes PR 32535. as a nice side effect, path lookup is also up to 25% faster. - the above allows us to get rid of PDIRUNLOCK. - also get rid of WANTPARENT (just use LOCKPARENT and unlock it). - remove an assumption in layer_node_find() that all file systems implement a recursive VOP_LOCK() (unionfs doesn't). - require that all file systems supply vfs_vptofh and vfs_fhtovp routines. fill in eopnotsupp() for file systems that don't support being exported and remove the checks for NULL. (layerfs calls these without checking.) - in union_lookup1(), don't change refcounts in the ISDOTDOT case, just adjust which vnode is locked. fixes PR 33374. - apply fixes for ufs_rename() from ufs_vnops.c rev. 1.61 to ext2fs_rename().
|
| 1.69 | 03-Oct-2006 |
christos | branches: 1.69.2; redo previous: It is better to add a KASSERT, since this is code is same with ufs.
|
| 1.68 | 03-Oct-2006 |
christos | Coverity CID 3689: dp cannot be NULL at this point, so don't check for it.
|
| 1.67 | 23-Jul-2006 |
ad | branches: 1.67.4; 1.67.6; Use the LWP cached credentials where sane.
|
| 1.66 | 07-Jun-2006 |
kardel | merge FreeBSD timecounters from branch simonb-timecounters - struct timeval time is gone time.tv_sec -> time_second - struct timeval mono_time is gone mono_time.tv_sec -> time_uptime - access to time via {get,}{micro,nano,bin}time() get* versions are fast but less precise - support NTP nanokernel implementation (NTP API 4) - further reading: Timecounter Paper: http://phk.freebsd.dk/pubs/timecounter.pdf NTP Nanokernel: http://www.eecis.udel.edu/~mills/ntp/html/kern.html
|
| 1.65 | 14-May-2006 |
elad | branches: 1.65.2; integrate kauth.
|
| 1.64 | 11-Dec-2005 |
christos | branches: 1.64.4; 1.64.6; 1.64.8; 1.64.10; 1.64.12; merge ktrace-lwp.
|
| 1.63 | 02-Nov-2005 |
yamt | branches: 1.63.2; merge yamt-vop branch. remove following VOPs.
VOP_BLKATOFF VOP_VALLOC VOP_BALLOC VOP_REALLOCBLKS VOP_VFREE VOP_TRUNCATE VOP_UPDATE
|
| 1.62 | 12-Sep-2005 |
christos | branches: 1.62.2; Use nanotime() to update the time fields in filesystems. Convert the code from macros to real functions. Original patch and review from chuq. Note: ext2fs only keeps seconds in the on-disk inode, and msdosfs does not have enough precision for all fields, so this is not very useful for those two.
|
| 1.61 | 30-Aug-2005 |
xtraeme | * Remove __P() * Use ANSI function declarations on ext2fs and mfs
|
| 1.60 | 28-Jun-2005 |
kml | branches: 1.60.2; Ensure that we change the size of the vnode at the same time as we change the size of the inode, and use ext2fs_size uniformly. This fixes a crash that occurs when I create a directory, then move it, all on an ext2 filesystem.
|
| 1.59 | 26-Feb-2005 |
perry | nuke trailing whitespace
|
| 1.58 | 09-Feb-2005 |
ws | Add support for large files (>2GB). Like Linux, automagically convert old filesystem to use this, if they are already at revision 1. For revision 0, just punt (unlike Linux; makes me a bit too nervous.)
There should be an option to fsck_ext2fs to upgrade revision 0 to revision 1.
Reviewd by Manuel (bouyer@).
|
| 1.57 | 21-Sep-2004 |
thorpej | branches: 1.57.4; 1.57.6; Add a new VNODE_LOCKDEBUG option, which enables checks in the VOP_*() calls to ensure that the vnode lock state is as expected when the VOP call is made. Modify vnode_if.src to set the expected state according to the documenting lock table for each VOP. Modify vnode_if.sh to emit the checks.
Notes: - The checks are only performed if the vnode has the VLOCKSWORK bit set. Some file systems (e.g. specfs) don't even bother with vnode locks, so of course the checks will fail. - We can't actually run with VNODE_LOCKDEBUG because there are so many vnode locking problems, not the least of which is the "use SHARED for VOP_READ()" issue, which screws things up for the entire call chain.
Inspired by similar changes in OpenBSD, but implemented differently.
|
| 1.56 | 17-Sep-2004 |
skrll | There's no need to pass a proc value when using UIO_SYSSPACE with vn_rdwr(9) and uiomove(9).
OK'd by Jason Thorpe
|
| 1.55 | 15-Aug-2004 |
mycroft | Fixing age old cruft: * Rather than using mnt_maxsymlinklen to indicate that a file systems returns d_type fields(!), add a new internal flag, IMNT_DTYPE.
Add 3 new elements to ufsmount: * um_maxsymlinklen, replaces mnt_maxsymlinklen (which never should have existed in the first place). * um_dirblksiz, which tracks the current directory block size, eliminating the FS-specific checks littered throughout the code. This may be used later to make the block size variable. * um_maxfilesize, which is the maximum file size, possibly adjusted lower due to implementation issues.
Sync some bug fixes from FFS into ext2fs, particularly: * ffs_lookup.c 1.21, 1.28, 1.33, 1.48 * ffs_inode.c 1.43, 1.44, 1.45, 1.66, 1.67 * ffs_vnops.c 1.84, 1.85, 1.86
Clean up some crappy pointer frobnication.
|
| 1.54 | 14-Aug-2004 |
mycroft | Push atime/mtime updates even further -- into the reclaim path, so they happen rarely in the normal case. (Note: This happens at reboot/shutdown time because all file systems are unmounted.)
Also, for IN_MODIFY, use IN_ACCESSED, not IN_MODIFIED; otherwise "ls -l" of your device node or FIFO would cause the time stamps to get written too quickly.
|
| 1.53 | 22-May-2004 |
kleink | POSIX: Permit a process without the appropriate privilege to change a file's group ID to its effective gid, in addition to the presently permitted set of supplementary gids.
From Mark Davies in PR standards/25401.
|
| 1.52 | 22-Mar-2004 |
bouyer | branches: 1.52.2; Fix disclaimer in my copyright. Pointed out by Thomas Klausner.
|
| 1.51 | 05-Oct-2003 |
bouyer | Remove references to University of California from my copyright notices.
|
| 1.50 | 09-Aug-2003 |
dsl | Stop panic if 'mknod xxx b 0 0' done on a full filesystem. panics in ffs_full_fsync because v_specmountpoint requires that the NULL v_specinfo be followed. Tidy up in the same order in all error paths so compiler can merge the code sequences.
Fixes PR kern/22419
|
| 1.49 | 07-Aug-2003 |
agc | Move UCB-licensed code from 4-clause to 3-clause licence.
Patches provided by Joel Baker in PR 22364, verified by myself.
|
| 1.48 | 29-Jun-2003 |
fvdl | branches: 1.48.2; Back out the lwp/ktrace changes. They contained a lot of colateral damage, and need to be examined and discussed more.
|
| 1.47 | 29-Jun-2003 |
thorpej | Undo part of the ktrace/lwp changes. In particular: * Remove the "lwp *" argument that was added to vget(). Turns out that nothing actually used it! * Remove the "lwp *" arguments that were added to VFS_ROOT(), VFS_VGET(), and VFS_FHTOVP(); all they did was pass it to vget() (which, as noted above, didn't use it). * Remove all of the "lwp *" arguments to internal functions that were added just to appease the above.
|
| 1.46 | 28-Jun-2003 |
darrenr | Pass lwp pointers throughtout the kernel, as required, so that the lwpid can be inserted into ktrace records. The general change has been to replace "struct proc *" with "struct lwp *" in various function prototypes, pass the lwp through and use l_proc to get the process pointer when needed.
Bump the kernel rev up to 1.6V
|
| 1.45 | 26-May-2003 |
fvdl | free the ext2fs dinode struct in ext2fs_reclaim. From Ted Unangst.
|
| 1.44 | 02-Apr-2003 |
fvdl | Add support for UFS2. UFS2 is an enhanced FFS, adding support for 64 bit block pointers, extended attribute storage, and a few other things.
This commit does not yet include the code to manipulate the extended storage (for e.g. ACLs), this will be done later.
Originally written by Kirk McKusick and Network Associates Laboratories for FreeBSD.
|
| 1.43 | 23-Oct-2002 |
jdolecek | ext2fs_remove(): use 'else' to eliminate need for goto (and improve readibility, even)
|
| 1.42 | 23-Oct-2002 |
jdolecek | merge kqueue branch into -current
kqueue provides a stateful and efficient event notification framework currently supported events include socket, file, directory, fifo, pipe, tty and device changes, and monitoring of processes and signals
kqueue is supported by all writable filesystems in NetBSD tree (with exception of Coda) and all device drivers supporting poll(2)
based on work done by Jonathan Lemon for FreeBSD initial NetBSD port done by Luke Mewburn and Jason Thorpe
|
| 1.41 | 22-Sep-2002 |
jdolecek | don't need <sys/conf.h> here
|
| 1.40 | 08-Nov-2001 |
lukem | add RCSID
|
| 1.39 | 26-Oct-2001 |
lukem | remove #include <ufs/ufs/quota.h> where it was just to appease <ufs/ufs/inode.h>, since the latter now includes the former. leave the former in source that obviously uses specific bits of it (for completeness.)
|
| 1.38 | 22-Sep-2001 |
sommerfeld | branches: 1.38.2; Add fifo_putpages() placebo so that the vnode's uobj is unlocked.
|
| 1.37 | 15-Sep-2001 |
chs | a whole bunch of changes to improve performance and robustness under load:
- remove special treatment of pager_map mappings in pmaps. this is required now, since I've removed the globals that expose the address range. pager_map now uses pmap_kenter_pa() instead of pmap_enter(), so there's no longer any need to special-case it. - eliminate struct uvm_vnode by moving its fields into struct vnode. - rewrite the pageout path. the pager is now responsible for handling the high-level requests instead of only getting control after a bunch of work has already been done on its behalf. this will allow us to UBCify LFS, which needs tighter control over its pages than other filesystems do. writing a page to disk no longer requires making it read-only, which allows us to write wired pages without causing all kinds of havoc. - use a new PG_PAGEOUT flag to indicate that a page should be freed on behalf of the pagedaemon when it's unlocked. this flag is very similar to PG_RELEASED, but unlike PG_RELEASED, PG_PAGEOUT can be cleared if the pageout fails due to eg. an indirect-block buffer being locked. this allows us to remove the "version" field from struct vm_page, and together with shrinking "loan_count" from 32 bits to 16, struct vm_page is now 4 bytes smaller. - no longer use PG_RELEASED for swap-backed pages. if the page is busy because it's being paged out, we can't release the swap slot to be reallocated until that write is complete, but unlike with vnodes we don't keep a count of in-progress writes so there's no good way to know when the write is done. instead, when we need to free a busy swap-backed page, just sleep until we can get it busy ourselves. - implement a fast-path for extending writes which allows us to avoid zeroing new pages. this substantially reduces cpu usage. - encapsulate the data used by the genfs code in a struct genfs_node, which must be the first element of the filesystem-specific vnode data for filesystems which use genfs_{get,put}pages(). - eliminate many of the UVM pagerops, since they aren't needed anymore now that the pager "put" operation is a higher-level operation. - enhance the genfs code to allow NFS to use the genfs_{get,put}pages instead of a modified copy. - clean up struct vnode by removing all the fields that used to be used by the vfs_cluster.c code (which we don't use anymore with UBC). - remove kmem_object and mb_object since they were useless. instead of allocating pages to these objects, we now just allocate pages with no object. such pages are mapped in the kernel until they are freed, so we can use the mapping to find the page to free it. this allows us to remove splvm() protection in several places.
The sum of all these changes improves write throughput on my decstation 5000/200 to within 1% of the rate of NetBSD 1.5 and reduces the elapsed time for "make release" of a NetBSD 1.5 source tree on my 128MB pc to 10% less than a 1.5 kernel took.
|
| 1.36 | 24-Aug-2001 |
wiz | branches: 1.36.2; heirarchy -> hierarchy
|
| 1.35 | 17-Aug-2001 |
chs | add getpages/putpages entries for spec vnodes.
|
| 1.34 | 24-Jul-2001 |
assar | change vop_symlink and vop_mknod to return vpp (the created node) refed, so that the caller can actually use it. update callers and file systems that implement these vnode operations
|
| 1.33 | 23-Mar-2001 |
fvdl | branches: 1.33.4; Same change as in the UFS code: unlock vnode before setting v_op to spec_vnode_ops. From Bill Studenmund.
|
| 1.32 | 07-Feb-2001 |
tsutsui | branches: 1.32.2; Fix nested extern declaration of prtactive.
|
| 1.31 | 22-Jan-2001 |
jdolecek | make filesystem vnodeop, specop, fifoop and vnodeopv_* arrays const
|
| 1.30 | 27-Nov-2000 |
chs | Initial integration of the Unified Buffer Cache project.
|
| 1.29 | 03-Aug-2000 |
thorpej | Convert namei pathname buffer allocation to use the pool allocator.
|
| 1.28 | 22-Jul-2000 |
jdolecek | change the lf_advlock() arguments from
int lf_advlock __P((struct lockf **, off_t, caddr_t, int, struct flock *, int)); to
int lf_advlock __P((struct vop_advlock_args *, struct lockf **, off_t));
This matches common usage and is also compatible with similar change in FreeBSD (though they use u_quad_t as last arg).
|
| 1.27 | 28-Jun-2000 |
mrg | remove include of <vm/vm.h> and <uvm/uvm_extern.h>
|
| 1.26 | 13-May-2000 |
perseant | branches: 1.26.4; Change the sementics of the last parameter from a boolean ("waitfor") to a set of flags ("flags"). Two flags are defined, UPDATE_WAIT and UPDATE_DIROP.
Under the old semantics, VOP_UPDATE would block if waitfor were set, under the assumption that directory operations should be done synchronously. At least LFS and FFS+softdep do not make this assumption; FFS+softdep got around the problem by enclosing all relevant calls to VOP_UPDATE in a "if(!DOINGSOFTDEP(vp))", while LFS simply ignored waitfor, one of the reasons why NFS-serving an LFS filesystem did not work properly.
Under the new semantics, the UPDATE_DIROP flag is a hint to the fs-specific update routine that the call comes from a dirop routine, and should be wait for, or not, accordingly.
Closes PR#8996.
|
| 1.25 | 30-Mar-2000 |
augustss | Remove register declarations.
|
| 1.24 | 22-Mar-2000 |
thorpej | Small cosmetic change.
|
| 1.23 | 28-Jan-2000 |
bouyer | Correct (minor) bogons in filetype option support, and add support for sparse_super option
|
| 1.22 | 26-Jan-2000 |
bouyer | First cut at ext2fs rev 1 support (as of mke2fs 1.18): supports the filetype option read/write and the sparse option read-only.
|
| 1.21 | 03-Aug-1999 |
wrstuden | branches: 1.21.2; 1.21.8; Add support for fcntl(2) to generate VOP_FCNTL calls. Any fcntl call with F_FSCTL set and F_SETFL calls generate calls to a new fileop fo_fcntl. Add genfs_fcntl() and soo_fcntl() which return 0 for F_SETFL and EOPNOTSUPP otherwise. Have all leaf filesystems use genfs_fcntl().
Reviewed by: thorpej Tested by: wrstuden
|
| 1.20 | 08-Jul-1999 |
wrstuden | Modify file systems to deal with struct lock in struct vnode. All leaf fs's other than nfs use genfs_lock() for locking.
Modify lookup routines to set PDIRUNLOCK when they unlock the parrent.
|
| 1.19 | 24-Mar-1999 |
mrg | branches: 1.19.4; completely remove Mach VM support. all that is left is the all the header files as UVM still uses (most of) these.
|
| 1.18 | 05-Mar-1999 |
mycroft | Pass null pointers to VOP_UPDATE rather than having all the callers fetch the current time themselves.
|
| 1.17 | 26-Feb-1999 |
mrg | pull across patches from warner losh <imp@freebsd.org> (freebsd ufs_vnops.c versions 1.109&1.110), adjusted for our ext2fs support, and also commited there also. this avoids overflowing the link count.
|
| 1.16 | 02-Dec-1998 |
bouyer | - intentation - sync LK_* flags with ffs/ufs
|
| 1.15 | 29-Sep-1998 |
bouyer | #include opt_uvm.h only if _KENREL and !_LKM Make ext2fs_init() call ufs_init(). it was doing the init by itself, testing for extern done != 0. This bug was hidden by the fact that ext2fs_init() is called before ffs_init().
|
| 1.14 | 01-Sep-1998 |
thorpej | Use the pool allocator and "nointr" pool page allocator for ext2fs inodes.
|
| 1.13 | 09-Aug-1998 |
perry | bzero->memset, bcopy->memcpy, bcmp->memcmp
|
| 1.12 | 28-Jul-1998 |
mjacob | fix to accomodate change in vn_rdwr prototype
|
| 1.11 | 24-Jun-1998 |
sommerfe | Always include fifos; "not an option any more".
|
| 1.10 | 22-Jun-1998 |
sommerfe | defopt for options FIFO
|
| 1.9 | 20-Jun-1998 |
mrg | splify UVM #ifdef.
|
| 1.8 | 01-Mar-1998 |
fvdl | Merge with Lite2 + local changes
|
| 1.7 | 10-Feb-1998 |
mrg | - add defopt's for UVM, UVMHIST and PMAP_NEW. - remove unnecessary UVMHIST_DECL's.
|
| 1.6 | 05-Feb-1998 |
mrg | initial import of the new virtual memory system, UVM, into -current.
UVM was written by chuck cranor <chuck@maria.wustl.edu>, with some minor portions derived from the old Mach code. i provided some help getting swap and paging working, and other bug fixes/ideas. chuck silvers <chuq@chuq.com> also provided some other fixes.
this is the rest of the MI portion changes.
this will be KNF'd shortly. :-)
|
| 1.5 | 17-Oct-1997 |
christos | branches: 1.5.2; Add missing cast for nlink_t
|
| 1.4 | 09-Oct-1997 |
bouyer | Add byte-swapping functions (bswap16, bswap32, bswap64) to libkern. Only assembly version for i386 bswap16 and bswap32 for now (bswap64 uses bswap32). Contribution of assembly versions of these are welcome. Add byte-swapping of ext2fs metadata for big-endian systems. Tested on i386 and sparc.
|
| 1.3 | 01-Jul-1997 |
bouyer | branches: 1.3.2; 1.3.4; Sync with ufs/ufs: Avoid panic triggered by rename("foo/", "bar/..") (From Mycroft, via christos)
|
| 1.2 | 30-Jun-1997 |
fvdl | Return EPERM, not EISDIR for an attempt to remove a directory.
|
| 1.1 | 11-Jun-1997 |
bouyer | The ext2fs layer, based on the ffs/ufs one. Uses a few functions from sys/ufs/ufs/
|
| 1.3.4.1 | 14-Oct-1997 |
thorpej | Update marc-pcmcia branch from trunk.
|
| 1.3.2.2 | 01-Jul-1997 |
bouyer | Sync with ufs/ufs: Avoid panic triggered by rename("foo/", "bar/..") (From Mycroft, via christos)
|
| 1.3.2.1 | 01-Jul-1997 |
bouyer | file ext2fs_vnops.c was added on branch bouyer-scsipi on 1997-07-01 07:34:04 +0000
|
| 1.5.2.1 | 06-Nov-1998 |
cgd | Show correct number of blocks used for files larger than 2GB. Fixed in trunk as part of Lite-2 merging. (cgd)
|
| 1.19.4.3 | 06-Aug-1999 |
chs | UBCify.
|
| 1.19.4.2 | 02-Aug-1999 |
thorpej | Update from trunk.
|
| 1.19.4.1 | 11-Jul-1999 |
chs | remove uvm_vnp_uncache(), it's no longer needed.
|
| 1.21.8.1 | 21-Dec-1999 |
wrstuden | Initial commit of recent changes to make DEV_BSIZE go away.
Runs on i386, needs work on other arch's. Main kernel routines should be fine, but a number of the stand programs need help.
cd, fd, ccd, wd, and sd have been updated. sd has been tested with non-512 byte block devices. vnd, raidframe, and lfs need work.
Non 2**n block support is automatic for LKM's and conditional for kernels on "options NON_PO2_BLOCKS".
|
| 1.21.2.4 | 27-Mar-2001 |
bouyer | Sync with HEAD.
|
| 1.21.2.3 | 11-Feb-2001 |
bouyer | Sync with HEAD.
|
| 1.21.2.2 | 08-Dec-2000 |
bouyer | Sync with HEAD.
|
| 1.21.2.1 | 20-Nov-2000 |
bouyer | Update thorpej_scsipi to -current as of a month ago
|
| 1.26.4.2 | 06-Apr-2001 |
he | Pull up revision 1.33 (requested by wrstuden): Explicitly VOP_UNLOCK before setting v_op to spec_vnode_ops_p. Works around a lock leak and eventual kernel panic.
|
| 1.26.4.1 | 30-Jul-2000 |
jdolecek | Pullup from trunk (approved by thorpej): Change lf_advlock() to: int lf_advlock (struct vop_advlock_args *, struct lockf **, off_t)
This matches it's usage. Change inspired by FreeBSD, though we use off_t instead u_quad_t as the last argument.
sys/lockf.h rev. 1.9 msdosfs/msdosfs_vnops.c rev. 1.99 kern/vfs_lockf.c rev. 1.17 miscfs/specfs/spec_vnops.c rev. 1.49 nfs/nfs_vnops.c rev. 1.115 ufs/ext2fs/ext2fs_vnops.c rev. 1.28 ufs/ufs/ufs_vnops.c rev. 1.72
|
| 1.32.2.7 | 11-Nov-2002 |
nathanw | Catch up to -current
|
| 1.32.2.6 | 18-Oct-2002 |
nathanw | Catch up to -current.
|
| 1.32.2.5 | 14-Nov-2001 |
nathanw | Catch up to -current.
|
| 1.32.2.4 | 26-Sep-2001 |
nathanw | Catch up to -current. Again.
|
| 1.32.2.3 | 21-Sep-2001 |
nathanw | Catch up to -current.
|
| 1.32.2.2 | 24-Aug-2001 |
nathanw | Catch up with -current.
|
| 1.32.2.1 | 09-Apr-2001 |
nathanw | Catch up with -current.
|
| 1.33.4.7 | 10-Oct-2002 |
jdolecek | sync kqueue with -current; this includes merge of gehenna-devsw branch, merge of i386 MP branch, and part of autoconf rototil work
|
| 1.33.4.6 | 26-Sep-2002 |
jdolecek | add support for kevents - sprikle VN_KNOTE() and add genfs_kqfilter() to vnode ops; basically same thing as in ufs_readwrite.c and ufs_vnops.c
|
| 1.33.4.5 | 23-Sep-2002 |
jdolecek | add spec kqfilter vnode op
|
| 1.33.4.4 | 22-Sep-2002 |
jdolecek | add fifo_kqfilter() to fifo ops, to switch on support for kevents
|
| 1.33.4.3 | 10-Jan-2002 |
thorpej | Sync kqueue branch with -current.
|
| 1.33.4.2 | 25-Aug-2001 |
thorpej | Merge Aug 24 -current into the kqueue branch.
|
| 1.33.4.1 | 03-Aug-2001 |
lukem | update to -current
|
| 1.36.2.2 | 01-Oct-2001 |
fvdl | Catch up with -current.
|
| 1.36.2.1 | 18-Sep-2001 |
fvdl | Various changes to make cloning devices possible:
* Add an extra argument (struct vnode **) to VOP_OPEN. If it is not NULL, specfs will create a cloned (aliased) vnode during the call, and return it there. The caller should release and unlock the original vnode if a new vnode was returned. The new vnode is returned locked.
* Add a flag field to the cdevsw and bdevsw structures. DF_CLONING indicates that it wants a new vnode for each open (XXX is there a better way? devprop?)
* If a device is cloning, always call the close entry point for a VOP_CLOSE.
Also, rewrite cons.c to do the right thing with vnodes. Use VOPs rather then direct device entry calls. Suggested by mycroft@
Light to moderate testing done an i386 system (arch doesn't matter though, these are MI changes).
|
| 1.38.2.1 | 12-Nov-2001 |
thorpej | Sync the thorpej-mips-cache branch with -current.
|
| 1.48.2.11 | 10-Nov-2005 |
skrll | Sync with HEAD. Here we go again...
|
| 1.48.2.10 | 04-Mar-2005 |
skrll | Sync with HEAD.
Hi Perry!
|
| 1.48.2.9 | 15-Feb-2005 |
skrll | Sync with HEAD.
|
| 1.48.2.8 | 29-Oct-2004 |
skrll | Remove the struct lwp * argument from ext2f2_checkpath that is no longer (read: was never) required.
|
| 1.48.2.7 | 24-Sep-2004 |
skrll | Sync with HEAD.
|
| 1.48.2.6 | 21-Sep-2004 |
skrll | Fix the sync with head I botched.
|
| 1.48.2.5 | 18-Sep-2004 |
skrll | Sync with HEAD.
|
| 1.48.2.4 | 25-Aug-2004 |
skrll | Sync with HEAD.
|
| 1.48.2.3 | 24-Aug-2004 |
skrll | Undo part of the ktrace/lwp changes. In particular: * Remove the "lwp *" argument that was added to vget(). Turns out that nothing actually used it! * Remove the "lwp *" arguments that were added to VFS_ROOT(), VFS_VGET(), and VFS_FHTOVP(); all they did was pass it to vget() (which, as noted above, didn't use it). * Remove all of the "lwp *" arguments to internal functions that were added just to appease the above.
|
| 1.48.2.2 | 03-Aug-2004 |
skrll | Sync with HEAD
|
| 1.48.2.1 | 02-Jul-2003 |
darrenr | Apply the aborted ktrace-lwp changes to a specific branch. This is just for others to review, I'm concerned that patch fuziness may have resulted in some errant code being generated but I'll look at that later by comparing the diff from the base to the branch with the file I attempt to apply to it. This will, at the very least, put the changes in a better context for others to review them and attempt to tinker with removing passing of 'struct lwp' through the kernel.
|
| 1.52.2.1 | 23-May-2004 |
grant | Pull up revision 1.53 (requested by kleink in ticket #379):
POSIX: Permit a process without the appropriate privilege to change a file's group ID to its effective gid, in addition to the presently permitted set of supplementary gids.
|
| 1.57.6.2 | 19-Mar-2005 |
yamt | sync with head. xen and whitespace. xen part is not finished.
|
| 1.57.6.1 | 12-Feb-2005 |
yamt | sync with head.
|
| 1.57.4.1 | 29-Apr-2005 |
kent | sync with -current
|
| 1.60.2.8 | 04-Feb-2008 |
yamt | sync with head.
|
| 1.60.2.7 | 21-Jan-2008 |
yamt | sync with head
|
| 1.60.2.6 | 07-Dec-2007 |
yamt | sync with head
|
| 1.60.2.5 | 27-Oct-2007 |
yamt | sync with head.
|
| 1.60.2.4 | 03-Sep-2007 |
yamt | sync with head.
|
| 1.60.2.3 | 26-Feb-2007 |
yamt | sync with head.
|
| 1.60.2.2 | 30-Dec-2006 |
yamt | sync with head.
|
| 1.60.2.1 | 21-Jun-2006 |
yamt | sync with head.
|
| 1.62.2.1 | 20-Oct-2005 |
yamt | adapt ufs.
|
| 1.63.2.2 | 19-Nov-2005 |
yamt | - finish reverting VOP_READ prototype changes. - remove unused variables. - fix typos. some of them are pointed by Juan RP.
|
| 1.63.2.1 | 15-Nov-2005 |
yamt | - adapt to the new prototype of VOP_READ. - adapt ext2fs and union.
|
| 1.64.12.1 | 24-May-2006 |
tron | Merge 2006-05-24 NetBSD-current into the "peter-altq" branch.
|
| 1.64.10.5 | 06-May-2006 |
christos | - Move kauth_cred_t declaration to <sys/types.h> - Cleanup struct ucred; forward declarations that are unused. - Don't include <sys/kauth.h> in any header, but include it in the c files that need it.
Approved by core.
|
| 1.64.10.4 | 11-Mar-2006 |
elad | When calling kauth_cred_ismember_gid(), don't return the error code if there is one, just treat it as if the check failed.
Pointed out by thorpej@.
|
| 1.64.10.3 | 11-Mar-2006 |
elad | kauth_cred_groupmember() -> kauth_cred_ismember_gid(), as requested by thorpej@ to conform to the Darwin KPI.
|
| 1.64.10.2 | 10-Mar-2006 |
elad | generic_authorize() -> kauth_authorize_generic().
|
| 1.64.10.1 | 08-Mar-2006 |
elad | Adapt to kernel authorization KPI.
|
| 1.64.8.3 | 11-Aug-2006 |
yamt | sync with head
|
| 1.64.8.2 | 26-Jun-2006 |
yamt | sync with head.
|
| 1.64.8.1 | 24-May-2006 |
yamt | sync with head.
|
| 1.64.6.2 | 01-Jun-2006 |
kardel | Sync with head.
|
| 1.64.6.1 | 04-Feb-2006 |
simonb | Adapt for timecounters: mostly use get*time() and use "time_second" instead of "time.tv_sec".
|
| 1.64.4.1 | 09-Sep-2006 |
rpaulo | sync with head
|
| 1.65.2.1 | 19-Jun-2006 |
chap | Sync with head.
|
| 1.67.6.2 | 10-Dec-2006 |
yamt | sync with head.
|
| 1.67.6.1 | 22-Oct-2006 |
yamt | sync with head
|
| 1.67.4.2 | 12-Jan-2007 |
ad | Sync with head.
|
| 1.67.4.1 | 18-Nov-2006 |
ad | Sync with head.
|
| 1.69.2.1 | 17-Feb-2007 |
tron | Apply patch (requested by chs in ticket #422): - Fix various deadlock problems with nullfs and unionfs. - Speed up path lookups by upto 25%.
|
| 1.72.2.2 | 12-Mar-2007 |
rmind | Sync with HEAD.
|
| 1.72.2.1 | 27-Feb-2007 |
yamt | - sync with head. - move sched_changepri back to kern_synch.c as it doesn't know PPQ anymore.
|
| 1.74.18.1 | 14-Oct-2007 |
yamt | sync with head.
|
| 1.74.16.3 | 23-Mar-2008 |
matt | sync with HEAD
|
| 1.74.16.2 | 09-Jan-2008 |
matt | sync with HEAD
|
| 1.74.16.1 | 06-Nov-2007 |
matt | sync with HEAD
|
| 1.74.14.3 | 09-Dec-2007 |
jmcneill | Sync with HEAD.
|
| 1.74.14.2 | 27-Nov-2007 |
joerg | Sync with HEAD. amd64 Xen support needs testing.
|
| 1.74.14.1 | 26-Oct-2007 |
joerg | Sync with HEAD.
Follow the merge of pmap.c on i386 and amd64 and move pmap_init_tmp_pgtbl into arch/x86/x86/pmap.c. Modify the ACPI wakeup code to restore CR4 before jumping back into kernel space as the large page option might cover that.
|
| 1.74.2.3 | 23-Oct-2007 |
ad | Sync with head.
|
| 1.74.2.2 | 16-Sep-2007 |
ad | - Checkpoint work in progress on the vnode lifecycle and reference counting stuff. This makes it work properly without kernel_lock and fixes a few quite old bugs. See vfs_subr.c 1.283.2.17 for details.
- Fix some problems with softdep. Unfortunately our softdep code appears to have some longstanding bugs that cause it fail under stress test.
|
| 1.74.2.1 | 17-Jun-2007 |
ad | - Increase the number of thread priorities from 128 to 256. How the space is set up is to be revisited. - Implement soft interrupts as kernel threads. A generic implementation is provided, with hooks for fast-path MD code that can run the interrupt threads over the top of other threads executing in the kernel. - Split vnode::v_flag into three fields, depending on how the flag is locked (by the interlock, by the vnode lock, by the file system). - Miscellaneous locking fixes and improvements.
|
| 1.75.4.3 | 18-Feb-2008 |
mjf | Sync with HEAD.
|
| 1.75.4.2 | 27-Dec-2007 |
mjf | Sync with HEAD.
|
| 1.75.4.1 | 08-Dec-2007 |
mjf | Sync with HEAD.
|
| 1.76.2.3 | 30-Dec-2007 |
ad | Fix remaining problems with ext2fs on this branch.
|
| 1.76.2.2 | 26-Dec-2007 |
ad | Sync with head.
|
| 1.76.2.1 | 04-Dec-2007 |
ad | Pull the vmlocking changes into a new branch.
|
| 1.77.4.2 | 10-Jan-2008 |
bouyer | Sync with HEAD
|
| 1.77.4.1 | 02-Jan-2008 |
bouyer | Sync with HEAD
|
| 1.81.10.7 | 11-Aug-2010 |
yamt | sync with head.
|
| 1.81.10.6 | 11-Mar-2010 |
yamt | sync with head
|
| 1.81.10.5 | 16-Sep-2009 |
yamt | sync with head
|
| 1.81.10.4 | 18-Jul-2009 |
yamt | sync with head.
|
| 1.81.10.3 | 16-May-2009 |
yamt | sync with head
|
| 1.81.10.2 | 04-May-2009 |
yamt | sync with head.
|
| 1.81.10.1 | 16-May-2008 |
yamt | sync with head.
|
| 1.81.8.1 | 18-May-2008 |
yamt | sync with head.
|
| 1.81.6.2 | 17-Jan-2009 |
mjf | Sync with HEAD.
|
| 1.81.6.1 | 02-Jun-2008 |
mjf | Sync with HEAD.
|
| 1.82.10.2 | 27-Oct-2009 |
bouyer | Pull up following revision(s) (requested by pooka in ticket #1112): sys/ufs/ext2fs/ext2fs_vnops.c: revision 1.91 sys/ufs/ext2fs/ext2fs_vfsops.c: revision 1.152 sys/ufs/ext2fs/ext2fs_extern.h: revision 1.42 update i_uid and i_gid after chown
|
| 1.82.10.1 | 29-Nov-2008 |
snj | branches: 1.82.10.1.4; Pull up following revision(s) (requested by mrg in ticket #147): sys/ufs/ext2fs/ext2fs_alloc.c: revision 1.37 sys/ufs/ext2fs/ext2fs_bswap.c: revision 1.14 sys/ufs/ext2fs/ext2fs_dinode.h: revision 1.17 sys/ufs/ext2fs/ext2fs_lookup.c: revision 1.56 sys/ufs/ext2fs/ext2fs_vnops.c: revision 1.83 sys/ufs/ext2fs/ext2fs_vfsops.c: revision 1.140 sys/ufs/ufs/inode.h: revision 1.55 add support for 32 bit uid/gid fields in ext2, but only do so for when the revision is > REV0.
|
| 1.82.10.1.4.1 | 21-Apr-2010 |
matt | sync to netbsd-5
|
| 1.82.8.2 | 28-Apr-2009 |
skrll | Sync with HEAD.
|
| 1.82.8.1 | 19-Jan-2009 |
skrll | Sync with HEAD.
|
| 1.82.6.1 | 13-Dec-2008 |
haad | Update haad-dm branch to haad-dm-base2.
|
| 1.83.4.2 | 23-Jul-2009 |
jym | Sync with HEAD.
|
| 1.83.4.1 | 13-May-2009 |
jym | Sync with HEAD.
Commit is split, to avoid a "too many arguments" protocol error.
|
| 1.91.4.4 | 31-May-2011 |
rmind | sync with head
|
| 1.91.4.3 | 05-Mar-2011 |
rmind | sync with head
|
| 1.91.4.2 | 03-Jul-2010 |
rmind | sync with head
|
| 1.91.4.1 | 30-May-2010 |
rmind | sync with head
|
| 1.91.2.2 | 17-Aug-2010 |
uebayasi | Sync with HEAD.
|
| 1.91.2.1 | 30-Apr-2010 |
uebayasi | Sync with HEAD.
|
| 1.97.2.1 | 06-Jun-2011 |
jruoho | Sync with HEAD.
|
| 1.100.2.5 | 22-May-2014 |
yamt | sync with head.
for a reference, the tree before this commit was tagged as yamt-pagecache-tag8.
this commit was splitted into small chunks to avoid a limitation of cvs. ("Protocol error: too many arguments")
|
| 1.100.2.4 | 23-Jan-2013 |
yamt | sync with head
|
| 1.100.2.3 | 16-Jan-2013 |
yamt | sync with (a bit old) head
|
| 1.100.2.2 | 23-May-2012 |
yamt | sync with head.
|
| 1.100.2.1 | 17-Apr-2012 |
yamt | sync with head
|
| 1.101.6.1 | 07-May-2012 |
riz | Pull up following revision(s) (requested by chs in ticket #204): sys/fs/sysvbfs/sysvbfs_vnops.c: revision 1.44 sys/ufs/ffs/ffs_vfsops.c: revision 1.277 sys/fs/v7fs/v7fs_vnops.c: revision 1.11 sys/ufs/chfs/chfs_vnops.c: revision 1.7 sys/ufs/ext2fs/ext2fs_readwrite.c: revision 1.61 sys/miscfs/genfs/genfs_io.c: revision 1.54 sys/kern/vfs_wapbl.c: revision 1.52 sys/uvm/uvm_pager.h: revision 1.43 sys/ufs/ffs/ffs_vnops.c: revision 1.121 sys/kern/vfs_subr.c: revision 1.434 sys/fs/msdosfs/msdosfs_vnops.c: revision 1.83 sys/fs/ntfs/ntfs_vnops.c: revision 1.51 sys/fs/udf/udf_subr.c: revision 1.119 sys/miscfs/specfs/spec_vnops.c: revision 1.135 sys/ufs/ext2fs/ext2fs_vnops.c: revision 1.103 sys/fs/udf/udf_vnops.c: revision 1.71 sys/ufs/ufs/ufs_readwrite.c: revision 1.104 change vflushbuf() to take the full FSYNC_* flags. translate FSYNC_LAZY into PGO_LAZY for VOP_PUTPAGES() so that genfs_do_io() can set the appropriate io priority for the I/O. this is the first part of addressing PR 46325. mark all wapbl I/O as BPRIO_TIMECRITICAL. this is the second part of addressing PR 46325.
|
| 1.101.4.2 | 02-Jun-2012 |
mrg | sync to latest -current.
|
| 1.101.4.1 | 05-Apr-2012 |
mrg | sync to latest -current.
|
| 1.104.2.4 | 03-Dec-2017 |
jdolecek | update from HEAD
|
| 1.104.2.3 | 20-Aug-2014 |
tls | Rebase to HEAD as of a few days ago.
|
| 1.104.2.2 | 23-Jun-2013 |
tls | resync from head
|
| 1.104.2.1 | 25-Feb-2013 |
tls | resync with head
|
| 1.107.6.1 | 18-May-2014 |
rmind | sync with head
|
| 1.111.2.1 | 10-Aug-2014 |
tls | Rebase.
|
| 1.113.2.1 | 17-Jan-2015 |
martin | Pull up following revision(s) (requested by maxv in ticket #427): sys/compat/svr4/svr4_schedctl.c: revision 1.8 sys/netinet/tcp_timer.c: revision 1.88 sys/miscfs/genfs/layer_vfsops.c: revision 1.45 sys/compat/svr4/svr4_ioctl.c: revision 1.37 sys/ufs/chfs/chfs_vfsops.c: revision 1.14 sys/miscfs/fdesc/fdesc_vfsops.c: revision 1.91 sys/compat/linux/arch/i386/linux_ptrace.c: revision 1.30 sys/compat/common/kern_time_50.c: revision 1.28 sys/netinet6/ip6_forward.c: revision 1.74 sys/miscfs/umapfs/umap_vnops.c: revision 1.57 sys/compat/svr4/svr4_fcntl.c: revision 1.74 distrib/sets/lists/comp/mi: revision 1.1931 sys/netinet6/udp6_output.c: revision 1.46 sys/fs/puffs/puffs_compat.c: revision 1.3 sys/fs/udf/udf_rename.c: revision 1.11 sys/compat/svr4/svr4_filio.c: revision 1.24 sys/fs/udf/udf_rename.c: revision 1.12 sys/netinet/tcp_usrreq.c: revision 1.202 sys/miscfs/umapfs/umap_subr.c: revision 1.29 sys/compat/linux/common/linux_fadvise64.c: revision 1.3 sys/netinet/if_atm.c: revision 1.34 sys/miscfs/procfs/procfs_subr.c: revision 1.106 sys/miscfs/genfs/layer_subr.c: revision 1.37 sys/netinet/tcp_sack.c: revision 1.30 sys/compat/freebsd/freebsd_misc.c: revision 1.33 sys/compat/freebsd/freebsd_file.c: revision 1.33 sys/ufs/chfs/chfs_vnode.c: revision 1.12 sys/compat/svr4/svr4_ttold.c: revision 1.34 sys/compat/linux/common/linux_file.c: revision 1.114 sys/compat/linux/arch/mips/linux_machdep.c: revision 1.43 sys/compat/linux/common/linux_signal.c: revision 1.76 sys/compat/common/compat_util.c: revision 1.46 sys/compat/linux/arch/arm/linux_ptrace.c: revision 1.18 sys/compat/svr4/svr4_sockio.c: revision 1.36 sys/compat/linux/arch/arm/linux_machdep.c: revision 1.32 sys/compat/svr4/svr4_signal.c: revision 1.66 sys/kern/kern_exec.c: revision 1.410 sys/fs/puffs/puffs_vfsops.c: revision 1.115 sys/compat/svr4/svr4_exec_elf64.c: revision 1.15 sys/compat/linux/arch/i386/linux_machdep.c: revision 1.159 sys/compat/linux/arch/alpha/linux_machdep.c: revision 1.50 sys/compat/linux32/common/linux32_misc.c: revision 1.24 sys/netinet/in_pcb.c: revision 1.153 sys/sys/malloc.h: revision 1.116 sys/compat/common/if_43.c: revision 1.9 share/man/man9/Makefile: revision 1.380 sys/netinet/tcp_vtw.c: revision 1.12 sys/miscfs/umapfs/umap_vfsops.c: revision 1.95 sys/ufs/ext2fs/ext2fs_vfsops.c: revision 1.186 sys/compat/common/uipc_syscalls_43.c: revision 1.46 sys/ufs/ext2fs/ext2fs_vnops.c: revision 1.115 sys/fs/puffs/puffs_msgif.c: revision 1.97 sys/compat/svr4/svr4_ipc.c: revision 1.27 sys/compat/linux/common/linux_exec.c: revision 1.117 sys/ufs/ext2fs/ext2fs_readwrite.c: revision 1.66 sys/netinet/tcp_output.c: revision 1.179 sys/compat/svr4/svr4_termios.c: revision 1.28 sys/fs/udf/udf_strat_bootstrap.c: revision 1.4 sys/fs/puffs/puffs_subr.c: revision 1.67 sys/fs/puffs/puffs_node.c: revision 1.36 sys/miscfs/overlay/overlay_vnops.c: revision 1.21 sys/fs/cd9660/cd9660_node.c: revision 1.34 sys/netinet/raw_ip.c: revision 1.146 sys/sys/mallocvar.h: revision 1.13 sys/miscfs/overlay/overlay_vfsops.c: revision 1.63 share/man/man9/malloc.9: revision 1.50 sys/netinet6/dest6.c: revision 1.18 sys/compat/linux/common/linux_uselib.c: revision 1.33 sys/compat/linux/common/linux_socket.c: revision 1.120 share/man/man9/malloc.9: revision 1.51 sys/netinet/tcp_subr.c: revision 1.257 sys/compat/linux/common/linux_socketcall.c: revision 1.45 sys/compat/linux/common/linux_fadvise64_64.c: revision 1.3 sys/compat/freebsd/freebsd_ipc.c: revision 1.17 sys/compat/linux/common/linux_misc_notalpha.c: revision 1.109 sys/compat/linux/arch/alpha/linux_pipe.c: revision 1.17 sys/netinet6/in6_pcb.c: revision 1.132 sys/netinet6/in6_ifattach.c: revision 1.94 sys/compat/svr4/svr4_exec_elf32.c: revision 1.15 sys/miscfs/nullfs/null_vfsops.c: revision 1.90 sys/fs/cd9660/cd9660_util.c: revision 1.12 sys/compat/linux/arch/powerpc/linux_machdep.c: revision 1.48 sys/compat/freebsd/freebsd_exec_elf32.c: revision 1.20 sys/miscfs/procfs/procfs_vfsops.c: revision 1.94 sys/compat/linux/arch/powerpc/linux_ptrace.c: revision 1.28 sys/compat/linux/common/linux_sched.c: revision 1.67 sys/compat/linux/common/linux_exec_aout.c: revision 1.67 sys/compat/linux/common/linux_pipe.c: revision 1.67 sys/compat/linux/common/linux_llseek.c: revision 1.34 sys/compat/linux/arch/mips/linux_ptrace.c: revision 1.10 Do not uselessly include <sys/malloc.h>. Cleanup: - remove struct kmembuckets (dead) - correctly deadify MALLOC_XX - remove MALLOC_DEFINE_LIMIT and MALLOC_JUSTDEFINE_LIMIT (dead) - remove malloc_roundup(), malloc_type_setlimit(), MALLOC_DEFINE_LIMIT() and MALLOC_JUSTDEFINE_LIMIT() from man 9 malloc New sentence, new line. Bump date for previous. Obsolete malloc_roundup(9), malloc_type_setlimit(9) and MALLOC_DEFINE_LIMIT(9) man pages.
|
| 1.115.2.4 | 28-Aug-2017 |
skrll | Sync with HEAD
|
| 1.115.2.3 | 05-Oct-2016 |
skrll | Sync with HEAD
|
| 1.115.2.2 | 06-Jun-2015 |
skrll | Sync with HEAD
|
| 1.115.2.1 | 06-Apr-2015 |
skrll | Sync with HEAD
|
| 1.117.2.1 | 06-Aug-2016 |
pgoyette | Sync with HEAD
|
| 1.128.10.3 | 13-Apr-2020 |
martin | Mostly merge changes from HEAD upto 20200411
|
| 1.128.10.2 | 08-Apr-2020 |
martin | Merge changes from current as of 20200406
|
| 1.128.10.1 | 10-Jun-2019 |
christos | Sync with HEAD
|
| 1.128.8.1 | 18-Jan-2019 |
pgoyette | Synch with HEAD
|
| 1.132.6.1 | 01-Aug-2021 |
thorpej | Sync with HEAD.
|
| 1.5 | 16-May-2020 |
christos | Add ACL support for FFS. From FreeBSD.
|
| 1.4 | 23-Aug-2016 |
christos | branches: 1.4.2; 1.4.4; 1.4.18; CID 1371648: off by one in index checking KNF.
|
| 1.3 | 14-Aug-2016 |
jdolecek | add EXT2F_HAS_ROCOMPAT_FEATURE() macro, and change the current EXT2F_HAS_{COMPAT|INCOMPAT}_FEATURE() to take fs as first parameter
|
| 1.2 | 13-Aug-2016 |
christos | KNF, no functional changes...
|
| 1.1 | 12-Aug-2016 |
jdolecek | add support for extended attributes in ext2fs for ext3/ext4; read-only for now
|
| 1.4.18.2 | 03-Dec-2017 |
jdolecek | update from HEAD
|
| 1.4.18.1 | 23-Aug-2016 |
jdolecek | file ext2fs_xattr.c was added on branch tls-maxphys on 2017-12-03 11:39:21 +0000
|
| 1.4.4.2 | 05-Oct-2016 |
skrll | Sync with HEAD
|
| 1.4.4.1 | 23-Aug-2016 |
skrll | file ext2fs_xattr.c was added on branch nick-nhusb on 2016-10-05 20:56:11 +0000
|
| 1.4.2.2 | 14-Sep-2016 |
pgoyette | Sync with HEAD
|
| 1.4.2.1 | 23-Aug-2016 |
pgoyette | file ext2fs_xattr.c was added on branch pgoyette-localcount on 2016-09-14 03:04:19 +0000
|
| 1.4 | 16-Apr-2020 |
rin | Revert previous for now: http://mail-index.netbsd.org/source-changes/2020/04/16/msg116278.html
The reasoning turned out to be wrong; __KERNEL_RCSID() in header files does *not* overwrite RCSID in main source files. The real problem is that it inserts its RCSID into *every* object files. However, it can be still useful even if heavily duplicated.
|
| 1.3 | 16-Apr-2020 |
rin | Stop using __KERNEL_RCSID() in header files; it confuses ident(1) by overwriting RCSID in main source files.
XXX The first argument of __KERNEL_RCSID() is neglected for ELF. If we wish to have RCSID of header files in kernel binary, we need something like __FBSDID() macro in FreeBSD.
|
| 1.2 | 12-Aug-2016 |
macallan | branches: 1.2.2; 1.2.4; 1.2.18; 1.2.32; cast pointers to uintptr_t before comparing them, also ()s now this at least compiles
|
| 1.1 | 12-Aug-2016 |
jdolecek | add support for extended attributes in ext2fs for ext3/ext4; read-only for now
|
| 1.2.32.1 | 20-Apr-2020 |
bouyer | Sync with HEAD
|
| 1.2.18.2 | 03-Dec-2017 |
jdolecek | update from HEAD
|
| 1.2.18.1 | 12-Aug-2016 |
jdolecek | file ext2fs_xattr.h was added on branch tls-maxphys on 2017-12-03 11:39:21 +0000
|
| 1.2.4.2 | 05-Oct-2016 |
skrll | Sync with HEAD
|
| 1.2.4.1 | 12-Aug-2016 |
skrll | file ext2fs_xattr.h was added on branch nick-nhusb on 2016-10-05 20:56:11 +0000
|
| 1.2.2.2 | 14-Sep-2016 |
pgoyette | Sync with HEAD
|
| 1.2.2.1 | 12-Aug-2016 |
pgoyette | file ext2fs_xattr.h was added on branch pgoyette-localcount on 2016-09-14 03:04:19 +0000
|