CVS log for src/external/cddl/osnet/dist/uts/common/fs/zfs/zvol.c
Up to [cvs.NetBSD.org] / src / external / cddl / osnet / dist / uts / common / fs / zfs
Request diff between arbitrary revisions
Keyword substitution: kv
Default branch: MAIN
Revision 1.13.8.1: download - view: text, markup, annotated - select for diffs
Sun Nov 17 13:04:42 2024 UTC (2 months, 1 week ago) by martin
Branches: netbsd-10
CVS tags: netbsd-10-1-RELEASE
Diff to: previous 1.13: preferred, colored; next MAIN 1.14: preferred, colored
Changes since revision 1.13: +4 -0
lines
Pull up following revision(s) (requested by gdt in ticket #1001):
external/cddl/osnet/dist/uts/common/fs/zfs/zvol.c: revision 1.14
zvol: Implement DIOCCACHESYNC
Similarly to FreeBSD, simply call zil_commit when the DIOCCACHESYNC
ioctl is invoked on a zvol.
Tested in a xen dom0 with a domU's xbds provided by zvol on dom0. The
error message about DIOCCACHESYNC is gone, and (mysteriously)
operations in the domU seem faster.
Thanks to Michael van Elst via port-xen@ for pointing out where/how to
do this.
Revision 1.14: download - view: text, markup, annotated - select for diffs
Sun Nov 3 14:00:52 2024 UTC (2 months, 3 weeks ago) by gdt
Branches: MAIN
CVS tags: HEAD
Diff to: previous 1.13: preferred, colored
Changes since revision 1.13: +4 -0
lines
zvol: Implement DIOCCACHESYNC
Similarly to FreeBSD, simply call zil_commit when the DIOCCACHESYNC
ioctl is invoked on a zvol.
Tested in a xen dom0 with a domU's xbds provided by zvol on dom0. The
error message about DIOCCACHESYNC is gone, and (mysteriously)
operations in the domU seem faster.
Thanks to Michael van Elst via port-xen@ for pointing out where/how to
do this.
Revision 1.8.2.2: download - view: text, markup, annotated - select for diffs
Wed Apr 8 14:04:20 2020 UTC (4 years, 9 months ago) by martin
Branches: phil-wifi
Diff to: previous 1.8.2.1: preferred, colored; branchpoint 1.8: preferred, colored; next MAIN 1.9: preferred, colored
Changes since revision 1.8.2.1: +41 -5
lines
Merge changes from current as of 20200406
Revision 1.13: download - view: text, markup, annotated - select for diffs
Sat Feb 29 17:03:33 2020 UTC (4 years, 10 months ago) by mlelstv
Branches: MAIN
CVS tags: phil-wifi-20200421,
phil-wifi-20200411,
phil-wifi-20200406,
perseant-exfatfs-base-20240630,
perseant-exfatfs-base,
perseant-exfatfs,
netbsd-10-base,
netbsd-10-0-RELEASE,
netbsd-10-0-RC6,
netbsd-10-0-RC5,
netbsd-10-0-RC4,
netbsd-10-0-RC3,
netbsd-10-0-RC2,
netbsd-10-0-RC1,
is-mlppp-base,
is-mlppp,
cjep_sun2x-base1,
cjep_sun2x-base,
cjep_sun2x,
cjep_staticlib_x-base1,
cjep_staticlib_x-base,
cjep_staticlib_x
Branch point for: netbsd-10
Diff to: previous 1.12: preferred, colored
Changes since revision 1.12: +41 -5
lines
Fix disk geometry calculation. Add DIOCGPARTINFO to support
getdisksize() used by other drivers, filesystems and specfs.
Revision 1.8.2.1: download - view: text, markup, annotated - select for diffs
Mon Jun 10 21:52:02 2019 UTC (5 years, 7 months ago) by christos
Branches: phil-wifi
Diff to: previous 1.8: preferred, colored
Changes since revision 1.8: +84 -57
lines
Sync with HEAD
Revision 1.12: download - view: text, markup, annotated - select for diffs
Wed May 22 08:47:02 2019 UTC (5 years, 8 months ago) by hannken
Branches: MAIN
CVS tags: phil-wifi-20191119,
phil-wifi-20190609,
netbsd-9-base,
netbsd-9-4-RELEASE,
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
Diff to: previous 1.11: preferred, colored
Changes since revision 1.11: +3 -1
lines
Implement disk_rename()/iostat_rename() to rename a disk.
Use it from zvol_rename_minor() when renaming a ZVOL.
Revision 1.11: download - view: text, markup, annotated - select for diffs
Wed May 22 08:46:27 2019 UTC (5 years, 8 months ago) by hannken
Branches: MAIN
Diff to: previous 1.10: preferred, colored
Changes since revision 1.10: +44 -46
lines
Add missing zvol_close() to zfsdev_close().
Change zvol_size_changed() to initialize "zv->zv_volsize"
and initialize only "dg_secsize" and "dg_secperunit".
Calling disk_set_info() will initialize the remaining
parts of the geometry.
Set "doread" in zvol_strategy() to make reading from
device possible.
Reorganize/add disk_busy()/disk_unbusy() instrumentation.
Redo zvol_ioctl() to implement DIOCGWEDGEINFO and let
disk_ioctl() process the remaining ioctls.
Revision 1.10: download - view: text, markup, annotated - select for diffs
Wed May 22 08:45:32 2019 UTC (5 years, 8 months ago) by hannken
Branches: MAIN
Diff to: previous 1.9: preferred, colored
Changes since revision 1.9: +37 -10
lines
Enable the zvol minor management to create and remove device nodes.
Revision 1.9: download - view: text, markup, annotated - select for diffs
Wed May 22 08:44:48 2019 UTC (5 years, 8 months ago) by hannken
Branches: MAIN
Diff to: previous 1.8: preferred, colored
Changes since revision 1.8: +1 -1
lines
Update ddi environment:
- Put device major numbers into "dev_info_t".
- Fix an off-by-one in zvol_create_minor().
- When creating a node handle existing nodes
and add owner read/write permission.
- When removing nodes remove now empty directories.
Revision 1.7.14.1: download - view: text, markup, annotated - select for diffs
Mon Jun 25 07:25:21 2018 UTC (6 years, 7 months ago) by pgoyette
Branches: pgoyette-compat
CVS tags: pgoyette-compat-merge-20190127
Diff to: previous 1.7: preferred, colored; next MAIN 1.8: preferred, colored
Changes since revision 1.7: +2082 -483
lines
Sync with HEAD
Revision 1.8: download - view: text, markup, annotated - select for diffs
Mon May 28 21:05:07 2018 UTC (6 years, 7 months ago) by chs
Branches: 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
Diff to: previous 1.7: preferred, colored
Changes since revision 1.7: +2087 -488
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.1.1.3 (vendor branch): download - view: text, markup, annotated - select for diffs
Mon May 28 20:53:00 2018 UTC (6 years, 7 months ago) by chs
Branches: sun,
FreeBSD
CVS tags: CDDL-FreeBSD-r315983
Diff to: previous 1.1.1.2: preferred, colored
Changes since revision 1.1.1.2: +1784 -360
lines
import new CDDL dtrace and ZFS code from FreeBSD svn r315983.
Revision 1.7: download - view: text, markup, annotated - select for diffs
Mon Feb 29 16:19:20 2016 UTC (8 years, 10 months ago) by riastradh
Branches: MAIN
CVS tags: 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-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,
localcount-20160914,
bouyer-socketcan-base1,
bouyer-socketcan-base,
bouyer-socketcan
Branch point for: pgoyette-compat
Diff to: previous 1.6: preferred, colored
Changes since revision 1.6: +1 -1
lines
uint64_t can't be negative.
Revision 1.4.12.1: download - view: text, markup, annotated - select for diffs
Tue Aug 19 23:52:22 2014 UTC (10 years, 5 months ago) by tls
Branches: tls-maxphys
Diff to: previous 1.4: preferred, colored; next MAIN 1.5: preferred, colored
Changes since revision 1.4: +3 -1
lines
Rebase to HEAD as of a few days ago.
Revision 1.5.2.1: download - view: text, markup, annotated - select for diffs
Sun Aug 10 06:50:28 2014 UTC (10 years, 5 months ago) by tls
Branches: tls-earlyentropy
Diff to: previous 1.5: preferred, colored; next MAIN 1.6: preferred, colored
Changes since revision 1.5: +2 -0
lines
Rebase.
Revision 1.6: download - view: text, markup, annotated - select for diffs
Mon Jul 28 10:01:23 2014 UTC (10 years, 6 months ago) by joerg
Branches: MAIN
CVS tags: tls-maxphys-base,
tls-earlyentropy-base,
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
Diff to: previous 1.5: preferred, colored
Changes since revision 1.5: +2 -0
lines
SPEC_MAXOFFSET_T doesn't exist anywhere else, so don't use it here
either.
Revision 1.4.6.1: download - view: text, markup, annotated - select for diffs
Thu May 22 14:01:23 2014 UTC (10 years, 8 months ago) by yamt
Branches: yamt-pagecache
Diff to: previous 1.4: preferred, colored; next MAIN 1.5: preferred, colored
Changes since revision 1.4: +1 -1
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.5: download - view: text, markup, annotated - select for diffs
Thu Mar 27 15:50:48 2014 UTC (10 years, 10 months ago) by christos
Branches: MAIN
CVS tags: yamt-pagecache-base9,
riastradh-xf86-video-intel-2-7-1-pre-2-21-15
Branch point for: tls-earlyentropy
Diff to: previous 1.4: preferred, colored
Changes since revision 1.4: +1 -1
lines
kill sprintf
Revision 1.4: download - view: text, markup, annotated - select for diffs
Thu Jun 24 13:03:05 2010 UTC (14 years, 7 months ago) by hannken
Branches: MAIN
CVS tags: yamt-pagecache-tag8,
yamt-pagecache-base8,
yamt-pagecache-base7,
yamt-pagecache-base6,
yamt-pagecache-base5,
yamt-pagecache-base4,
yamt-pagecache-base3,
yamt-pagecache-base2,
yamt-pagecache-base,
riastradh-drm2-base3,
riastradh-drm2-base2,
riastradh-drm2-base1,
riastradh-drm2-base,
riastradh-drm2,
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,
matt-mips64-premerge-20101231,
cherry-xenmp-base,
cherry-xenmp,
bouyer-quota2-nbase,
bouyer-quota2-base,
bouyer-quota2,
agc-symver-base,
agc-symver
Branch point for: yamt-pagecache,
tls-maxphys
Diff to: previous 1.3: preferred, colored
Changes since revision 1.3: +1 -1
lines
Clean up vnode lock operations pass 2:
VOP_UNLOCK(vp, flags) -> VOP_UNLOCK(vp): Remove the unneeded flags argument.
Welcome to 5.99.32.
Discussed on tech-kern.
Revision 1.3: download - view: text, markup, annotated - select for diffs
Sat Feb 27 23:43:53 2010 UTC (14 years, 11 months ago) by haad
Branches: MAIN
Diff to: previous 1.2: preferred, colored
Changes since revision 1.2: +439 -314
lines
Merge NetBSD local changes to new zfs version 22 sources.
Revision 1.1.1.2 (vendor branch): download - view: text, markup, annotated - select for diffs
Sat Feb 27 22:31:37 2010 UTC (14 years, 11 months ago) by haad
Branches: sun,
FreeBSD
CVS tags: osnet-20100224
Diff to: previous 1.1.1.1: preferred, colored
Changes since revision 1.1.1.1: +435 -338
lines
Import new Opensolaris sources for zfs/dtrace.
Opensolaris mercurial changeset: 11751:58c0c8f4305f
Revision 1.2: download - view: text, markup, annotated - select for diffs
Fri Aug 7 20:16:45 2009 UTC (15 years, 5 months ago) by haad
Branches: MAIN
CVS tags: matt-premerge-20091211,
darran-pre-netbsd,
darran-pre-freebsd,
darran-pre-dtrace
Diff to: previous 1.1: preferred, colored
Changes since revision 1.1: +185 -46
lines
Add NetBSD specific changes to OpenSolaris code. These changes were made
by Andrew Doran and me. Thank you Andrew for your great help.
Oked by core@ and ad@.
Revision 1.1.1.1 (vendor branch): download - view: text, markup, annotated - select for diffs
Fri Aug 7 18:33:37 2009 UTC (15 years, 5 months ago) by haad
Branches: sun,
FreeBSD
CVS tags: osnet-20081117
Diff to: previous 1.1: preferred, colored
Changes since revision 1.1: +0 -0
lines
Import Opensolaris source code used with zfs port. Zfs code si from date
200811.
Revision 1.1: download - view: text, markup, annotated - select for diffs
Fri Aug 7 18:33:37 2009 UTC (15 years, 5 months ago) by haad
Branches: MAIN
Initial revision
CVSweb <webmaster@jp.NetBSD.org>