Home | History | Annotate | Download | only in ext2fs
History log of /src/sys/ufs/ext2fs/ext2fs_bmap.c
RevisionDateAuthorComments
 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

RSS XML Feed