Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/external/cddl/osnet/dist/uts/common/fs/zfs Define VOP_STRATE...



details:   https://anonhg.NetBSD.org/src/rev/c6f1b7c32dc3
branches:  trunk
changeset: 744949:c6f1b7c32dc3
user:      riastradh <riastradh%NetBSD.org@localhost>
date:      Wed Feb 19 05:52:52 2020 +0000

description:
Define VOP_STRATEGY on zfs device nodes too.

Fixes eternal hangs in attempts to do I/O on device nodes on zfs.

XXX pullup

diffstat:

 external/cddl/osnet/dist/uts/common/fs/zfs/zfs_vnops.c |  1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diffs (11 lines):

diff -r d75c397c3bc0 -r c6f1b7c32dc3 external/cddl/osnet/dist/uts/common/fs/zfs/zfs_vnops.c
--- a/external/cddl/osnet/dist/uts/common/fs/zfs/zfs_vnops.c    Wed Feb 19 02:51:54 2020 +0000
+++ b/external/cddl/osnet/dist/uts/common/fs/zfs/zfs_vnops.c    Wed Feb 19 05:52:52 2020 +0000
@@ -6375,6 +6375,7 @@
        { &vop_mmap_desc,               spec_mmap },
        { &vop_islocked_desc,           zfs_netbsd_islocked },
        { &vop_advlock_desc,            spec_advlock },
+       { &vop_strategy_desc,           spec_strategy },
        { &vop_print_desc,              zfs_netbsd_print },
        { &vop_fcntl_desc,              zfs_netbsd_fcntl },
        { NULL, NULL }



Home | Main Index | Thread Index | Old Index