The NetBSD Project

CVS log for src/sys/ufs/chfs/chfs_vnops.c

[BACK] Up to [cvs.NetBSD.org] / src / sys / ufs / chfs

Request diff between arbitrary revisions


Default branch: MAIN
Current tag: MAIN


Revision 1.15 / (download) - annotate - [select for diffs], Mon Mar 18 19:35:47 2013 UTC (2 months ago) by plunky
Branch: MAIN
CVS Tags: khorben-n900, agc-symver-base, agc-symver, HEAD
Changes since 1.14: +2 -2 lines
Diff to previous 1.14 (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.14 / (download) - annotate - [select for diffs], Tue Jan 22 09:39:15 2013 UTC (3 months, 3 weeks ago) by dholland
Branch: MAIN
CVS Tags: yamt-pagecache-base8, tls-maxphys-nbase, tls-maxphys-base
Changes since 1.13: +3 -3 lines
Diff to previous 1.13 (colored)

Stuff UFS_ in front of a few of ufs's symbols to reduce namespace
pollution. Specifically:
   ROOTINO -> UFS_ROOTINO
   WINO -> UFS_WINO
   NXADDR -> UFS_NXADDR
   NDADDR -> UFS_NDADDR
   NIADDR -> UFS_NIADDR
   MAXSYMLINKLEN -> UFS_MAXSYMLINKLEN
   MAXSYMLINKLEN_UFS[12] -> UFS[12]_MAXSYMLINKLEN (for consistency)

Sort out ext2fs's misuse of NDADDR and NIADDR; fortunately, these have
the same values in ext2fs and ffs.

No functional change intended.

Revision 1.13 / (download) - annotate - [select for diffs], Mon Nov 5 17:27:40 2012 UTC (6 months, 2 weeks ago) by dholland
Branch: MAIN
CVS Tags: yamt-pagecache-base7
Changes since 1.12: +5 -3 lines
Diff to previous 1.12 (colored)

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.

Revision 1.12 / (download) - annotate - [select for diffs], Mon Nov 5 17:24:12 2012 UTC (6 months, 2 weeks ago) by dholland
Branch: MAIN
Changes since 1.11: +3 -3 lines
Diff to previous 1.11 (colored)

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.

Revision 1.11 / (download) - annotate - [select for diffs], Fri Oct 19 12:44:39 2012 UTC (7 months ago) by ttoth
Branch: MAIN
CVS Tags: yamt-pagecache-base6
Changes since 1.10: +48 -94 lines
Diff to previous 1.10 (colored)

CHFS comments

Revision 1.10 / (download) - annotate - [select for diffs], Thu Aug 23 11:29:51 2012 UTC (8 months, 3 weeks ago) by ttoth
Branch: MAIN
Branch point for: tls-maxphys
Changes since 1.9: +28 -5 lines
Diff to previous 1.9 (colored)

chfs: uappnd flag patch

Revision 1.9 / (download) - annotate - [select for diffs], Fri Aug 10 09:26:58 2012 UTC (9 months, 1 week ago) by ttoth
Branch: MAIN
Changes since 1.8: +17 -13 lines
Diff to previous 1.8 (colored)

chfs bugfix [node was obsoleted twice]

Revision 1.8 / (download) - annotate - [select for diffs], Sun Jul 22 00:53:22 2012 UTC (9 months, 4 weeks ago) by rmind
Branch: MAIN
Changes since 1.7: +3 -3 lines
Diff to previous 1.7 (colored)

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

Revision 1.7 / (download) - annotate - [select for diffs], Sun Apr 29 22:54:00 2012 UTC (12 months, 3 weeks ago) by chs
Branch: MAIN
CVS Tags: yamt-pagecache-base5, jmcneill-usbmp-base10
Changes since 1.6: +2 -4 lines
Diff to previous 1.6 (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 / (download) - annotate - [select for diffs], Wed Apr 18 13:31:10 2012 UTC (13 months ago) by joerg
Branch: MAIN
CVS Tags: jmcneill-usbmp-base9
Changes since 1.5: +3 -3 lines
Diff to previous 1.5 (colored)

Don't depend on implicit enum casts, be explicit.

Revision 1.5 / (download) - annotate - [select for diffs], Tue Apr 17 19:15:16 2012 UTC (13 months ago) by christos
Branch: MAIN
Changes since 1.4: +5 -7 lines
Diff to previous 1.4 (colored)

it is not an error if the kernel needs to clear the setuid/
setgid bit on write/chown/chgrp

Revision 1.4 / (download) - annotate - [select for diffs], Thu Apr 12 15:31:01 2012 UTC (13 months, 1 week ago) by ttoth
Branch: MAIN
CVS Tags: yamt-pagecache-base4
Branch point for: yamt-pagecache
Changes since 1.3: +10 -8 lines
Diff to previous 1.3 (colored)

using chtype on media instead of vtype
debug.c deleted

Revision 1.3 / (download) - annotate - [select for diffs], Tue Mar 13 18:41:03 2012 UTC (14 months, 1 week ago) by elad
Branch: MAIN
CVS Tags: jmcneill-usbmp-base8
Changes since 1.2: +24 -9 lines
Diff to previous 1.2 (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.2 / (download) - annotate - [select for diffs], Thu Nov 24 21:09:37 2011 UTC (17 months, 3 weeks ago) by agc
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
Branch point for: netbsd-6, jmcneill-usbmp
Changes since 1.1: +14 -13 lines
Diff to previous 1.1 (colored)

quick workaround to make this compile, with thanks to Hisashi Fujinaka for the
nudge.

Revision 1.1 / (download) - annotate - [select for diffs], Thu Nov 24 15:51:32 2011 UTC (17 months, 3 weeks ago) by ahoka
Branch: MAIN

Import CHFS, which was formerly known as ChewieFS.

CHFS is a file system for flash devices developed by the
Software Engineering Department at University of Szeged, Hungary.

http://chewiefs.sed.hu/

Thanks for all who made it possible.

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>