Module Name:    src
Committed By:   riastradh
Date:           Fri Apr 10 19:59:10 UTC 2015

Modified Files:
        src/external/cddl/osnet/dist/uts/common/fs/zfs: zfs_vnops.c

Log Message:
Disable mmap on zfs for now.

The implementation is not coherent with read/write, and apparently it
is is so broken that write(2) on a region mapped from a zfs file will
often fail with EINVAL because something passes an offset that is too
large to getpages.


To generate a diff of this commit:
cvs rdiff -u -r1.21 -r1.22 \
    src/external/cddl/osnet/dist/uts/common/fs/zfs/zfs_vnops.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/external/cddl/osnet/dist/uts/common/fs/zfs/zfs_vnops.c
diff -u src/external/cddl/osnet/dist/uts/common/fs/zfs/zfs_vnops.c:1.21 src/external/cddl/osnet/dist/uts/common/fs/zfs/zfs_vnops.c:1.22
--- src/external/cddl/osnet/dist/uts/common/fs/zfs/zfs_vnops.c:1.21	Thu Apr  9 20:18:28 2015
+++ src/external/cddl/osnet/dist/uts/common/fs/zfs/zfs_vnops.c	Fri Apr 10 19:59:10 2015
@@ -5750,7 +5750,7 @@ zfs_netbsd_putpages(void *v)
 }
 
 #define zfs_netbsd_seek genfs_seek
-#define zfs_netbsd_mmap genfs_mmap
+#define zfs_netbsd_mmap genfs_eopnotsupp
 #define zfs_netbsd_getpages genfs_compat_getpages
 //#define zfs_netbsd_putpages genfs_putpages
 

Reply via email to