Home | History | Annotate | Download | only in hfs
History log of /src/sys/fs/hfs/hfs_subr.c
RevisionDateAuthorComments
 1.19  21-Jun-2015  maxv KNF
 1.18  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.17  14-Nov-2011  hannken branches: 1.17.10; 1.17.28;
VOP_OPEN() needs a locked vnode. All these copy-and-pasted xxxfs_mount()
implementations need more review.
 1.16  13-Nov-2011  christos use getdisksize()
 1.15  24-Feb-2011  christos branches: 1.15.4;
simplify and handle unaligned pointer access.
 1.14  24-Jun-2010  hannken branches: 1.14.2; 1.14.4;
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.13  27-Nov-2009  pooka branches: 1.13.2; 1.13.4;
Yes, you need a VOP_UNLOCK() there.
 1.12  26-Mar-2009  pooka pretend to do some sort of cleanup in error branches
 1.11  16-Nov-2008  pooka branches: 1.11.4;
more <sys/buf.h> police
 1.10  03-Sep-2008  gmcgarry branches: 1.10.2;
Don't use unnamed structures.
 1.9  16-May-2008  hannken branches: 1.9.4;
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.8  24-Jan-2008  ad branches: 1.8.6; 1.8.8; 1.8.10; 1.8.12;
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.7  02-Jan-2008  ad Merge vmlocking2 to head.
 1.6  26-Nov-2007  pooka branches: 1.6.2; 1.6.6;
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.5  10-Oct-2007  ad branches: 1.5.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.4  08-Oct-2007  ad Merge brelse() changes from the vmlocking branch.
 1.3  22-Mar-2007  dillo branches: 1.3.8; 1.3.10; 1.3.12; 1.3.14;
Add support for HFS Wrapper (HFS+ volume inside an HFS volume).
Remove offset argument, we should now find an HFS+ volume in any
of its standard places.

Based on work from and test image provided by Pelle Johansson.
 1.2  06-Mar-2007  dillo branches: 1.2.2; 1.2.4; 1.2.6; 1.2.8;
Complete rename of hfsp to hfs, requested by thorpej.
 1.1  06-Mar-2007  dillo Rename files from hfsp to hfs.
 1.2.8.1  29-Mar-2007  reinoud Pullup to -current
 1.2.6.1  11-Jul-2007  mjf Sync with head.
 1.2.4.3  24-Mar-2007  yamt sync with head.
 1.2.4.2  12-Mar-2007  rmind Sync with HEAD (missed new files in previous).
 1.2.4.1  06-Mar-2007  rmind file hfs_subr.c was added on branch yamt-idlelwp on 2007-03-12 06:14:52 +0000
 1.2.2.5  23-Oct-2007  ad Sync with head.
 1.2.2.4  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.
 1.2.2.3  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.2.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.2.2.1  10-Apr-2007  ad Sync with head.
 1.3.14.1  14-Oct-2007  yamt sync with head.
 1.3.12.6  04-Feb-2008  yamt sync with head.
 1.3.12.5  21-Jan-2008  yamt sync with head
 1.3.12.4  07-Dec-2007  yamt sync with head
 1.3.12.3  27-Oct-2007  yamt sync with head.
 1.3.12.2  03-Sep-2007  yamt sync with head.
 1.3.12.1  22-Mar-2007  yamt file hfs_subr.c was added on branch yamt-lazymbuf on 2007-09-03 14:40:20 +0000
 1.3.10.3  23-Mar-2008  matt sync with HEAD
 1.3.10.2  09-Jan-2008  matt sync with HEAD
 1.3.10.1  06-Nov-2007  matt sync with HEAD
 1.3.8.2  27-Nov-2007  joerg Sync with HEAD. amd64 Xen support needs testing.
 1.3.8.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.5.4.2  18-Feb-2008  mjf Sync with HEAD.
 1.5.4.1  08-Dec-2007  mjf Sync with HEAD.
 1.6.6.1  02-Jan-2008  bouyer Sync with HEAD
 1.6.2.1  04-Dec-2007  ad Pull the vmlocking changes into a new branch.
 1.8.12.2  18-Sep-2008  wrstuden Sync with wrstuden-revivesa-base-2.
 1.8.12.1  23-Jun-2008  wrstuden Sync w/ -current. 34 merge conflicts to follow.
 1.8.10.3  11-Aug-2010  yamt sync with head.
 1.8.10.2  11-Mar-2010  yamt sync with head
 1.8.10.1  04-May-2009  yamt sync with head.
 1.8.8.1  18-May-2008  yamt sync with head.
 1.8.6.3  17-Jan-2009  mjf Sync with HEAD.
 1.8.6.2  28-Sep-2008  mjf Sync with HEAD.
 1.8.6.1  02-Jun-2008  mjf Sync with HEAD.
 1.9.4.2  13-Dec-2008  haad Update haad-dm branch to haad-dm-base2.
 1.9.4.1  19-Oct-2008  haad Sync with HEAD.
 1.10.2.2  28-Apr-2009  skrll Sync with HEAD.
 1.10.2.1  19-Jan-2009  skrll Sync with HEAD.
 1.11.4.1  13-May-2009  jym Sync with HEAD.

Commit is split, to avoid a "too many arguments" protocol error.
 1.13.4.2  05-Mar-2011  rmind sync with head
 1.13.4.1  03-Jul-2010  rmind sync with head
 1.13.2.1  17-Aug-2010  uebayasi Sync with HEAD.
 1.14.4.1  05-Mar-2011  bouyer Sync with HEAD
 1.14.2.1  06-Jun-2011  jruoho Sync with HEAD.
 1.15.4.1  17-Apr-2012  yamt sync with head
 1.17.28.2  22-Sep-2015  skrll Sync with HEAD
 1.17.28.1  06-Apr-2015  skrll Sync with HEAD
 1.17.10.1  03-Dec-2017  jdolecek update from HEAD

RSS XML Feed