Date: Fri, 7 Dec 2001 16:25:07 -0500 (EST) From: Chaskiel M Grundman <cg2v+@andrew.cmu.edu> To: freebsd-fs@freebsd.org Subject: openafs and mmap Message-ID: <cw4HCn1z0001RwBX0r@andrew.cmu.edu>
next in thread | raw e-mail | index | archive | help
I currently have a partially- to mostly-working version of OpenAFS for freebsd 4.x (I'm working with 4.4. hopefully vm will be mostly compatible with other 4.x's) My biggest current problem is that mmap isn't working. cp seems to use mmap, and it always ends up creating a file full of nulls. It appears as though my getpages function is never being called, even though it seems to be properly listed in my vnodeopv_entry_desc (and my other vnodeops do get called) source can be viewed at http://www.contrib.andrew.cmu.edu/~cg2v/freebsd-openafs The interesting files here are osi_vnodeops.c and osi_module.c (which does initialization; I know that what osi_module.c does is non-standard, but I can't think of any other way to prevent the filesystem code from registering if the syscall installation fails) The afs_vop_read and afs_vop_getpages files are extracted copies of those particular vnode ops, to make it easier to examine them. Any help will be appreciated. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-fs" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?cw4HCn1z0001RwBX0r>
