The NetBSD Project

CVS log for src/sys/kern/vfs_mount.c

[BACK] Up to [cvs.netbsd.org] / src / sys / kern

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.11.2.2 / (download) - annotate - [select for diffs], Wed May 23 10:08:12 2012 UTC (2 days, 21 hours ago) by yamt
Branch: yamt-pagecache
Changes since 1.11.2.1: +11 -3 lines
Diff to previous 1.11.2.1 (colored) to branchpoint 1.11 (colored) next main 1.12 (colored)

sync with head.

Revision 1.12.6.1 / (download) - annotate - [select for diffs], Sat May 19 15:01:35 2012 UTC (6 days, 17 hours ago) by riz
Branch: netbsd-6
Changes since 1.12: +11 -3 lines
Diff to previous 1.12 (colored) next main 1.13 (colored)

Pull up following revision(s) (requested by manu in ticket #259):
	sys/kern/vfs_syscalls.c: revision 1.456
	sys/kern/vfs_mount.c: revision 1.14
	sys/kern/vfs_syscalls.c: revision 1.452
	sys/kern/vfs_syscalls.c: revision 1.453
	sys/kern/vfs_syscalls.c: revision 1.454
Do not use vp after mount_domount() call as it sets it to NULL on success.
This fixes a panic when starting extended attributes.
Fix mount -o extattr : previous patch fixed a panic but caused operation
to happen on the mount point instead of the mounted filesystem.
Fix the extattr start fix. Looking up the filesystemroot vnode again
does not seems to be reliable. Instead save it before mount_domount()
sets it to NULL.
Move VFS_EXTATTRCTL to mount_domount().  This makes the
fs/puffs/t_fuzz:mountfuzz7, fs/puffs/t_fuzz:mountfuzz8,
and fs/zfs/t_zpool:create tests pass again.  Patch from
manu, discussed on tech-kern and committed at his request.

Revision 1.14 / (download) - annotate - [select for diffs], Tue May 8 08:44:49 2012 UTC (2 weeks, 3 days ago) by gson
Branch: MAIN
CVS Tags: yamt-pagecache-base5, HEAD
Changes since 1.13: +11 -3 lines
Diff to previous 1.13 (colored)

Move VFS_EXTATTRCTL to mount_domount().  This makes the
fs/puffs/t_fuzz:mountfuzz7, fs/puffs/t_fuzz:mountfuzz8,
and fs/zfs/t_zpool:create tests pass again.  Patch from
manu, discussed on tech-kern and committed at his request.

Revision 1.11.2.1 / (download) - annotate - [select for diffs], Tue Apr 17 00:08:31 2012 UTC (5 weeks, 4 days ago) by yamt
Branch: yamt-pagecache
Changes since 1.11: +3 -26 lines
Diff to previous 1.11 (colored)

sync with head

Revision 1.12.4.1 / (download) - annotate - [select for diffs], Thu Apr 5 21:33:41 2012 UTC (7 weeks, 1 day ago) by mrg
Branch: jmcneill-usbmp
Changes since 1.12: +2 -21 lines
Diff to previous 1.12 (colored) next main 1.13 (colored)

sync to latest -current.

Revision 1.13 / (download) - annotate - [select for diffs], Tue Mar 13 18:40:55 2012 UTC (2 months, 1 week ago) by elad
Branch: MAIN
CVS Tags: yamt-pagecache-base4, jmcneill-usbmp-base9, jmcneill-usbmp-base8
Changes since 1.12: +2 -21 lines
Diff to previous 1.12 (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.12 / (download) - annotate - [select for diffs], Fri Nov 18 21:17:45 2011 UTC (6 months ago) by christos
Branch: MAIN
CVS Tags: netbsd-6-base, jmcneill-usbmp-pre-base2, jmcneill-usbmp-base7, jmcneill-usbmp-base6, jmcneill-usbmp-base5, jmcneill-usbmp-base4, jmcneill-usbmp-base3, jmcneill-usbmp-base2, jmcneill-usbmp-base, jmcneill-audiomp3-base, jmcneill-audiomp3
Branch point for: netbsd-6, jmcneill-usbmp
Changes since 1.11: +3 -7 lines
Diff to previous 1.11 (colored)

- collect the long (and sometimes incomplete) lists of basic flags into
  the header file and use that.
- sort the list of basic flags
- add MNT_RELATIME, ST_RELATIME
- mask all the op flags, for symmetry.

The real bit difference is (which is harmless):
    - mount was missing MNT_EXTATTR
    - update sets MNT_RDONLY twice
    - ops also could or in MNT_GETARGS, but this is impossible because the
      code would have chosen to do getargs then.

Revision 1.11 / (download) - annotate - [select for diffs], Fri Oct 14 09:23:31 2011 UTC (7 months, 1 week ago) by hannken
Branch: MAIN
CVS Tags: yamt-pagecache-base3, yamt-pagecache-base2, yamt-pagecache-base
Branch point for: yamt-pagecache
Changes since 1.10: +10 -4 lines
Diff to previous 1.10 (colored)

Change the vnode locking protocol of VOP_GETATTR() to request at least
a shared lock.  Make all calls outside of file systems respect it.

The calls from file systems need review.

No objections from tech-kern.

Revision 1.10 / (download) - annotate - [select for diffs], Fri Oct 7 09:35:05 2011 UTC (7 months, 2 weeks ago) by hannken
Branch: MAIN
Changes since 1.9: +2 -5 lines
Diff to previous 1.9 (colored)

As vnalloc() always allocates with PR_WAITOK there is no longer the need
to test its result for NULL.

Revision 1.9 / (download) - annotate - [select for diffs], Thu Sep 1 12:29:41 2011 UTC (8 months, 3 weeks ago) by christos
Branch: MAIN
Changes since 1.8: +1 -11 lines
Diff to previous 1.8 (colored)

undo previous

Revision 1.8 / (download) - annotate - [select for diffs], Thu Sep 1 12:15:07 2011 UTC (8 months, 3 weeks ago) by christos
Branch: MAIN
Changes since 1.7: +13 -3 lines
Diff to previous 1.7 (colored)

fix typo.

Revision 1.7 / (download) - annotate - [select for diffs], Thu Sep 1 09:04:08 2011 UTC (8 months, 3 weeks ago) by christos
Branch: MAIN
Changes since 1.6: +5 -4 lines
Diff to previous 1.6 (colored)

Check for v_type before v_rdev because it is cheaper and safer.

Revision 1.4.4.1 / (download) - annotate - [select for diffs], Thu Jun 23 14:20:21 2011 UTC (11 months ago) by cherry
Branch: cherry-xenmp
Changes since 1.4: +13 -12 lines
Diff to previous 1.4 (colored) next main 1.5 (colored)

Catchup with rmind-uvmplock merge.

Revision 1.6 / (download) - annotate - [select for diffs], Sun Jun 12 03:35:56 2011 UTC (11 months, 2 weeks ago) by rmind
Branch: MAIN
Changes since 1.5: +11 -11 lines
Diff to previous 1.5 (colored)

Welcome to 5.99.53!  Merge rmind-uvmplock branch:

- Reorganize locking in UVM and provide extra serialisation for pmap(9).
  New lock order: [vmpage-owner-lock] -> pmap-lock.

- Simplify locking in some pmap(9) modules by removing P->V locking.

- Use lock object on vmobjlock (and thus vnode_t::v_interlock) to share
  the locks amongst UVM objects where necessary (tmpfs, layerfs, unionfs).

- Rewrite and optimise x86 TLB shootdown code, make it simpler and cleaner.
  Add TLBSTATS option for x86 to collect statistics about TLB shootdowns.

- Unify /dev/mem et al in MI code and provide required locking (removes
  kernel-lock on some ports).  Also, avoid cache-aliasing issues.

Thanks to Andrew Doran and Joerg Sonnenberger, as their initial patches
formed the core changes of this branch.

Revision 1.4.2.3 / (download) - annotate - [select for diffs], Sun Jun 12 00:24:30 2011 UTC (11 months, 2 weeks ago) by rmind
Branch: rmind-uvmplock
Changes since 1.4.2.2: +2 -1 lines
Diff to previous 1.4.2.2 (colored) to branchpoint 1.4 (colored) next main 1.5 (colored)

sync with head

Revision 1.5.2.2 / (download) - annotate - [select for diffs], Mon Jun 6 09:09:41 2011 UTC (11 months, 2 weeks ago) by jruoho
Branch: jruoho-x86intr
Changes since 1.5.2.1: +1371 -0 lines
Diff to previous 1.5.2.1 (colored) to branchpoint 1.5 (colored) next main 1.6 (colored)

Sync with HEAD.

Revision 1.5.2.1, Sun Jun 5 09:04:22 2011 UTC (11 months, 3 weeks ago) by jruoho
Branch: jruoho-x86intr
Changes since 1.5: +0 -1371 lines
FILE REMOVED

file vfs_mount.c was added on branch jruoho-x86intr on 2011-06-06 09:09:41 +0000

Revision 1.5 / (download) - annotate - [select for diffs], Sun Jun 5 09:04:22 2011 UTC (11 months, 3 weeks ago) by dsl
Branch: MAIN
CVS Tags: rmind-uvmplock-nbase, rmind-uvmplock-base
Branch point for: jruoho-x86intr
Changes since 1.4: +4 -3 lines
Diff to previous 1.4 (colored)

Don't directly call sys_sync() from random bits of code, instead
  add do_sys_sync() that takes an 'lwp' (for l_cred) as an argument.
Explicitly pass &lwp0 rather than NULL and expecting sys_sync to
  substitute some random lwp.

Revision 1.4.2.2 / (download) - annotate - [select for diffs], Thu Apr 21 01:42:11 2011 UTC (13 months ago) by rmind
Branch: rmind-uvmplock
Changes since 1.4.2.1: +1370 -0 lines
Diff to previous 1.4.2.1 (colored) to branchpoint 1.4 (colored)

sync with head

Revision 1.4.2.1, Sun Apr 3 01:20:23 2011 UTC (13 months, 3 weeks ago) by rmind
Branch: rmind-uvmplock
Changes since 1.4: +0 -1370 lines
FILE REMOVED

file vfs_mount.c was added on branch rmind-uvmplock on 2011-04-21 01:42:11 +0000

Revision 1.4 / (download) - annotate - [select for diffs], Sun Apr 3 01:20:23 2011 UTC (13 months, 3 weeks ago) by rmind
Branch: MAIN
CVS Tags: cherry-xenmp-base
Branch point for: rmind-uvmplock, cherry-xenmp
Changes since 1.3: +4 -9 lines
Diff to previous 1.3 (colored)

vfs_insmntque: convert check to assert.

Revision 1.3 / (download) - annotate - [select for diffs], Sat Apr 2 06:48:20 2011 UTC (13 months, 3 weeks ago) by rmind
Branch: MAIN
Changes since 1.2: +11 -21 lines
Diff to previous 1.2 (colored)

Merge vfs_shutdown1() and vfs_shutdown().

Revision 1.2 / (download) - annotate - [select for diffs], Sat Apr 2 04:45:24 2011 UTC (13 months, 3 weeks ago) by rmind
Branch: MAIN
Changes since 1.1: +10 -21 lines
Diff to previous 1.1 (colored)

- Move vrele_list flush notify code into vrele_flush() routine.
- Make some structures static.

Revision 1.1 / (download) - annotate - [select for diffs], Sat Apr 2 04:28:56 2011 UTC (13 months, 3 weeks ago) by rmind
Branch: MAIN

Split off parts of vfs_subr.c into vfs_vnode.c and vfs_mount.c modules.

No functional change.  Discussed on tech-kern@.

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>