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


Keyword substitution: kv
Default branch: MAIN


Revision 1.19.2.2
Mon Apr 13 07:56:40 2020 UTC (4 years, 7 months ago) by martin
Branches: phil-wifi
FILE REMOVED
Changes since revision 1.19.2.1: +1 -1 lines
Mostly merge changes from HEAD upto 20200411

Revision 1.23
Sat Jun 22 09:48:39 2019 UTC (5 years, 5 months ago) by hannken
Branches: MAIN
CVS tags: phil-wifi-20200421, phil-wifi-20200411, phil-wifi-20200406, perseant-exfatfs-base-20240630, perseant-exfatfs-base, perseant-exfatfs, cjep_sun2x-base, cjep_sun2x, cjep_staticlib_x-base1, cjep_staticlib_x-base, cjep_staticlib_x, HEAD
FILE REMOVED
Changes since revision 1.22: +1 -1 lines
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 - view: text, markup, annotated - select for diffs
Mon Jun 17 08:08:51 2019 UTC (5 years, 5 months ago) by hannken
Branches: MAIN
Diff to: previous 1.21: preferred, colored
Changes since revision 1.21: +1 -2 lines
Unmap pages when zfs_rezget() re-establishes a znode with its dbufs.

Revision 1.19.2.1: download - view: text, markup, annotated - select for diffs
Mon Jun 10 21:52:04 2019 UTC (5 years, 6 months ago) by christos
Branches: phil-wifi
Diff to: previous 1.19: preferred, colored
Changes since revision 1.19: +2 -9 lines
Sync with HEAD

Revision 1.21: download - view: text, markup, annotated - select for diffs
Tue May 7 08:49:59 2019 UTC (5 years, 7 months ago) by hannken
Branches: MAIN
CVS tags: phil-wifi-20190609
Diff to: previous 1.20: preferred, colored
Changes since revision 1.20: +1 -8 lines
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 - view: text, markup, annotated - select for diffs
Mon Nov 26 01:50:01 2018 UTC (6 years ago) by pgoyette
Branches: pgoyette-compat
CVS tags: pgoyette-compat-merge-20190127
Diff to: previous 1.18.12.1: preferred, colored; branchpoint 1.18: preferred, colored; next MAIN 1.19: preferred, colored
Changes since revision 1.18.12.1: +2 -2 lines
Sync with HEAD, resolve a couple of conflicts

Revision 1.20: download - view: text, markup, annotated - select for diffs
Thu Nov 15 05:43:57 2018 UTC (6 years ago) by riastradh
Branches: MAIN
CVS tags: pgoyette-compat-20190127, pgoyette-compat-20190118, pgoyette-compat-1226, pgoyette-compat-1126
Diff to: previous 1.19: preferred, colored
Changes since revision 1.19: +2 -2 lines
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 - view: text, markup, annotated - select for diffs
Mon Jun 25 07:25:26 2018 UTC (6 years, 5 months ago) by pgoyette
Branches: pgoyette-compat
Diff to: previous 1.18: preferred, colored
Changes since revision 1.18: +257 -133 lines
Sync with HEAD

Revision 1.19: download - view: text, markup, annotated - select for diffs
Mon May 28 21:05:10 2018 UTC (6 years, 6 months ago) by chs
Branches: 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
Diff to: previous 1.18: preferred, colored
Changes since revision 1.18: +257 -133 lines
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 - view: text, markup, annotated - select for diffs
Mon Mar 20 06:56:30 2017 UTC (7 years, 8 months ago) by pgoyette
Branches: pgoyette-localcount
Diff to: previous 1.16: preferred, colored; next MAIN 1.17: preferred, colored
Changes since revision 1.16: +3 -3 lines
Sync with HEAD

Revision 1.18: download - view: text, markup, annotated - select for diffs
Tue Jan 10 19:20:35 2017 UTC (7 years, 11 months ago) by christos
Branches: 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-3-RELEASE, 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
Diff to: previous 1.17: preferred, colored
Changes since revision 1.17: +2 -2 lines
fix a few warnings.

Revision 1.17: download - view: text, markup, annotated - select for diffs
Sat Jan 7 21:39:53 2017 UTC (7 years, 11 months ago) by christos
Branches: MAIN
Diff to: previous 1.16: preferred, colored
Changes since revision 1.16: +2 -2 lines
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 - view: text, markup, annotated - select for diffs
Tue Aug 19 23:52:23 2014 UTC (10 years, 3 months ago) by tls
Branches: tls-maxphys
Diff to: previous 1.12.6.2: preferred, colored; branchpoint 1.12: preferred, colored; next MAIN 1.13: preferred, colored
Changes since revision 1.12.6.2: +1 -1 lines
Rebase to HEAD as of a few days ago.

Revision 1.10.2.2: download - view: text, markup, annotated - select for diffs
Thu May 22 14:01:24 2014 UTC (10 years, 6 months ago) by yamt
Branches: yamt-pagecache
Diff to: previous 1.10.2.1: preferred, colored; branchpoint 1.10: preferred, colored; next MAIN 1.11: preferred, colored
Changes since revision 1.10.2.1: +3 -3 lines
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 - view: text, markup, annotated - select for diffs
Fri Mar 28 02:50:18 2014 UTC (10 years, 8 months ago) by ozaki-r
Branches: 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
Diff to: previous 1.15: preferred, colored
Changes since revision 1.15: +2 -2 lines
Add missing 3rd argument of nicenum

Revision 1.12.6.2: download - view: text, markup, annotated - select for diffs
Sun Jun 23 06:28:31 2013 UTC (11 years, 5 months ago) by tls
Branches: tls-maxphys
Diff to: previous 1.12.6.1: preferred, colored; branchpoint 1.12: preferred, colored
Changes since revision 1.12.6.1: +2 -2 lines
resync from head

Revision 1.15: download - view: text, markup, annotated - select for diffs
Fri Jun 21 16:22:46 2013 UTC (11 years, 5 months ago) by christos
Branches: MAIN
CVS tags: riastradh-drm2-base3, riastradh-drm2-base2, riastradh-drm2-base1, riastradh-drm2-base, riastradh-drm2
Diff to: previous 1.14: preferred, colored
Changes since revision 1.14: +2 -2 lines
rename delay to xdelay to avoid conflicts.

Revision 1.12.6.1: download - view: text, markup, annotated - select for diffs
Mon Feb 25 00:26:47 2013 UTC (11 years, 9 months ago) by tls
Branches: tls-maxphys
Diff to: previous 1.12: preferred, colored
Changes since revision 1.12: +7 -5 lines
resync with head

Revision 1.10.2.1: download - view: text, markup, annotated - select for diffs
Wed Jan 23 00:04:40 2013 UTC (11 years, 10 months ago) by yamt
Branches: yamt-pagecache
CVS tags: yamt-pagecache-tag8
Diff to: previous 1.10: preferred, colored
Changes since revision 1.10: +7 -5 lines
sync with head

Revision 1.14: download - view: text, markup, annotated - select for diffs
Wed Jan 2 16:31:24 2013 UTC (11 years, 11 months ago) by dsl
Branches: MAIN
CVS tags: yamt-pagecache-base8, agc-symver-base, agc-symver
Diff to: previous 1.13: preferred, colored
Changes since revision 1.13: +6 -4 lines
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 - view: text, markup, annotated - select for diffs
Wed Jan 2 10:33:19 2013 UTC (11 years, 11 months ago) by dsl
Branches: MAIN
Diff to: previous 1.12: preferred, colored
Changes since revision 1.12: +2 -2 lines
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 - view: text, markup, annotated - select for diffs
Mon Nov 21 17:51:03 2011 UTC (13 years ago) by christos
Branches: 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
Diff to: previous 1.11: preferred, colored
Changes since revision 1.11: +2 -2 lines
make this compile again. VOP_CLOSE is really vn_close() through macros.

Revision 1.11: download - view: text, markup, annotated - select for diffs
Mon Nov 21 05:50:11 2011 UTC (13 years ago) by christos
Branches: MAIN
Diff to: previous 1.10: preferred, colored
Changes since revision 1.10: +2 -2 lines
correct declaration of vn_close()
XXX: Should all those dup declarations be here?

Revision 1.10: download - view: text, markup, annotated - select for diffs
Sun Jul 17 20:54:33 2011 UTC (13 years, 4 months ago) by joerg
Branches: MAIN
CVS tags: yamt-pagecache-base3, yamt-pagecache-base2, yamt-pagecache-base
Branch point for: yamt-pagecache
Diff to: previous 1.9: preferred, colored
Changes since revision 1.9: +1 -3 lines
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 - view: text, markup, annotated - select for diffs
Tue Dec 28 16:44:45 2010 UTC (13 years, 11 months ago) by haad
Branches: MAIN
CVS tags: matt-mips64-premerge-20101231, cherry-xenmp-base, cherry-xenmp, bouyer-quota2-nbase, bouyer-quota2-base, bouyer-quota2
Diff to: previous 1.8: preferred, colored
Changes since revision 1.8: +2 -1 lines
Define vn_getattr in zfs_context.h.

Revision 1.8: download - view: text, markup, annotated - select for diffs
Tue Dec 28 13:36:09 2010 UTC (13 years, 11 months ago) by haad
Branches: MAIN
Diff to: previous 1.7: preferred, colored
Changes since revision 1.7: +2 -2 lines
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 - view: text, markup, annotated - select for diffs
Tue Dec 14 01:23:43 2010 UTC (14 years ago) by haad
Branches: MAIN
Diff to: previous 1.6: preferred, colored
Changes since revision 1.6: +1 -5 lines
Remove now unneeded print_timestamp.

Revision 1.6: download - view: text, markup, annotated - select for diffs
Sun Feb 28 14:45:47 2010 UTC (14 years, 9 months ago) by haad
Branches: MAIN
Diff to: previous 1.5: preferred, colored
Changes since revision 1.5: +81 -18 lines
Add NetBSD build glue to build new zfs version 22 sources.

Revision 1.5: download - view: text, markup, annotated - select for diffs
Mon Oct 12 10:05:29 2009 UTC (15 years, 2 months ago) by haad
Branches: MAIN
CVS tags: matt-premerge-20091211, darran-pre-netbsd, darran-pre-freebsd, darran-pre-dtrace
Diff to: previous 1.4: preferred, colored
Changes since revision 1.4: +11 -5 lines
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 - view: text, markup, annotated - select for diffs
Sun Oct 11 22:17:57 2009 UTC (15 years, 2 months ago) by haad
Branches: MAIN
Diff to: previous 1.3: preferred, colored
Changes since revision 1.3: +3 -5 lines
Define ptob only if it wasn't defined already in NetBSD headers.

Revision 1.3: download - view: text, markup, annotated - select for diffs
Sun Oct 11 10:56:13 2009 UTC (15 years, 2 months ago) by haad
Branches: MAIN
Diff to: previous 1.2: preferred, colored
Changes since revision 1.2: +4 -1 lines
undef ptob if it was already defined/included in some NetBSD header file.

Revision 1.2: download - view: text, markup, annotated - select for diffs
Wed Oct 7 08:47:12 2009 UTC (15 years, 2 months ago) by haad
Branches: MAIN
Diff to: previous 1.1: preferred, colored
Changes since revision 1.1: +4 -1 lines
Use ptob function from zfs and not NetBSD one.

Revision 1.1: download - view: text, markup, annotated - select for diffs
Fri Aug 7 20:57:58 2009 UTC (15 years, 4 months ago) by haad
Branches: 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@.

Diff request

This form allows you to request diffs 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.

Log view options

CVSweb <webmaster@jp.NetBSD.org>