Module Name: src Committed By: martin Date: Sun Nov 17 13:04:43 UTC 2024
Modified Files: src/external/cddl/osnet/dist/uts/common/fs/zfs [netbsd-10]: zvol.c Log Message: 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. To generate a diff of this commit: cvs rdiff -u -r1.13 -r1.13.8.1 \ src/external/cddl/osnet/dist/uts/common/fs/zfs/zvol.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.