From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: From: Jeff Moyer To: Christoph Hellwig Cc: viro@zeniv.linux.org.uk, Avi Kivity , linux-aio@kvack.org, linux-fsdevel@vger.kernel.org, netdev@vger.kernel.org, linux-api@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH 32/32] aio: implement io_pgetevents References: <20180110155853.32348-1-hch@lst.de> <20180110155853.32348-33-hch@lst.de> <20180115085310.GB32532@lst.de> <20180116120433.GA14579@lst.de> <20180117073652.GA27389@lst.de> Date: Wed, 17 Jan 2018 08:51:28 -0500 In-Reply-To: <20180117073652.GA27389@lst.de> (Christoph Hellwig's message of "Wed, 17 Jan 2018 08:36:52 +0100") Message-ID: MIME-Version: 1.0 Content-Type: text/plain Sender: linux-kernel-owner@vger.kernel.org List-ID: Christoph Hellwig writes: > On Tue, Jan 16, 2018 at 07:41:24PM -0500, Jeff Moyer wrote: >> I'd be willing to bet the issue is in your io_syscall6 implementation. >> You pass in arg5 where arg6 should be used. Don't feel bad, it took me >> the better part of today to figure that out. :) >> >> Here's an incremental diff on top of what you've posted. Feel free to >> fold it into your patch (and format however you like). You can find the >> libaio changes in my 'aio-poll' branch: >> https://pagure.io/libaio/commits/aio-poll >> >> These changes were run through the libaio test harness, 64 bit and 32 >> bit, so the compat system call was tested. > > Oops, yes. Although I prefer the copy_from_user version, this is what > I had: Much cleaner. Thanks! Jeff