The NetBSD Project

CVS log for src/external/cddl/osnet/dist/uts/common/fs/zfs/zfs_ctldir.c

[BACK] Up to [cvs.NetBSD.org] / src / external / cddl / osnet / dist / uts / common / fs / zfs

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.15 / (download) - annotate - [select for diffs], Fri Feb 17 21:50:13 2023 UTC (12 months ago) by kardel
Branch: MAIN
CVS Tags: HEAD
Changes since 1.14: +1 -0 lines
Diff to previous 1.14 (colored)

provide pathconf for .zfs control directory. avoids errors on
ls -l ../.zfs.

Revision 1.14 / (download) - annotate - [select for diffs], Fri Nov 4 11:20:39 2022 UTC (15 months, 2 weeks ago) by hannken
Branch: MAIN
CVS Tags: netbsd-10-base, netbsd-10-0-RC4, netbsd-10-0-RC3, netbsd-10-0-RC2, netbsd-10-0-RC1, netbsd-10
Changes since 1.13: +3 -1 lines
Diff to previous 1.13 (colored)

Add a helper to set or clear lower mount and use it.
Always add a reference to the lower mount.

Ride 9.99.105

Revision 1.13 / (download) - annotate - [select for diffs], Sun Jul 4 11:25:07 2021 UTC (2 years, 7 months ago) by hannken
Branch: MAIN
Changes since 1.12: +1 -0 lines
Diff to previous 1.12 (colored)

Add VOP_PARSEPATH to zfs control dir vnode op table.

Revision 1.12 / (download) - annotate - [select for diffs], Sat May 16 18:31:46 2020 UTC (3 years, 9 months ago) by christos
Branch: MAIN
CVS Tags: cjep_sun2x-base1, cjep_sun2x-base, cjep_sun2x, cjep_staticlib_x-base1, cjep_staticlib_x-base, cjep_staticlib_x
Changes since 1.11: +1 -1 lines
Diff to previous 1.11 (colored)

Add ACL support for FFS. From FreeBSD.

Revision 1.3.2.2 / (download) - annotate - [select for diffs], Wed Apr 8 14:04:20 2020 UTC (3 years, 10 months ago) by martin
Branch: phil-wifi
Changes since 1.3.2.1: +5 -5 lines
Diff to previous 1.3.2.1 (colored) to branchpoint 1.3 (colored) next main 1.4 (colored)

Merge changes from current as of 20200406

Revision 1.11 / (download) - annotate - [select for diffs], Fri Jan 17 20:08:06 2020 UTC (4 years, 1 month ago) by ad
Branch: MAIN
CVS Tags: phil-wifi-20200421, phil-wifi-20200411, phil-wifi-20200406, is-mlppp-base, is-mlppp
Changes since 1.10: +2 -2 lines
Diff to previous 1.10 (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.10 / (download) - annotate - [select for diffs], Sun Dec 22 19:47:34 2019 UTC (4 years, 2 months ago) by ad
Branch: MAIN
Changes since 1.9: +3 -3 lines
Diff to previous 1.9 (colored)

Make mntvnode_lock per-mount, and address false sharing of struct mount.

Revision 1.3.2.1 / (download) - annotate - [select for diffs], Mon Jun 10 21:52:02 2019 UTC (4 years, 8 months ago) by christos
Branch: phil-wifi
Changes since 1.3: +777 -1 lines
Diff to previous 1.3 (colored)

Sync with HEAD

Revision 1.9 / (download) - annotate - [select for diffs], Mon Mar 18 09:22:14 2019 UTC (4 years, 11 months ago) by hannken
Branch: MAIN
CVS Tags: phil-wifi-20191119, phil-wifi-20190609, 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
Changes since 1.8: +27 -0 lines
Diff to previous 1.8 (colored)

Make ZFS exportable by NFS, implement zfsctl_vptofh(),
zfs_netbsd_vptofh() and zfs_netbsd_fhtovp().

Undo changes to now completely unused zfs_fhtovp().

Revision 1.8 / (download) - annotate - [select for diffs], Mon Mar 18 09:21:31 2019 UTC (4 years, 11 months ago) by hannken
Branch: MAIN
Changes since 1.7: +16 -1 lines
Diff to previous 1.7 (colored)

Implement zfsctl_lookup_objset() to look up "zfsvfs" of an mounted snapshot.

Revision 1.7 / (download) - annotate - [select for diffs], Mon Mar 18 09:20:58 2019 UTC (4 years, 11 months ago) by hannken
Branch: MAIN
Changes since 1.6: +4 -2 lines
Diff to previous 1.6 (colored)

Set "mnt_stat.f_fsid" and "mnt_stat.f_fsidx" from the objset guid
like FreeBSD and Illumos do.

Use "f_fsid" for "va_fsid" and cheat NFSD to export snapshots under
".zfs" by setting these snaphots "f_fsidx" to the parents "f_fsidx".

Revision 1.6 / (download) - annotate - [select for diffs], Wed Feb 20 10:08:37 2019 UTC (5 years ago) by hannken
Branch: MAIN
Changes since 1.5: +0 -2 lines
Diff to previous 1.5 (colored)

Move fstrans_unmount() to vfs_rele(), just before it would free the mount.
Don't take a mount reference for fstrans as it gets notified about the release.

Defer the final free of the mount to fstrans_mount_dtor() when fstrans
has released all references to this mount.  Prevents the mount's memory
to be reused as a new mount before fstrans released all references.

Address PR kern/53928 modules/t_builtin:disable test case randomly fails.

Revision 1.5 / (download) - annotate - [select for diffs], Tue Feb 5 09:55:48 2019 UTC (5 years ago) by hannken
Branch: MAIN
Changes since 1.4: +672 -9 lines
Diff to previous 1.4 (colored)

Implement the ZFS control directory ".zfs" and its subdirectory 'snapshot".

Automatically mount snapshots on access of ".zfs/snapshot/<snapname>".

Revision 1.4 / (download) - annotate - [select for diffs], Tue Feb 5 09:54:36 2019 UTC (5 years ago) by hannken
Branch: MAIN
Changes since 1.3: +71 -0 lines
Diff to previous 1.3 (colored)

Prepare the implementation of the ZFS control directory ".zfs".

- Move the stub routines from zfs_stub.c to zfs_ctldir.c and
  remove now empty file zfs_stub.c

- Add stub routines for zfsctl_loadvnode() to initialize control
  nodes and zfsctl_snapshot() to retrieve ".zfs/snapshot".

- Add an initial vnode operations vector for control nodes.

- Implement lookup into ".zfs" and lookup ".." from ".zfs/snapshot/<snap>".

- Change nodeid of mounted snapshots to the snapshot object id.

- Respect "-u" flag to "zfs rename <snapshot> ...".

Revision 1.2.44.1 / (download) - annotate - [select for diffs], Mon Jun 25 07:25:21 2018 UTC (5 years, 7 months ago) by pgoyette
Branch: pgoyette-compat
CVS Tags: pgoyette-compat-merge-20190127
Changes since 1.2: +877 -918 lines
Diff to previous 1.2 (colored) next main 1.3 (colored)

Sync with HEAD

Revision 1.3 / (download) - annotate - [select for diffs], Mon May 28 21:05:07 2018 UTC (5 years, 8 months ago) by chs
Branch: MAIN
CVS Tags: phil-wifi-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
Branch point for: phil-wifi
Changes since 1.2: +877 -918 lines
Diff to previous 1.2 (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.1.1.3 / (download) - annotate - [select for diffs] (vendor branch), Mon May 28 20:52:59 2018 UTC (5 years, 8 months ago) by chs
Branch: sun, FreeBSD
CVS Tags: CDDL-FreeBSD-r315983
Changes since 1.1.1.2: +862 -940 lines
Diff to previous 1.1.1.2 (colored)

import new CDDL dtrace and ZFS code from FreeBSD svn r315983.

Revision 1.2 / (download) - annotate - [select for diffs], Tue Dec 14 01:28:18 2010 UTC (13 years, 2 months ago) by haad
Branch: MAIN
CVS Tags: yamt-pagecache-tag8, yamt-pagecache-base9, yamt-pagecache-base8, yamt-pagecache-base7, yamt-pagecache-base6, yamt-pagecache-base5, yamt-pagecache-base4, yamt-pagecache-base3, yamt-pagecache-base2, yamt-pagecache-base, yamt-pagecache, tls-maxphys-base, tls-maxphys, tls-earlyentropy-base, tls-earlyentropy, riastradh-xf86-video-intel-2-7-1-pre-2-21-15, riastradh-drm2-base3, riastradh-drm2-base2, riastradh-drm2-base1, riastradh-drm2-base, riastradh-drm2, prg-localcount2-base3, prg-localcount2-base2, prg-localcount2-base1, prg-localcount2-base, prg-localcount2, pgoyette-localcount-base, pgoyette-localcount-20170426, pgoyette-localcount-20170320, pgoyette-localcount-20170107, pgoyette-localcount-20161104, pgoyette-localcount-20160806, pgoyette-localcount-20160726, pgoyette-localcount, 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, 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, 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-nb8-mediatek-base, matt-nb8-mediatek, matt-nb6-plus-nbase, matt-nb6-plus-base, matt-nb6-plus, matt-mips64-premerge-20101231, localcount-20160914, cherry-xenmp-base, cherry-xenmp, bouyer-socketcan-base1, bouyer-socketcan-base, bouyer-socketcan, bouyer-quota2-nbase, bouyer-quota2-base, bouyer-quota2, agc-symver-base, agc-symver
Branch point for: pgoyette-compat
Changes since 1.1: +201 -46 lines
Diff to previous 1.1 (colored)

Add NetBSD version of zfs snapshot management code. IT needs testing it
was only compile tested for now, but I would like to have some code in to be
sure that it will not be lost.

Revision 1.1.1.2 / (download) - annotate - [select for diffs] (vendor branch), Sat Feb 27 22:31:19 2010 UTC (13 years, 11 months ago) by haad
Branch: sun, FreeBSD
CVS Tags: osnet-20100224
Changes since 1.1.1.1: +200 -24 lines
Diff to previous 1.1.1.1 (colored)

Import new Opensolaris sources for zfs/dtrace.

Opensolaris mercurial changeset: 11751:58c0c8f4305f

Revision 1.1.1.1 / (download) - annotate - [select for diffs] (vendor branch), Fri Aug 7 18:33:22 2009 UTC (14 years, 6 months ago) by haad
Branch: sun, FreeBSD
CVS Tags: osnet-20081117, matt-premerge-20091211, darran-pre-netbsd, darran-pre-freebsd, darran-pre-dtrace
Changes since 1.1: +0 -0 lines
Diff to previous 1.1 (colored)

Import Opensolaris source code used with zfs port. Zfs code si from date 
200811.

Revision 1.1 / (download) - annotate - [select for diffs], Fri Aug 7 18:33:22 2009 UTC (14 years, 6 months ago) by haad
Branch: MAIN

Initial revision

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>