Home | History | Annotate | Download | only in efs
History log of /src/sys/fs/efs/efs_subr.c
RevisionDateAuthorComments
 1.14  10-Dec-2021  andvar s/occured/occurred/ in comments, log messages and man pages.
 1.13  07-Sep-2020  christos fix unaligned access
 1.12  26-Sep-2015  maxv Curious typo. Harmless. Found by Brainy
 1.11  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.10  30-Oct-2013  mrg branches: 1.10.6;
use __diagused where appropriate.
 1.9  20-Oct-2013  christos Now that KASSERT will always consume its arguments, move a KASSERT inside
a DIAGNOSTIC, because the function used is only defined with DIAGNOSTIC.
 1.8  20-Dec-2012  hannken branches: 1.8.2;
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.7  16-May-2008  hannken branches: 1.7.32; 1.7.42;
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.6  08-Oct-2007  ad branches: 1.6.18; 1.6.20; 1.6.22; 1.6.24;
Merge brelse() changes from the vmlocking branch.
 1.5  06-Aug-2007  rumble branches: 1.5.2; 1.5.4; 1.5.6; 1.5.8;
Fix a parenthesis bug that would nearly always make the superblock magic
check evaluate to true.
 1.4  29-Jul-2007  rumble branches: 1.4.4;
When computing the superblock checksum, use an unsigned short to avoid an
undesired sign-extension. Now EFS works on big endian machines, too.
 1.3  04-Jul-2007  rumble branches: 1.3.2; 1.3.4;
Clamp down tigher on the bound around 'numextents'. Add a few comments
to make it clearer what we're tracking.
 1.2  04-Jul-2007  rumble Additional fixes/enhancements:
1) Comply with the way buffercache(9) is intended to be used. Now we
read in single blocks of EFS_BB_SIZE, never taking in variable
length extents with a single bread() call.

2) Handle symlinks with more than one extent. There's no reason for
this to ever happen, but it's handled now.

3) Finally, add a hint to our iteration initialiser so we can start
from the desired offset, rather than naively looping through from
the beginning each time. Since we can binary search the correct
location quickly, this improves large sequential reads by about
40% with 128MB files. Improvement should increase with file size.
 1.1  29-Jun-2007  rumble Add read-only support for SGI's Extent File System.

Reviewed by pooka@.
 1.3.4.1  15-Aug-2007  skrll Sync with HEAD.
 1.3.2.3  20-Aug-2007  ad Sync with HEAD.
 1.3.2.2  15-Jul-2007  ad Sync with head.
 1.3.2.1  04-Jul-2007  ad file efs_subr.c was added on branch vmlocking on 2007-07-15 16:15:29 +0000
 1.4.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.4.4.1  09-Aug-2007  jmcneill Sync with HEAD.
 1.5.8.2  06-Aug-2007  rumble Fix a parenthesis bug that would nearly always make the superblock magic
check evaluate to true.
 1.5.8.1  06-Aug-2007  rumble file efs_subr.c was added on branch matt-mips64 on 2007-08-06 23:25:28 +0000
 1.5.6.1  14-Oct-2007  yamt sync with head.
 1.5.4.3  27-Oct-2007  yamt sync with head.
 1.5.4.2  03-Sep-2007  yamt sync with head.
 1.5.4.1  06-Aug-2007  yamt file efs_subr.c was added on branch yamt-lazymbuf on 2007-09-03 14:40:14 +0000
 1.5.2.1  06-Nov-2007  matt sync with HEAD
 1.6.24.1  23-Jun-2008  wrstuden Sync w/ -current. 34 merge conflicts to follow.
 1.6.22.1  04-May-2009  yamt sync with head.
 1.6.20.1  18-May-2008  yamt sync with head.
 1.6.18.1  02-Jun-2008  mjf Sync with HEAD.
 1.7.42.3  03-Dec-2017  jdolecek update from HEAD
 1.7.42.2  20-Aug-2014  tls Rebase to HEAD as of a few days ago.
 1.7.42.1  25-Feb-2013  tls resync with head
 1.7.32.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.7.32.1  23-Jan-2013  yamt sync with head
 1.8.2.1  18-May-2014  rmind sync with head
 1.10.6.2  27-Dec-2015  skrll Sync with HEAD (as of 26th Dec)
 1.10.6.1  06-Apr-2015  skrll Sync with HEAD

RSS XML Feed