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 Teach zfs spec no...



details:   https://anonhg.NetBSD.org/src/rev/984b26bc4cfd
branches:  trunk
changeset: 745120:984b26bc4cfd
user:      riastradh <riastradh%NetBSD.org@localhost>
date:      Sun Feb 23 05:50:25 2020 +0000

description:
Teach zfs spec nodes to VOP_BWRITE too.

Fixes hang on writing to, e.g., ffs mounted on a device node that
lives 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 682ca635121c -r 984b26bc4cfd external/cddl/osnet/dist/uts/common/fs/zfs/zfs_vnops.c
--- a/external/cddl/osnet/dist/uts/common/fs/zfs/zfs_vnops.c    Sun Feb 23 05:15:54 2020 +0000
+++ b/external/cddl/osnet/dist/uts/common/fs/zfs/zfs_vnops.c    Sun Feb 23 05:50:25 2020 +0000
@@ -6376,6 +6376,7 @@
        { &vop_islocked_desc,           zfs_netbsd_islocked },
        { &vop_advlock_desc,            spec_advlock },
        { &vop_strategy_desc,           spec_strategy },
+       { &vop_bwrite_desc,             spec_bwrite },
        { &vop_print_desc,              zfs_netbsd_print },
        { &vop_fcntl_desc,              zfs_netbsd_fcntl },
        { NULL, NULL }



Home | Main Index | Thread Index | Old Index