Re: async io (aio_read, aio_write) in 64-bit mode
site_archiver@lists.apple.com Delivered-To: darwin-kernel@lists.apple.com On Wednesday, May 25, 2005, at 06:20PM, Steve Olson <steveo1951@mac.com> wrote:
Does anyone know of any issues with using the aio routines (aio_read, aio_write, aio_error, aio_return) with -arch ppc64 on Tiger?
I'm seeing some strange behavior that suggests what's in my write buffer is not what actually gets written to disk. When i read the buffer back, all I get is zeroes (all bits off).
This works great for me in 32-bit mode on Tiger, but compiling in 64-bit mode seems to be problematic. Of course, it could be me, but I've been wrestling with this for several days, and thought maybe 2 or more heads are better than one (or none!!)
Regards, Steve
I believe I found the problem. I used fcntl(fd, F_NOCACHE, 1) on the file being accessed. While this worked very well in Panther, Tiger has a problem with it. I need writes to hit the disk without caching, so this is a rather large problem for me. Will enter a bug report. Regards, Steve _______________________________________________ Do not post admin requests to the list. They will be ignored. Darwin-kernel mailing list (Darwin-kernel@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/darwin-kernel/site_archiver%40lists.a... This email sent to site_archiver@lists.apple.com
participants (1)
-
Steve Olson