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 Implement poll su...



details:   https://anonhg.NetBSD.org/src/rev/8e4e670aff63
branches:  trunk
changeset: 453737:8e4e670aff63
user:      hannken <hannken%NetBSD.org@localhost>
date:      Sat Aug 24 12:58:24 2019 +0000

description:
Implement poll support.

diffstat:

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

diffs (27 lines):

diff -r a59629e7adf5 -r 8e4e670aff63 external/cddl/osnet/dist/uts/common/fs/zfs/zfs_vnops.c
--- a/external/cddl/osnet/dist/uts/common/fs/zfs/zfs_vnops.c    Sat Aug 24 12:33:25 2019 +0000
+++ b/external/cddl/osnet/dist/uts/common/fs/zfs/zfs_vnops.c    Sat Aug 24 12:58:24 2019 +0000
@@ -6234,6 +6234,7 @@
        { &vop_read_desc,               zfs_netbsd_read },
        { &vop_write_desc,              zfs_netbsd_write },
        { &vop_ioctl_desc,              zfs_netbsd_ioctl },
+       { &vop_poll_desc,               genfs_poll },
        { &vop_fsync_desc,              zfs_netbsd_fsync },
        { &vop_remove_desc,             zfs_netbsd_remove },
        { &vop_link_desc,               zfs_netbsd_link },
@@ -6276,6 +6277,7 @@
        { &vop_read_desc,               /**/zfs_netbsd_read },
        { &vop_write_desc,              /**/zfs_netbsd_write },
        { &vop_ioctl_desc,              spec_ioctl },
+       { &vop_poll_desc,               spec_poll },
        { &vop_fsync_desc,              zfs_netbsd_fsync },
        { &vop_remove_desc,             spec_remove },
        { &vop_link_desc,               spec_link },
@@ -6318,6 +6320,7 @@
        { &vop_read_desc,               /**/zfs_netbsd_read },
        { &vop_write_desc,              /**/zfs_netbsd_write },
        { &vop_ioctl_desc,              vn_fifo_bypass },
+       { &vop_poll_desc,               vn_fifo_bypass },
        { &vop_fsync_desc,              zfs_netbsd_fsync },
        { &vop_remove_desc,             vn_fifo_bypass },
        { &vop_link_desc,               vn_fifo_bypass },



Home | Main Index | Thread Index | Old Index