Home | History | Annotate | Download | only in ntfs
History log of /src/sys/fs/ntfs/ntfs_vnops.c
RevisionDateAuthorComments
 1.66  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.65  27-Jun-2020  christos branches: 1.65.6;
Introduce genfs_pathconf() and use it for the default case in all filesystems.
 1.64  16-May-2020  christos Add ACL support for FFS. From FreeBSD.
 1.63  26-May-2017  riastradh 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.62  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.61  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.60  20-Aug-2016  hannken branches: 1.60.2;
Remove now obsolete operation vcache_remove().

Welcome to 7.99.36
 1.59  13-Nov-2014  hannken branches: 1.59.2; 1.59.4;
Change ntfs to vcache.
- Use (inumber, attrtype, attrname) as key.
- Inline ntfs_fget() and ntfs_frele() as they only get called once.
 1.58  13-Nov-2014  hannken - Fix ntfs_ntlookupattr() to make the examples from the man page work.
- Fix ntfs_loadntnode() to always read full cluster to prevent buffer
cache inconsistency.
- Change ntfs_vgetex() and ntfs_fget() to take a const attrname and
always pass a possibly empty string.
- Change printf to dprintf.
- Get rid of dead fields i_next, i_prev of struct ntnode.
 1.57  25-Jul-2014  dholland 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.56  07-Feb-2014  hannken branches: 1.56.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.55  18-Mar-2013  plunky branches: 1.55.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.54  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.53  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.52  22-Jul-2012  rmind branches: 1.52.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.51  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.50  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.49  19-May-2011  rmind branches: 1.49.4; 1.49.8; 1.49.10;
Remove cache_purge(9) calls from reclamation routines in the file systems,
as vclean(9) performs it for us since Lite2 merge.
 1.48  26-Apr-2011  hannken Change vflushbuf() to return an error if a synchronous write fails.

Welcome to 5.99.51.
 1.47  24-Jun-2010  hannken branches: 1.47.2;
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.46  08-Jan-2010  pooka branches: 1.46.2; 1.46.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.45  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.44  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.43  29-Apr-2009  elad Replace open-coded vaccess() in ntfs_access() with a call to vaccess().

Similarly to msdosfs, always add the exec bit to keep the current
behavior.

Mailing list reference:

http://mail-index.netbsd.org/tech-kern/2009/04/21/msg004881.html
 1.42  17-Dec-2008  cegger branches: 1.42.2;
kill MALLOC and FREE macros.
 1.41  30-Apr-2008  ad branches: 1.41.8;
Make various bits of debug code compile again.
 1.40  30-Jan-2008  ad branches: 1.40.6; 1.40.8; 1.40.10;
Replace struct lock on vnodes with a simpler lock object built on
krwlock_t. This is a step towards removing lockmgr and simplifying
vnode locking. Discussed on tech-kern.
 1.39  29-Jan-2008  pooka Nuke #ifdef __OtherOS__ clutter to make maintaining slightly easier.
 1.38  25-Jan-2008  ad Remove VOP_LEASE. Discussed on tech-kern.
 1.37  17-Jan-2008  ad Fix dodgy tests of v_usecount.
 1.36  26-Nov-2007  pooka branches: 1.36.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.35  29-Jul-2007  ad branches: 1.35.4; 1.35.6; 1.35.12; 1.35.14;
It's not a good idea for device drivers to modify b_flags, as they don't
need to understand the locking around that field. Instead of setting
B_ERROR, set b_error instead. b_error is 'owned' by whoever completes
the I/O request.
 1.34  26-Jul-2007  pooka Don't do nfs server consistency checks in readdir, especially since
the check depended on the nfs server implementation.
 1.33  04-Mar-2007  christos branches: 1.33.2; 1.33.10;
Kill caddr_t; there will be some MI fallout, but it will be fixed shortly.
 1.32  20-Feb-2007  ad Call genfs_node_destroy() where appropriate.
 1.31  09-Dec-2006  chs branches: 1.31.2;
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.30  12-Oct-2006  christos branches: 1.30.2;
- 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  01-Mar-2006  yamt branches: 1.28.2; 1.28.4; 1.28.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.27  11-Dec-2005  christos branches: 1.27.2; 1.27.4; 1.27.6;
merge ktrace-lwp.
 1.26  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.25  23-Oct-2005  christos make debugging code compile after 64 bit inode changes.
 1.24  30-Aug-2005  xtraeme branches: 1.24.2;
Remove __P()
 1.23  19-Aug-2005  christos 64 bit inode changes.
 1.22  25-Jul-2005  christos PR/30823: Dave Huang: Panic reading files larger than 4GB on NTFS
 1.21  26-Feb-2005  perry branches: 1.21.4;
nuke trailing whitespace
 1.20  13-Feb-2005  jdolecek use MIN()/MAX() rather than min()/max(), to avoid possible truncation
of 64bit values to 'int'
 1.19  13-Sep-2004  jdolecek branches: 1.19.4; 1.19.6;
set mp->mnt_stat.f_namemax on filesystem mount for use by statvfs, and use
the value for also pathconf(_PC_NAME_MAX) to keep the two in sync
 1.18  29-Feb-2004  jdolecek use global prtactive setting instead of ntfs-specific variable;
this also changes default, to not print the active vnodes
 1.17  22-Feb-2004  jdolecek make VOP_UPDATE() trivially succeed (without doing anything), instead
of returning error

this makes it possible to mount other filesystems on directory on NTFS
filesystem
 1.16  26-Jan-2004  hannken Fix xxx_strategy() to use the vnode arg instead of bp->b_vp.
 1.15  06-Oct-2003  jdolecek change accidentaly left debug printf to dprintf()
 1.14  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.13  02-Aug-2003  jdolecek remove all traces of non-working quota support
add quota support to TODO - makes sense only once writing support
would be implemented, and only once NTFS would support notion of file 'owner'

adresses kern/21967 by Martin Husemann
 1.12  29-Jun-2003  fvdl branches: 1.12.2;
Back out the lwp/ktrace changes. They contained a lot of colateral damage,
and need to be examined and discussed more.
 1.11  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.10  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.9  23-Jun-2003  martin #ifdef _KERNEL_OPT police
 1.8  23-Jun-2003  martin Disable QUOTA for ntfs - it's broken.
 1.7  23-Jun-2003  martin Make sure to include opt_foo.h if a defflag option FOO is used.
 1.6  10-Apr-2003  jdolecek back to genfs_eopnotsupp() for vop_remove, vop_link, vop_rename,
vop_mkdir, vop_rmdir - it does the right unlocking now
 1.5  09-Apr-2003  jdolecek move ntfs_remove() to be together with the other dummies - easier to c&p
eventually
 1.4  09-Apr-2003  jdolecek add dummy link, rename, mkdir, rmdir vnode ops, which release the
appropriate vnodes before failing with EOPNOTSUPP - this is necessary
to not deadlock later
 1.3  09-Apr-2003  jdolecek print some potentially useful stuff in ntfs_print()
replace the VOP__UNLOCK() macros with VOP_UNLOCK() directly - it just
obfuscates the code
similarily for VN_LOCK()->vn_lock()
unlock dvp before ntvattrget call in ntfs_lookup() in '..' case, not after
fix problem in ntfs_lookup() where PDIRUNLOCK was not set in one code path
after unlocking parent directory vnode
 1.2  09-Apr-2003  jdolecek add real ntfs remove vnode op, which releases vnode locks on parent directory
and the file vnode before returning EOPNOTSUPP
fixes PR kern/19595 by Erik Berls
 1.1  23-Dec-2002  jdolecek branches: 1.1.2;
move NTFS code from sys/ntfs to sys/fs/ntfs
 1.1.2.2  29-Dec-2002  thorpej With with HEAD.
 1.1.2.1  23-Dec-2002  thorpej file ntfs_vnops.c was added on branch nathanw_sa on 2002-12-29 19:56:19 +0000
 1.12.2.10  10-Nov-2005  skrll Sync with HEAD. Here we go again...
 1.12.2.9  04-Mar-2005  skrll Sync with HEAD.

Hi Perry!
 1.12.2.8  15-Feb-2005  skrll Sync with HEAD.
 1.12.2.7  27-Oct-2004  skrll Fix various comments that describe the argument structures
 1.12.2.6  21-Sep-2004  skrll Fix the sync with head I botched.
 1.12.2.5  18-Sep-2004  skrll Sync with HEAD.
 1.12.2.4  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.12.2.3  12-Aug-2004  skrll Sync with HEAD.
 1.12.2.2  03-Aug-2004  skrll Sync with HEAD
 1.12.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.19.6.1  19-Mar-2005  yamt sync with head. xen and whitespace. xen part is not finished.
 1.19.4.1  29-Apr-2005  kent sync with -current
 1.21.4.7  04-Feb-2008  yamt sync with head.
 1.21.4.6  21-Jan-2008  yamt sync with head
 1.21.4.5  07-Dec-2007  yamt sync with head
 1.21.4.4  03-Sep-2007  yamt sync with head.
 1.21.4.3  26-Feb-2007  yamt sync with head.
 1.21.4.2  30-Dec-2006  yamt sync with head.
 1.21.4.1  21-Jun-2006  yamt sync with head.
 1.24.2.2  26-Oct-2005  yamt sync with head
 1.24.2.1  20-Oct-2005  yamt adapt ntfs.
 1.27.6.2  01-Jun-2006  kardel Sync with head.
 1.27.6.1  22-Apr-2006  simonb Sync with head.
 1.27.4.1  09-Sep-2006  rpaulo sync with head
 1.27.2.2  18-Feb-2006  yamt fix a typo.
 1.27.2.1  18-Feb-2006  yamt adapt the rest of MI code.
 1.28.6.1  24-May-2006  tron Merge 2006-05-24 NetBSD-current into the "peter-altq" branch.
 1.28.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.28.4.2  10-Mar-2006  elad generic_authorize() -> kauth_authorize_generic().
 1.28.4.1  08-Mar-2006  elad Adapt to kernel authorization KPI.
 1.28.2.1  24-May-2006  yamt 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.2  12-Jan-2007  ad Sync with head.
 1.29.8.1  18-Nov-2006  ad Sync with head.
 1.30.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.31.2.2  12-Mar-2007  rmind Sync with HEAD.
 1.31.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.33.10.1  15-Aug-2007  skrll Sync with HEAD.
 1.33.2.3  09-Oct-2007  ad Sync with head.
 1.33.2.2  19-Aug-2007  ad - Back out the biodone() changes.
- Eliminate B_ERROR (from HEAD).
 1.33.2.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.14.2  29-Jul-2007  ad It's not a good idea for device drivers to modify b_flags, as they don't
need to understand the locking around that field. Instead of setting
B_ERROR, set b_error instead. b_error is 'owned' by whoever completes
the I/O request.
 1.35.14.1  29-Jul-2007  ad file ntfs_vnops.c was added on branch matt-mips64 on 2007-07-29 13:31:10 +0000
 1.35.12.2  18-Feb-2008  mjf Sync with HEAD.
 1.35.12.1  08-Dec-2007  mjf Sync with HEAD.
 1.35.6.2  23-Mar-2008  matt sync with HEAD
 1.35.6.1  09-Jan-2008  matt sync with HEAD
 1.35.4.1  27-Nov-2007  joerg Sync with HEAD. amd64 Xen support needs testing.
 1.36.6.1  19-Jan-2008  bouyer Sync with HEAD
 1.40.10.5  11-Aug-2010  yamt sync with head.
 1.40.10.4  11-Mar-2010  yamt sync with head
 1.40.10.3  18-Jul-2009  yamt sync with head.
 1.40.10.2  04-May-2009  yamt sync with head.
 1.40.10.1  16-May-2008  yamt sync with head.
 1.40.8.1  18-May-2008  yamt sync with head.
 1.40.6.2  17-Jan-2009  mjf Sync with HEAD.
 1.40.6.1  02-Jun-2008  mjf Sync with HEAD.
 1.41.8.1  19-Jan-2009  skrll Sync with HEAD.
 1.42.2.2  23-Jul-2009  jym Sync with HEAD.
 1.42.2.1  13-May-2009  jym Sync with HEAD.

Commit is split, to avoid a "too many arguments" protocol error.
 1.46.4.2  31-May-2011  rmind sync with head
 1.46.4.1  03-Jul-2010  rmind sync with head
 1.46.2.1  17-Aug-2010  uebayasi Sync with HEAD.
 1.47.2.1  06-Jun-2011  jruoho Sync with HEAD.
 1.49.10.2  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.49.10.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.49.8.2  02-Jun-2012  mrg sync to latest -current.
 1.49.8.1  05-Apr-2012  mrg sync to latest -current.
 1.49.4.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.49.4.4  16-Jan-2013  yamt sync with (a bit old) head
 1.49.4.3  30-Oct-2012  yamt sync with head
 1.49.4.2  23-May-2012  yamt sync with head.
 1.49.4.1  17-Apr-2012  yamt sync with head
 1.52.2.4  03-Dec-2017  jdolecek update from HEAD
 1.52.2.3  20-Aug-2014  tls Rebase to HEAD as of a few days ago.
 1.52.2.2  23-Jun-2013  tls resync from head
 1.52.2.1  20-Nov-2012  tls Resync to 2012-11-19 00:00:00 UTC
 1.55.6.1  18-May-2014  rmind sync with head
 1.56.2.1  10-Aug-2014  tls Rebase.
 1.59.4.1  26-Apr-2017  pgoyette Sync with HEAD
 1.59.2.2  28-Aug-2017  skrll Sync with HEAD
 1.59.2.1  05-Oct-2016  skrll Sync with HEAD
 1.60.2.1  21-Apr-2017  bouyer Sync with HEAD
 1.65.6.1  01-Aug-2021  thorpej Sync with HEAD.

RSS XML Feed