DragonFly BSD
DragonFly kernel List (threaded) for 2005-03
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

UIO_NOCOPY in smbfs


From: Jonas Trollvik <jontro@xxxxxxxxx>
Date: Thu, 24 Mar 2005 20:54:08 +0100

How hard would it be to add the UIO_NOCOPY functionality in smbfs?

This is required for sendfile(2) to work

in  /usr/src/sys/vfs/smbfs/smbfs_io.c on line 183 this exists:
        /*
         * Protect against method which is not supported for now
         */
        if (uiop->uio_segflg == UIO_NOCOPY)
                return EOPNOTSUPP;
EOPNOTSUPP is also the error that sendfile returns.

If it's not too hard, I might give it a try as a newbeginner kernel
hacker, given the right directions...
I've seen this error reported on various places since this problem
aslo exists in freebsd

Regards
Jonas Trollvik



[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]