The NetBSD Project

CVS log for src/external/cddl/osnet/sys/sys/Attic/zfs_context.h

[BACK] Up to [cvs.NetBSD.org] / src / external / cddl / osnet / sys / sys

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.19.2.2, Mon Apr 13 07:56:40 2020 UTC (4 years ago) by martin
Branch: phil-wifi
Changes since 1.19.2.1: +1 -1 lines
FILE REMOVED

Mostly merge changes from HEAD upto 20200411

Revision 1.23, Sat Jun 22 09:48:39 2019 UTC (4 years, 9 months ago) by hannken
Branch: MAIN
CVS Tags: phil-wifi-20200421, phil-wifi-20200411, phil-wifi-20200406, cjep_sun2x-base, cjep_sun2x, cjep_staticlib_x-base1, cjep_staticlib_x-base, cjep_staticlib_x, HEAD
Changes since 1.22: +1 -1 lines
FILE REMOVED

Sync with upstream r315983.

FreeBSD splits "zfs_context.h" into:
  "lib/libzpool/common/sys/zfs_context.h" for user space
  "uts/common/fs/zfs/sys/zfs_context.h" for kernel space

Do the same here, move and sync "sys/sys/zfs_context.h" to
"dist/lib/libzpool/common/sys/zfs_context.h" and
"dist/uts/common/fs/zfs/sys/zfs_context.h".

Change "Makefile.zfs" to search includes from "dist/lib"
before "dist/uts" so we get the right include file.

Adapt "usr.sbin/fstyp/Makefile" to get the right include file.

Revision 1.22 / (download) - annotate - [select for diffs], Mon Jun 17 08:08:51 2019 UTC (4 years, 10 months ago) by hannken
Branch: MAIN
Changes since 1.21: +1 -2 lines
Diff to previous 1.21 (colored)

Unmap pages when zfs_rezget() re-establishes a znode with its dbufs.

Revision 1.19.2.1 / (download) - annotate - [select for diffs], Mon Jun 10 21:52:04 2019 UTC (4 years, 10 months ago) by christos
Branch: phil-wifi
Changes since 1.19: +2 -9 lines
Diff to previous 1.19 (colored)

Sync with HEAD

Revision 1.21 / (download) - annotate - [select for diffs], Tue May 7 08:49:59 2019 UTC (4 years, 11 months ago) by hannken
Branch: MAIN
CVS Tags: phil-wifi-20190609
Changes since 1.20: +1 -8 lines
Diff to previous 1.20 (colored)

This implementation of Solaris taskq API is incomplete and doesn't track
Solaris upstream.  FreeBSD already replaced it with a glue to their
taskqueue API.

Replace it with a glue component that queues Solaris taskq requests to
threadpool jobs.

Revision 1.18.12.2 / (download) - annotate - [select for diffs], Mon Nov 26 01:50:01 2018 UTC (5 years, 4 months ago) by pgoyette
Branch: pgoyette-compat
CVS Tags: pgoyette-compat-merge-20190127
Changes since 1.18.12.1: +2 -2 lines
Diff to previous 1.18.12.1 (colored) to branchpoint 1.18 (colored) next main 1.19 (colored)

Sync with HEAD, resolve a couple of conflicts

Revision 1.20 / (download) - annotate - [select for diffs], Thu Nov 15 05:43:57 2018 UTC (5 years, 5 months ago) by riastradh
Branch: MAIN
CVS Tags: pgoyette-compat-20190127, pgoyette-compat-20190118, pgoyette-compat-1226, pgoyette-compat-1126
Changes since 1.19: +2 -2 lines
Diff to previous 1.19 (colored)

Use callout_halt, not callout_stop, for FreeBSD callout_drain shim.

Callers expect callout_drain will wait for it to complete if it has
fired.

Revision 1.18.12.1 / (download) - annotate - [select for diffs], Mon Jun 25 07:25:26 2018 UTC (5 years, 9 months ago) by pgoyette
Branch: pgoyette-compat
Changes since 1.18: +257 -133 lines
Diff to previous 1.18 (colored)

Sync with HEAD

Revision 1.19 / (download) - annotate - [select for diffs], Mon May 28 21:05:10 2018 UTC (5 years, 10 months ago) by chs
Branch: MAIN
CVS Tags: phil-wifi-base, pgoyette-compat-1020, pgoyette-compat-0930, pgoyette-compat-0906, pgoyette-compat-0728, pgoyette-compat-0625
Branch point for: phil-wifi
Changes since 1.18: +257 -133 lines
Diff to previous 1.18 (colored)

merge a new version of the CDDL dtrace and ZFS code.
this changes the upstream vendor from OpenSolaris to FreeBSD,
and this version is based on FreeBSD svn r315983.

in addition to the 10 years of improvements from upstream,
this version also has these NetBSD-specific enhancements:
 - dtrace FBT probes can now be placed in kernel modules.
 - ZFS now supports mmap().

Revision 1.16.8.1 / (download) - annotate - [select for diffs], Mon Mar 20 06:56:30 2017 UTC (7 years ago) by pgoyette
Branch: pgoyette-localcount
Changes since 1.16: +3 -3 lines
Diff to previous 1.16 (colored) next main 1.17 (colored)

Sync with HEAD

Revision 1.18 / (download) - annotate - [select for diffs], Tue Jan 10 19:20:35 2017 UTC (7 years, 3 months ago) by christos
Branch: MAIN
CVS Tags: prg-localcount2-base3, prg-localcount2-base2, prg-localcount2-base1, prg-localcount2-base, prg-localcount2, pgoyette-localcount-20170426, pgoyette-localcount-20170320, pgoyette-compat-base, pgoyette-compat-0521, pgoyette-compat-0502, pgoyette-compat-0422, pgoyette-compat-0415, pgoyette-compat-0407, pgoyette-compat-0330, pgoyette-compat-0322, pgoyette-compat-0315, perseant-stdc-iso10646-base, perseant-stdc-iso10646, 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, bouyer-socketcan-base1, bouyer-socketcan-base, bouyer-socketcan
Branch point for: pgoyette-compat
Changes since 1.17: +2 -2 lines
Diff to previous 1.17 (colored)

fix a few warnings.

Revision 1.17 / (download) - annotate - [select for diffs], Sat Jan 7 21:39:53 2017 UTC (7 years, 3 months ago) by christos
Branch: MAIN
Changes since 1.16: +2 -2 lines
Diff to previous 1.16 (colored)

PR/51118: Jared McNeill: Fix build on FreeBSD by removing osnet assert.h
and sys/limits.h and use sys/syslimits.h directly.

Revision 1.12.6.3 / (download) - annotate - [select for diffs], Tue Aug 19 23:52:23 2014 UTC (9 years, 8 months ago) by tls
Branch: tls-maxphys
Changes since 1.12.6.2: +1 -1 lines
Diff to previous 1.12.6.2 (colored) to branchpoint 1.12 (colored) next main 1.13 (colored)

Rebase to HEAD as of a few days ago.

Revision 1.10.2.2 / (download) - annotate - [select for diffs], Thu May 22 14:01:24 2014 UTC (9 years, 10 months ago) by yamt
Branch: yamt-pagecache
Changes since 1.10.2.1: +3 -3 lines
Diff to previous 1.10.2.1 (colored) to branchpoint 1.10 (colored) next main 1.11 (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.16 / (download) - annotate - [select for diffs], Fri Mar 28 02:50:18 2014 UTC (10 years ago) by ozaki-r
Branch: MAIN
CVS Tags: yamt-pagecache-base9, tls-maxphys-base, tls-earlyentropy-base, tls-earlyentropy, riastradh-xf86-video-intel-2-7-1-pre-2-21-15, pgoyette-localcount-base, pgoyette-localcount-20170107, pgoyette-localcount-20161104, pgoyette-localcount-20160806, pgoyette-localcount-20160726, netbsd-7-nhusb-base-20170116, netbsd-7-nhusb-base, netbsd-7-nhusb, netbsd-7-base, 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, netbsd-7, localcount-20160914
Branch point for: pgoyette-localcount
Changes since 1.15: +2 -2 lines
Diff to previous 1.15 (colored)

Add missing 3rd argument of nicenum

Revision 1.12.6.2 / (download) - annotate - [select for diffs], Sun Jun 23 06:28:31 2013 UTC (10 years, 9 months ago) by tls
Branch: tls-maxphys
Changes since 1.12.6.1: +2 -2 lines
Diff to previous 1.12.6.1 (colored) to branchpoint 1.12 (colored)

resync from head

Revision 1.15 / (download) - annotate - [select for diffs], Fri Jun 21 16:22:46 2013 UTC (10 years, 9 months ago) by christos
Branch: MAIN
CVS Tags: riastradh-drm2-base3, riastradh-drm2-base2, riastradh-drm2-base1, riastradh-drm2-base, riastradh-drm2
Changes since 1.14: +2 -2 lines
Diff to previous 1.14 (colored)

rename delay to xdelay to avoid conflicts.

Revision 1.12.6.1 / (download) - annotate - [select for diffs], Mon Feb 25 00:26:47 2013 UTC (11 years, 1 month ago) by tls
Branch: tls-maxphys
Changes since 1.12: +7 -5 lines
Diff to previous 1.12 (colored)

resync with head

Revision 1.10.2.1 / (download) - annotate - [select for diffs], Wed Jan 23 00:04:40 2013 UTC (11 years, 2 months ago) by yamt
Branch: yamt-pagecache
CVS Tags: yamt-pagecache-tag8
Changes since 1.10: +7 -5 lines
Diff to previous 1.10 (colored)

sync with head

Revision 1.14 / (download) - annotate - [select for diffs], Wed Jan 2 16:31:24 2013 UTC (11 years, 3 months ago) by dsl
Branch: MAIN
CVS Tags: yamt-pagecache-base8, agc-symver-base, agc-symver
Changes since 1.13: +6 -4 lines
Diff to previous 1.13 (colored)

I've NFI why this code has userspace stuff playing with 'struct proc *'
  nor why it uses &p0 as a magic constant (rather than NULL).
Re-instate the definition of p0, but enable the 'fake' definition
  of 'struct proc' if the relevant part of sys/proc.h seems to have
  been #if'ed away.
Should fix the build.

Revision 1.13 / (download) - annotate - [select for diffs], Wed Jan 2 10:33:19 2013 UTC (11 years, 3 months ago) by dsl
Branch: MAIN
Changes since 1.12: +2 -2 lines
Diff to previous 1.12 (colored)

Replace alloca(256) with an array.
The code ended up using alloca() from libc - which 'just can't work' (tm).
It is also pointless!

Revision 1.12 / (download) - annotate - [select for diffs], Mon Nov 21 17:51:03 2011 UTC (12 years, 4 months ago) by christos
Branch: MAIN
CVS Tags: yamt-pagecache-base7, yamt-pagecache-base6, yamt-pagecache-base5, yamt-pagecache-base4, netbsd-6-base, 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, netbsd-6, matt-nb6-plus-nbase, matt-nb6-plus-base, matt-nb6-plus
Branch point for: tls-maxphys
Changes since 1.11: +2 -2 lines
Diff to previous 1.11 (colored)

make this compile again. VOP_CLOSE is really vn_close() through macros.

Revision 1.11 / (download) - annotate - [select for diffs], Mon Nov 21 05:50:11 2011 UTC (12 years, 4 months ago) by christos
Branch: MAIN
Changes since 1.10: +2 -2 lines
Diff to previous 1.10 (colored)

correct declaration of vn_close()
XXX: Should all those dup declarations be here?

Revision 1.10 / (download) - annotate - [select for diffs], Sun Jul 17 20:54:33 2011 UTC (12 years, 9 months ago) by joerg
Branch: MAIN
CVS Tags: yamt-pagecache-base3, yamt-pagecache-base2, yamt-pagecache-base
Branch point for: yamt-pagecache
Changes since 1.9: +1 -3 lines
Diff to previous 1.9 (colored)

Retire varargs.h support. Move machine/stdarg.h logic into MI
sys/stdarg.h and expect compiler to provide proper builtins, defaulting
to the GCC interface. lint still has a special fallback.
Reduce abuse of _BSD_VA_LIST_ by defining __va_list by default and
derive va_list as required by standards.

Revision 1.9 / (download) - annotate - [select for diffs], Tue Dec 28 16:44:45 2010 UTC (13 years, 3 months ago) by haad
Branch: MAIN
CVS Tags: matt-mips64-premerge-20101231, cherry-xenmp-base, cherry-xenmp, bouyer-quota2-nbase, bouyer-quota2-base, bouyer-quota2
Changes since 1.8: +2 -1 lines
Diff to previous 1.8 (colored)

Define vn_getattr in zfs_context.h.

Revision 1.8 / (download) - annotate - [select for diffs], Tue Dec 28 13:36:09 2010 UTC (13 years, 3 months ago) by haad
Branch: MAIN
Changes since 1.7: +2 -2 lines
Diff to previous 1.7 (colored)

Fix problem where vnode vp_size was not updated when vndoe was already allocated,
for vdev. This makes ztest survive ztest_vdev_LUN_growth test. Replace dummy
VOP_GETATTR with vn_getattr routine which reset vp_size and vattr_size accordingly
to reality.

Revision 1.7 / (download) - annotate - [select for diffs], Tue Dec 14 01:23:43 2010 UTC (13 years, 4 months ago) by haad
Branch: MAIN
Changes since 1.6: +1 -5 lines
Diff to previous 1.6 (colored)

Remove now unneeded print_timestamp.

Revision 1.6 / (download) - annotate - [select for diffs], Sun Feb 28 14:45:47 2010 UTC (14 years, 1 month ago) by haad
Branch: MAIN
Changes since 1.5: +81 -18 lines
Diff to previous 1.5 (colored)

Add NetBSD build glue to build new zfs version 22 sources.

Revision 1.5 / (download) - annotate - [select for diffs], Mon Oct 12 10:05:29 2009 UTC (14 years, 6 months ago) by haad
Branch: MAIN
CVS Tags: matt-premerge-20091211, darran-pre-netbsd, darran-pre-freebsd, darran-pre-dtrace
Changes since 1.4: +11 -5 lines
Diff to previous 1.4 (colored)

Finaly fix ptob problem. ptob was defined for amd64 and not for i386, and
NetBSD version of ptob is not compatible with Solaris one.

Revision 1.4 / (download) - annotate - [select for diffs], Sun Oct 11 22:17:57 2009 UTC (14 years, 6 months ago) by haad
Branch: MAIN
Changes since 1.3: +3 -5 lines
Diff to previous 1.3 (colored)

Define ptob only if it wasn't defined already in NetBSD headers.

Revision 1.3 / (download) - annotate - [select for diffs], Sun Oct 11 10:56:13 2009 UTC (14 years, 6 months ago) by haad
Branch: MAIN
Changes since 1.2: +4 -1 lines
Diff to previous 1.2 (colored)

undef ptob if it was already defined/included in some NetBSD header file.

Revision 1.2 / (download) - annotate - [select for diffs], Wed Oct 7 08:47:12 2009 UTC (14 years, 6 months ago) by haad
Branch: MAIN
Changes since 1.1: +4 -1 lines
Diff to previous 1.1 (colored)

Use ptob function from zfs and not NetBSD one.

Revision 1.1 / (download) - annotate - [select for diffs], Fri Aug 7 20:57:58 2009 UTC (14 years, 8 months ago) by haad
Branch: MAIN

Add NetBSD Solaris compat code and reachover Makefiles. Most of code written
by Andrew Doran some of it by me.

This is still work in progress code. There are known issues. Zfs can panic
your system still. I will commit integration bits and needed kernel bits
later when we fix most obvious bugs. This code need some support from our
kernel which I will commit in a separate patch and therefore itnot work yet.

Issues:

1) Support for openat/fstatat syscalls.
2) getnewvnode locking against myself panic when reclaiming vnodes
3) Replace solaris taskq with our workqueue which doesn't need to alloc
   anything during work.
4) Investigate problems with NO_WAIT allocations.

Oked by core@ and ad@.

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>