From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 5882 invoked by alias); 27 Sep 2006 02:01:09 -0000 Received: (qmail 5710 invoked by uid 22791); 27 Sep 2006 02:01:08 -0000 X-Spam-Check-By: sourceware.org Received: from mail.cruzio.com (HELO mail.cruzio.com) (63.249.95.37) by sourceware.org (qpsmtpd/0.31) with ESMTP; Wed, 27 Sep 2006 02:01:04 +0000 Received: from [192.168.0.108] (dsl-63-249-108-128.cruzio.com [63.249.108.128]) by mail.cruzio.com with ESMTP id k8R20t2g027543; Tue, 26 Sep 2006 19:00:55 -0700 (PDT) Message-ID: <4519DB4B.30900@gnu.org> Date: Wed, 27 Sep 2006 02:01:00 -0000 From: Casey Marshall User-Agent: Thunderbird 1.5.0.7 (Macintosh/20060909) MIME-Version: 1.0 To: tromey@redhat.com CC: mauve-discuss@sourceware.org Subject: Re: multidirectbufferIO and multibufferIO References: <451822FB.8080109@gnu.org> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Mailing-List: contact mauve-discuss-help@sourceware.org; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: mauve-discuss-owner@sourceware.org X-SW-Source: 2006-q3/txt/msg00035.txt.bz2 Tom Tromey wrote: >>>>>> "Casey" == Casey Marshall writes: > > Casey> I don't see that much point in using readv/writev for file I/O, anyway, > Casey> especially because there do seem to be bugs in our implementation of it. > > Can you ask the guy who wrote this code in Classpath about his > motivations? I don't remember them, and it would be good to know what > drove the implementation before we look at removing it. > It's probably moot, now. I've figured out why writeGathering wasn't working, and am working on a similar fix for readScattering. Since there don't seem to be any problems with using readv/writev (correctly) for files, we can leave this in.