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 Disable mmap on z...
details: https://anonhg.NetBSD.org/src/rev/7eaaaeafeaa1
branches: trunk
changeset: 807444:7eaaaeafeaa1
user: riastradh <riastradh%NetBSD.org@localhost>
date: Fri Apr 10 19:59:10 2015 +0000
description:
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.
diffstat:
external/cddl/osnet/dist/uts/common/fs/zfs/zfs_vnops.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diffs (12 lines):
diff -r 2af460a7a2c2 -r 7eaaaeafeaa1 external/cddl/osnet/dist/uts/common/fs/zfs/zfs_vnops.c
--- a/external/cddl/osnet/dist/uts/common/fs/zfs/zfs_vnops.c Fri Apr 10 17:44:35 2015 +0000
+++ b/external/cddl/osnet/dist/uts/common/fs/zfs/zfs_vnops.c Fri Apr 10 19:59:10 2015 +0000
@@ -5750,7 +5750,7 @@
}
#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
Home |
Main Index |
Thread Index |
Old Index