The NetBSD Project

CVS log for src/sys/fs/v7fs/v7fs_vnops.c

[BACK] Up to [cvs.NetBSD.org] / src / sys / fs / v7fs

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.38 / (download) - annotate - [select for diffs], Sun Jul 31 13:08:19 2022 UTC (6 months, 1 week ago) by mlelstv
Branch: MAIN
CVS Tags: netbsd-10-base, netbsd-10, bouyer-sunxi-drm-base, bouyer-sunxi-drm, HEAD
Changes since 1.37: +5 -3 lines
Diff to previous 1.37 (colored)

Don't panic for a negative offset, just fail the operation with EINVAL.

Revision 1.37 / (download) - annotate - [select for diffs], Sun May 22 11:27:36 2022 UTC (8 months, 2 weeks ago) by andvar
Branch: MAIN
Changes since 1.36: +3 -3 lines
Diff to previous 1.36 (colored)

fix various small typos, mainly in comments.

Revision 1.36 / (download) - annotate - [select for diffs], Wed Mar 30 12:45:58 2022 UTC (10 months, 1 week ago) by christos
Branch: MAIN
Changes since 1.35: +3 -3 lines
Diff to previous 1.35 (colored)

fix unlock on error.

Revision 1.35 / (download) - annotate - [select for diffs], Sun Mar 27 16:24:58 2022 UTC (10 months, 1 week ago) by christos
Branch: MAIN
Changes since 1.34: +11 -5 lines
Diff to previous 1.34 (colored)

add a kauth vnode check for creating links

Revision 1.34 / (download) - annotate - [select for diffs], Fri Feb 11 10:55:15 2022 UTC (11 months, 3 weeks ago) by hannken
Branch: MAIN
Changes since 1.33: +34 -25 lines
Diff to previous 1.33 (colored)

A component name is a counted string (cn_nameptr, cn_namelen),
not a zero terminated string cn_nameptr.

Change the following operations to work with counted strings:

v7fs_file_lookup_by_name()
v7fs_file_allocate()
v7fs_file_deallocate()
v7fs_directory_add_entry()
v7fs_directory_remove_entry()
v7fs_file_rename()
v7fs_file_link()
v7fs_dirent_filename()

Adapt all vnode operations with component names as argument.

Revision 1.33 / (download) - annotate - [select for diffs], Tue Feb 1 17:12:24 2022 UTC (12 months ago) by jakllsch
Branch: MAIN
Changes since 1.32: +3 -3 lines
Diff to previous 1.32 (colored)

fix spelling of "regular" in comment

Revision 1.32 / (download) - annotate - [select for diffs], Wed Oct 20 03:08:18 2021 UTC (15 months, 2 weeks ago) by thorpej
Branch: MAIN
Changes since 1.31: +4 -3 lines
Diff to previous 1.31 (colored)

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.

Revision 1.31 / (download) - annotate - [select for diffs], Sat Jun 27 17:29:18 2020 UTC (2 years, 7 months ago) by christos
Branch: MAIN
CVS Tags: thorpej-i2c-spi-conf2-base, thorpej-i2c-spi-conf2, thorpej-i2c-spi-conf-base, thorpej-i2c-spi-conf, thorpej-futex2-base, thorpej-futex2, thorpej-futex-base, thorpej-futex, thorpej-cfargs2-base, thorpej-cfargs2, thorpej-cfargs-base, thorpej-cfargs, cjep_sun2x-base1, cjep_sun2x-base, cjep_sun2x, cjep_staticlib_x-base1, cjep_staticlib_x-base, cjep_staticlib_x
Changes since 1.30: +27 -32 lines
Diff to previous 1.30 (colored)

Introduce genfs_pathconf() and use it for the default case in all filesystems.

Revision 1.30 / (download) - annotate - [select for diffs], Sat May 16 18:31:50 2020 UTC (2 years, 8 months ago) by christos
Branch: MAIN
Changes since 1.29: +18 -18 lines
Diff to previous 1.29 (colored)

Add ACL support for FFS. From FreeBSD.

Revision 1.27.4.2 / (download) - annotate - [select for diffs], Sat Apr 25 11:24:05 2020 UTC (2 years, 9 months ago) by bouyer
Branch: bouyer-xenpvh
Changes since 1.27.4.1: +4 -4 lines
Diff to previous 1.27.4.1 (colored) to branchpoint 1.27 (colored) next main 1.28 (colored)

Sync with bouyer-xenpvh-base2 (HEAD)

Revision 1.29 / (download) - annotate - [select for diffs], Thu Apr 23 21:47:08 2020 UTC (2 years, 9 months ago) by ad
Branch: MAIN
CVS Tags: bouyer-xenpvh-base2
Changes since 1.28: +4 -4 lines
Diff to previous 1.28 (colored)

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.

Revision 1.26.10.2 / (download) - annotate - [select for diffs], Tue Apr 21 18:42:41 2020 UTC (2 years, 9 months ago) by martin
Branch: phil-wifi
Changes since 1.26.10.1: +3 -3 lines
Diff to previous 1.26.10.1 (colored) to branchpoint 1.26 (colored) next main 1.27 (colored)

Sync with HEAD

Revision 1.27.4.1 / (download) - annotate - [select for diffs], Mon Apr 20 11:29:10 2020 UTC (2 years, 9 months ago) by bouyer
Branch: bouyer-xenpvh
Changes since 1.27: +5 -5 lines
Diff to previous 1.27 (colored)

Sync with HEAD

Revision 1.28 / (download) - annotate - [select for diffs], Mon Apr 13 19:23:18 2020 UTC (2 years, 9 months ago) by ad
Branch: MAIN
CVS Tags: phil-wifi-20200421, bouyer-xenpvh-base1
Changes since 1.27: +5 -5 lines
Diff to previous 1.27 (colored)

Replace most uses of vp->v_usecount with a call to vrefcnt(vp), a function
that hides the details and does atomic_load_relaxed().  Signature matches
FreeBSD.

Revision 1.26.10.1 / (download) - annotate - [select for diffs], Wed Apr 8 14:08:51 2020 UTC (2 years, 9 months ago) by martin
Branch: phil-wifi
Changes since 1.26: +12 -7 lines
Diff to previous 1.26 (colored)

Merge changes from current as of 20200406

Revision 1.26.16.1 / (download) - annotate - [select for diffs], Fri Jan 17 21:47:35 2020 UTC (3 years ago) by ad
Branch: ad-namecache
Changes since 1.26: +12 -7 lines
Diff to previous 1.26 (colored) next main 1.27 (colored)

Sync with head.

Revision 1.27 / (download) - annotate - [select for diffs], Fri Jan 17 20:08:09 2020 UTC (3 years ago) by ad
Branch: MAIN
CVS Tags: phil-wifi-20200411, phil-wifi-20200406, is-mlppp-base, is-mlppp, bouyer-xenpvh-base, ad-namecache-base3, ad-namecache-base2, ad-namecache-base1
Branch point for: bouyer-xenpvh
Changes since 1.26: +12 -7 lines
Diff to previous 1.26 (colored)

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.

Revision 1.11.2.3 / (download) - annotate - [select for diffs], Sun Dec 3 11:38:44 2017 UTC (5 years, 2 months ago) by jdolecek
Branch: tls-maxphys
Changes since 1.11.2.2: +46 -33 lines
Diff to previous 1.11.2.2 (colored) to branchpoint 1.11 (colored) next main 1.12 (colored)

update from HEAD

Revision 1.17.4.4 / (download) - annotate - [select for diffs], Mon Aug 28 17:53:07 2017 UTC (5 years, 5 months ago) by skrll
Branch: nick-nhusb
Changes since 1.17.4.3: +12 -11 lines
Diff to previous 1.17.4.3 (colored) to branchpoint 1.17 (colored) next main 1.18 (colored)

Sync with HEAD

Revision 1.26 / (download) - annotate - [select for diffs], Fri May 26 14:21:01 2017 UTC (5 years, 8 months ago) by riastradh
Branch: MAIN
CVS Tags: tls-maxphys-base-20171202, phil-wifi-base, phil-wifi-20191119, phil-wifi-20190609, pgoyette-compat-merge-20190127, pgoyette-compat-base, pgoyette-compat-20190127, pgoyette-compat-20190118, pgoyette-compat-1226, pgoyette-compat-1126, pgoyette-compat-1020, pgoyette-compat-0930, pgoyette-compat-0906, pgoyette-compat-0728, pgoyette-compat-0625, pgoyette-compat-0521, pgoyette-compat-0502, pgoyette-compat-0422, pgoyette-compat-0415, pgoyette-compat-0407, pgoyette-compat-0330, pgoyette-compat-0322, pgoyette-compat-0315, pgoyette-compat, perseant-stdc-iso10646-base, perseant-stdc-iso10646, nick-nhusb-base-20170825, netbsd-9-base, netbsd-9-3-RELEASE, netbsd-9-2-RELEASE, netbsd-9-1-RELEASE, netbsd-9-0-RELEASE, netbsd-9-0-RC2, netbsd-9-0-RC1, netbsd-9, netbsd-8-base, netbsd-8-2-RELEASE, netbsd-8-1-RELEASE, netbsd-8-1-RC1, netbsd-8-0-RELEASE, netbsd-8-0-RC2, netbsd-8-0-RC1, netbsd-8, matt-nb8-mediatek-base, matt-nb8-mediatek, isaki-audio2-base, isaki-audio2, ad-namecache-base
Branch point for: phil-wifi, ad-namecache
Changes since 1.25: +5 -3 lines
Diff to previous 1.25 (colored)

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.

Revision 1.25 / (download) - annotate - [select for diffs], Wed Apr 26 03:02:49 2017 UTC (5 years, 9 months ago) by riastradh
Branch: MAIN
CVS Tags: prg-localcount2-base3, prg-localcount2-base2, prg-localcount2-base1, prg-localcount2-base, prg-localcount2
Changes since 1.24: +4 -6 lines
Diff to previous 1.24 (colored)

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

Revision 1.21.2.1 / (download) - annotate - [select for diffs], Wed Apr 26 02:53:26 2017 UTC (5 years, 9 months ago) by pgoyette
Branch: pgoyette-localcount
Changes since 1.21: +7 -6 lines
Diff to previous 1.21 (colored) next main 1.22 (colored)

Sync with HEAD

Revision 1.22.2.1 / (download) - annotate - [select for diffs], Fri Apr 21 16:54:02 2017 UTC (5 years, 9 months ago) by bouyer
Branch: bouyer-socketcan
Changes since 1.22: +7 -6 lines
Diff to previous 1.22 (colored) next main 1.23 (colored)

Sync with HEAD

Revision 1.24 / (download) - annotate - [select for diffs], Tue Apr 11 14:25:00 2017 UTC (5 years, 9 months ago) by riastradh
Branch: MAIN
CVS Tags: pgoyette-localcount-20170426, bouyer-socketcan-base1
Changes since 1.23: +3 -5 lines
Diff to previous 1.23 (colored)

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!

Revision 1.23 / (download) - annotate - [select for diffs], Sat Apr 8 08:51:02 2017 UTC (5 years, 10 months ago) by hannken
Branch: MAIN
CVS Tags: jdolecek-ncq-base, jdolecek-ncq
Changes since 1.22: +6 -3 lines
Diff to previous 1.22 (colored)

Update mtime when updating file size.

PR kern/51762 (mtime not updated by open(O_TRUNC))

Revision 1.17.4.3 / (download) - annotate - [select for diffs], Wed Oct 5 20:56:02 2016 UTC (6 years, 4 months ago) by skrll
Branch: nick-nhusb
Changes since 1.17.4.2: +2 -4 lines
Diff to previous 1.17.4.2 (colored) to branchpoint 1.17 (colored)

Sync with HEAD

Revision 1.22 / (download) - annotate - [select for diffs], Sat Aug 20 12:37:08 2016 UTC (6 years, 5 months ago) by hannken
Branch: MAIN
CVS Tags: pgoyette-localcount-20170320, pgoyette-localcount-20170107, pgoyette-localcount-20161104, nick-nhusb-base-20170204, nick-nhusb-base-20161204, nick-nhusb-base-20161004, localcount-20160914, bouyer-socketcan-base
Branch point for: bouyer-socketcan
Changes since 1.21: +2 -4 lines
Diff to previous 1.21 (colored)

Remove now obsolete operation vcache_remove().

Welcome to 7.99.36

Revision 1.17.4.2 / (download) - annotate - [select for diffs], Sat Jun 6 14:40:21 2015 UTC (7 years, 8 months ago) by skrll
Branch: nick-nhusb
Changes since 1.17.4.1: +3 -5 lines
Diff to previous 1.17.4.1 (colored) to branchpoint 1.17 (colored)

Sync with HEAD

Revision 1.21 / (download) - annotate - [select for diffs], Mon Apr 20 23:03:08 2015 UTC (7 years, 9 months ago) by riastradh
Branch: MAIN
CVS Tags: pgoyette-localcount-base, pgoyette-localcount-20160806, pgoyette-localcount-20160726, nick-nhusb-base-20160907, nick-nhusb-base-20160529, nick-nhusb-base-20160422, nick-nhusb-base-20160319, nick-nhusb-base-20151226, nick-nhusb-base-20150921, nick-nhusb-base-20150606
Branch point for: pgoyette-localcount
Changes since 1.20: +3 -5 lines
Diff to previous 1.20 (colored)

Make VOP_LINK return directory still locked and referenced.

Ride 7.99.10 bump.

Revision 1.17.4.1 / (download) - annotate - [select for diffs], Mon Apr 6 15:18:20 2015 UTC (7 years, 10 months ago) by skrll
Branch: nick-nhusb
Changes since 1.17: +39 -23 lines
Diff to previous 1.17 (colored)

Sync with HEAD

Revision 1.17.2.1 / (download) - annotate - [select for diffs], Wed Jan 7 10:08:15 2015 UTC (8 years, 1 month ago) by martin
Branch: netbsd-7
CVS Tags: netbsd-7-nhusb-base-20170116, netbsd-7-nhusb-base, netbsd-7-nhusb, netbsd-7-2-RELEASE, netbsd-7-1-RELEASE, netbsd-7-1-RC2, netbsd-7-1-RC1, netbsd-7-1-2-RELEASE, netbsd-7-1-1-RELEASE, netbsd-7-1, netbsd-7-0-RELEASE, netbsd-7-0-RC3, netbsd-7-0-RC2, netbsd-7-0-RC1, netbsd-7-0-2-RELEASE, netbsd-7-0-1-RELEASE, netbsd-7-0
Changes since 1.17: +35 -20 lines
Diff to previous 1.17 (colored) next main 1.18 (colored)

Pull up following revision(s) (requested by hannken in ticket #386):
	sys/fs/v7fs/v7fs_file.c: revision 1.6
	sys/fs/v7fs/v7fs_vnops.c: revision 1.18
	sys/fs/v7fs/v7fs_vnops.c: revision 1.19
	sys/fs/v7fs/v7fs_vfsops.c: revision 1.11
v7fs_getattr: adjust size of symlinks by -1 to compensate the trailing NUL.
Should fix the v7fs part of PR kern/48864.
Defer deallocating unlinked inodes to v7fs_reclaim().
Remove v7fs_vnode_reload() and always use v7fs_inode_load().  No need
to search for a vnode we already hold a reference on.

Revision 1.20 / (download) - annotate - [select for diffs], Mon Dec 29 15:29:38 2014 UTC (8 years, 1 month ago) by hannken
Branch: MAIN
CVS Tags: nick-nhusb-base-20150406
Changes since 1.19: +6 -5 lines
Diff to previous 1.19 (colored)

Change v7fs to vcache.

Revision 1.19 / (download) - annotate - [select for diffs], Mon Dec 29 15:28:58 2014 UTC (8 years, 1 month ago) by hannken
Branch: MAIN
Changes since 1.18: +30 -20 lines
Diff to previous 1.18 (colored)

Defer deallocating unlinked inodes to v7fs_reclaim().

Remove v7fs_vnode_reload() and always use v7fs_inode_load().  No need
to search for a vnode we already hold a reference on.

Revision 1.18 / (download) - annotate - [select for diffs], Mon Dec 29 15:28:08 2014 UTC (8 years, 1 month ago) by hannken
Branch: MAIN
Changes since 1.17: +7 -2 lines
Diff to previous 1.17 (colored)

v7fs_getattr: adjust size of symlinks by -1 to compensate the trailing NUL.

Should fix the v7fs part of PR kern/48864.

Revision 1.11.2.2 / (download) - annotate - [select for diffs], Wed Aug 20 00:04:28 2014 UTC (8 years, 5 months ago) by tls
Branch: tls-maxphys
Changes since 1.11.2.1: +26 -28 lines
Diff to previous 1.11.2.1 (colored) to branchpoint 1.11 (colored)

Rebase to HEAD as of a few days ago.

Revision 1.16.2.1 / (download) - annotate - [select for diffs], Sun Aug 10 06:55:54 2014 UTC (8 years, 5 months ago) by tls
Branch: tls-earlyentropy
Changes since 1.16: +3 -3 lines
Diff to previous 1.16 (colored) next main 1.17 (colored)

Rebase.

Revision 1.17 / (download) - annotate - [select for diffs], Fri Aug 8 19:15:33 2014 UTC (8 years, 6 months ago) by gson
Branch: MAIN
CVS Tags: tls-maxphys-base, tls-earlyentropy-base, nick-nhusb-base, netbsd-7-base
Branch point for: nick-nhusb, netbsd-7
Changes since 1.16: +3 -3 lines
Diff to previous 1.16 (colored)

Whitespace fix

Revision 1.6.2.3 / (download) - annotate - [select for diffs], Thu May 22 11:41:02 2014 UTC (8 years, 8 months ago) by yamt
Branch: yamt-pagecache
Changes since 1.6.2.2: +28 -30 lines
Diff to previous 1.6.2.2 (colored) to branchpoint 1.6 (colored) next main 1.7 (colored)

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")

Revision 1.12.6.1 / (download) - annotate - [select for diffs], Sun May 18 17:46:07 2014 UTC (8 years, 8 months ago) by rmind
Branch: rmind-smpnet
Changes since 1.12: +27 -29 lines
Diff to previous 1.12 (colored) next main 1.13 (colored)

sync with head

Revision 1.16 / (download) - annotate - [select for diffs], Fri Feb 7 15:29:22 2014 UTC (9 years ago) by hannken
Branch: MAIN
CVS Tags: yamt-pagecache-base9, rmind-smpnet-nbase, rmind-smpnet-base, riastradh-xf86-video-intel-2-7-1-pre-2-21-15, riastradh-drm2-base3
Branch point for: tls-earlyentropy
Changes since 1.15: +5 -3 lines
Diff to previous 1.15 (colored)

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

Revision 1.15 / (download) - annotate - [select for diffs], Thu Jan 23 10:13:56 2014 UTC (9 years ago) by hannken
Branch: MAIN
Changes since 1.14: +18 -6 lines
Diff to previous 1.14 (colored)

Change vnode operations create, mknod, mkdir and symlink to return
the resulting vnode *vpp unlocked.

Discussed on tech-kern@

Welcome to 6.99.30

Revision 1.14 / (download) - annotate - [select for diffs], Fri Jan 17 10:55:02 2014 UTC (9 years ago) by hannken
Branch: MAIN
Changes since 1.13: +12 -25 lines
Diff to previous 1.13 (colored)

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

Revision 1.13 / (download) - annotate - [select for diffs], Wed Nov 20 23:44:23 2013 UTC (9 years, 2 months ago) by rmind
Branch: MAIN
Changes since 1.12: +5 -8 lines
Diff to previous 1.12 (colored)

v7fs: replace malloc(9) with kmem(9), fix a memory leak and few missing
mutex destruction cases in the error path.

Revision 1.11.2.1 / (download) - annotate - [select for diffs], Sun Jun 23 06:18:28 2013 UTC (9 years, 7 months ago) by tls
Branch: tls-maxphys
Changes since 1.11: +3 -3 lines
Diff to previous 1.11 (colored)

resync from head

Revision 1.12 / (download) - annotate - [select for diffs], Mon Mar 18 19:35:42 2013 UTC (9 years, 10 months ago) by plunky
Branch: MAIN
CVS Tags: riastradh-drm2-base2, riastradh-drm2-base1, riastradh-drm2-base, riastradh-drm2, khorben-n900, agc-symver-base, agc-symver
Branch point for: rmind-smpnet
Changes since 1.11: +3 -3 lines
Diff to previous 1.11 (colored)

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@)

Revision 1.6.6.3 / (download) - annotate - [select for diffs], Sat Jun 2 11:09:32 2012 UTC (10 years, 8 months ago) by mrg
Branch: jmcneill-usbmp
Changes since 1.6.6.2: +1 -2 lines
Diff to previous 1.6.6.2 (colored) to branchpoint 1.6 (colored) next main 1.7 (colored)

sync to latest -current.

Revision 1.6.2.2 / (download) - annotate - [select for diffs], Wed May 23 10:08:10 2012 UTC (10 years, 8 months ago) by yamt
Branch: yamt-pagecache
CVS Tags: yamt-pagecache-tag8
Changes since 1.6.2.1: +3 -4 lines
Diff to previous 1.6.2.1 (colored) to branchpoint 1.6 (colored)

sync with head.

Revision 1.7.2.1 / (download) - annotate - [select for diffs], Mon May 7 03:01:12 2012 UTC (10 years, 9 months ago) by riz
Branch: netbsd-6
CVS Tags: netbsd-6-1-RELEASE, netbsd-6-1-RC4, netbsd-6-1-RC3, netbsd-6-1-RC2, netbsd-6-1-RC1, netbsd-6-1-5-RELEASE, netbsd-6-1-4-RELEASE, netbsd-6-1-3-RELEASE, netbsd-6-1-2-RELEASE, netbsd-6-1-1-RELEASE, netbsd-6-1, netbsd-6-0-RELEASE, netbsd-6-0-RC2, netbsd-6-0-RC1, netbsd-6-0-6-RELEASE, netbsd-6-0-5-RELEASE, netbsd-6-0-4-RELEASE, netbsd-6-0-3-RELEASE, netbsd-6-0-2-RELEASE, netbsd-6-0-1-RELEASE, netbsd-6-0, matt-nb6-plus-nbase, matt-nb6-plus-base, matt-nb6-plus
Changes since 1.7: +3 -4 lines
Diff to previous 1.7 (colored) next main 1.8 (colored)

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.

Revision 1.11 / (download) - annotate - [select for diffs], Sun Apr 29 22:54:00 2012 UTC (10 years, 9 months ago) by chs
Branch: MAIN
CVS Tags: yamt-pagecache-base8, yamt-pagecache-base7, yamt-pagecache-base6, yamt-pagecache-base5, jmcneill-usbmp-base10
Branch point for: tls-maxphys
Changes since 1.10: +3 -4 lines
Diff to previous 1.10 (colored)

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.

Revision 1.6.2.1 / (download) - annotate - [select for diffs], Tue Apr 17 00:08:21 2012 UTC (10 years, 9 months ago) by yamt
Branch: yamt-pagecache
Changes since 1.6: +42 -20 lines
Diff to previous 1.6 (colored)

sync with head

Revision 1.6.6.2 / (download) - annotate - [select for diffs], Thu Apr 5 21:33:38 2012 UTC (10 years, 10 months ago) by mrg
Branch: jmcneill-usbmp
Changes since 1.6.6.1: +35 -20 lines
Diff to previous 1.6.6.1 (colored) to branchpoint 1.6 (colored)

sync to latest -current.

Revision 1.10 / (download) - annotate - [select for diffs], Sat Mar 31 21:44:28 2012 UTC (10 years, 10 months ago) by njoly
Branch: MAIN
CVS Tags: yamt-pagecache-base4, jmcneill-usbmp-base9, jmcneill-usbmp-base8
Changes since 1.9: +5 -7 lines
Diff to previous 1.9 (colored)

Make v7fs_getattr() report file flags, and adjust v7fs_setattr() to
allow unsetting SF_APPEND flag.

Revision 1.9 / (download) - annotate - [select for diffs], Thu Mar 22 22:16:21 2012 UTC (10 years, 10 months ago) by njoly
Branch: MAIN
Changes since 1.8: +3 -3 lines
Diff to previous 1.8 (colored)

Pass operations flags to genfs_can_chtimes(), not file ones.

Revision 1.8 / (download) - annotate - [select for diffs], Tue Mar 13 18:40:51 2012 UTC (10 years, 10 months ago) by elad
Branch: MAIN
Changes since 1.7: +33 -16 lines
Diff to previous 1.7 (colored)

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.

Revision 1.6.6.1 / (download) - annotate - [select for diffs], Sat Feb 18 07:35:25 2012 UTC (10 years, 11 months ago) by mrg
Branch: jmcneill-usbmp
Changes since 1.6: +9 -2 lines
Diff to previous 1.6 (colored)

merge to -current.

Revision 1.7 / (download) - annotate - [select for diffs], Fri Jan 27 12:22:02 2012 UTC (11 years ago) by njoly
Branch: MAIN
CVS Tags: netbsd-6-base, jmcneill-usbmp-base7, jmcneill-usbmp-base6, jmcneill-usbmp-base5, jmcneill-usbmp-base4, jmcneill-usbmp-base3, jmcneill-usbmp-base2
Branch point for: netbsd-6
Changes since 1.6: +9 -2 lines
Diff to previous 1.6 (colored)

Check parent directory write permission for DELETE operation.

ok uch@.

Revision 1.6 / (download) - annotate - [select for diffs], Sat Jul 30 03:53:18 2011 UTC (11 years, 6 months ago) by uch
Branch: MAIN
CVS Tags: yamt-pagecache-base3, yamt-pagecache-base2, yamt-pagecache-base, jmcneill-usbmp-pre-base2, jmcneill-usbmp-base, jmcneill-audiomp3-base, jmcneill-audiomp3
Branch point for: yamt-pagecache, jmcneill-usbmp
Changes since 1.5: +47 -12 lines
Diff to previous 1.5 (colored)

v7fs_lookup() fix return value. Pass t_vnops rename_dir(3)
v7fs_setttr() check credential. Pass t_unpriv owner
v7fs_rename() reload inode(v7fs_vnode_reload). Pass t_vnops rename_reg_nodir

Revision 1.5 / (download) - annotate - [select for diffs], Sun Jul 24 12:31:33 2011 UTC (11 years, 6 months ago) by uch
Branch: MAIN
Changes since 1.4: +7 -7 lines
Diff to previous 1.4 (colored)

Existing inode don't recycle. rump works.

Revision 1.4 / (download) - annotate - [select for diffs], Sat Jul 16 12:35:40 2011 UTC (11 years, 6 months ago) by uch
Branch: MAIN
Changes since 1.3: +2 -21 lines
Diff to previous 1.3 (colored)

core symlink operation moved to v7fs_file_util.c and introduce V7FSBSD_MAXSYMLINKLEN for makefs

Revision 1.3 / (download) - annotate - [select for diffs], Wed Jul 13 12:28:57 2011 UTC (11 years, 6 months ago) by uch
Branch: MAIN
Changes since 1.2: +5 -2 lines
Diff to previous 1.2 (colored)

Fix readdir eofflag(bogus eofflags was setted). getcwd works.

Revision 1.2 / (download) - annotate - [select for diffs], Wed Jul 13 12:22:49 2011 UTC (11 years, 6 months ago) by uch
Branch: MAIN
Changes since 1.1: +22 -12 lines
Diff to previous 1.1 (colored)

Fix inode update method. chown and chmod works.

Revision 1.1 / (download) - annotate - [select for diffs], Mon Jun 27 11:52:25 2011 UTC (11 years, 7 months ago) by uch
Branch: MAIN

7th Edition(V7) File System support. and NetBSD symbolic-link, socket, FIFO extension. see newfs_v7fs(8).

This form allows you to request diff's between any two revisions of a file. You may select a symbolic revision name using the selection box or you may type in a numeric name using the type-in text box.




CVSweb <webmaster@jp.NetBSD.org>