Date: Thu, 4 Mar 1999 21:11:58 -0500 (EST) From: "John S. Dyson" <dyson@iquest.net> To: jplevyak@inktomi.com (John Plevyak) Cc: hackers@FreeBSD.org Subject: Re: aio_read/write pread/pwrite Message-ID: <199903050211.VAA00381@y.dyson.net> In-Reply-To: <19990304165818.A20680@proxydev.inktomi.com> from John Plevyak at "Mar 4, 99 04:58:18 pm"
next in thread | previous in thread | raw e-mail | index | archive | help
John Plevyak said: > > In investigating the lack of pread/pwrite, I found the bug > report kern/8011, and the patch therein. > > This patch mashes fd->f_offset around the > (*fp->f_ops->fo_read)(fp, &auio, fp->f_cred) and then resets > it to achieve a sort of poor-mans pread/pwrite. > > This breaks multi-threaded programs. The same problem exists > for aio_read/aio_write. > There are some things that need to be completed in the vn_read and vn_write routines. I suggest forwarding it to ALC (alc@cs.rice.edu) or Matt (dillon@backplane.apollo.com). I'll support them in the fix. -- John | Never try to teach a pig to sing, dyson@iquest.net | it makes one look stupid jdyson@nc.com | and it irritates the pig. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199903050211.VAA00381>