Return-Path: Received: from mail-io0-f193.google.com ([209.85.223.193]:35011 "EHLO mail-io0-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753787AbcLBUAO (ORCPT ); Fri, 2 Dec 2016 15:00:14 -0500 Subject: Re: [PATCH v2 0/4] Add copy_file_range() tests To: "Darrick J. Wong" , Anna Schumaker References: <20160907195619.25914-1-Anna.Schumaker@Netapp.com> <20161026082638.GA19419@infradead.org> <20161125080509.GA6082@infradead.org> <20161129204722.GA9331@fieldses.org> <20161129232146.GA25841@birch.djwong.org> Cc: "J. Bruce Fields" , Christoph Hellwig , fstests@vger.kernel.org, linux-nfs@vger.kernel.org From: Anna Schumaker Message-ID: <23bb56f2-11f9-cbd3-4722-7e29d97b8245@gmail.com> Date: Fri, 2 Dec 2016 15:00:11 -0500 MIME-Version: 1.0 In-Reply-To: <20161129232146.GA25841@birch.djwong.org> Content-Type: text/plain; charset=windows-1252 Sender: linux-nfs-owner@vger.kernel.org List-ID: On 11/29/2016 06:21 PM, Darrick J. Wong wrote: > On Tue, Nov 29, 2016 at 03:59:29PM -0500, Anna Schumaker wrote: > >> Sorry for the delay! I've been busy looking at other things and >> forgot to update the copy_file_range() stuff :( > > While you're at it, please make a test to check the return value for > invalid inputs. I'd prefer we avoid repeating what happened with the > vfs dedupe ioctl. I'll see what I can do. So far I've updated the tests with the other comments and added in the "copy_range" check directly to _require_xfs_io_command(). I'll play with error codes next week and then resubmit. Anna > > --D > >> >> On 11/29/2016 03:47 PM, J. Bruce Fields wrote: >>> On Fri, Nov 25, 2016 at 12:05:10AM -0800, Christoph Hellwig wrote: >>>> On Wed, Oct 26, 2016 at 01:26:38AM -0700, Christoph Hellwig wrote: >>>>> On Wed, Sep 07, 2016 at 03:56:15PM -0400, Anna Schumaker wrote: >>>>>> These tests exercise the copy_file_range() system call, and check copying >>>>>> data to both a new file and overwriting data inside an existing file. I use >>>>>> the xfs_io "copy_range" command for the actual copies, so running these >>>>>> tests requires an up-to-date version of xfsprogs. >>>>> >>>>> Hi Anna, >>>>> >>>>> what's the status of these tests? Did you get a chance to look >>>>> into xfs_io copyfile support? >> >> xfs_io has support for copying now, so I'll make sure that the tests >> use that correctly. I promise to send out an update this week, once I >> check that everything still works! >> >> Thanks for the reminders, >> Anna >> >>>> >>>> Another month, another ping - it would be really sad to not have any >>>> real testing for copy_file_range. >>> >>> Agreed, Anna, are you still planning on doing this? >>> >>> --b. >>> >>>> I've been holding a pending change >>>> for it back for month now because I want to verify it more than cursory, >>>> but I guess I'll just have to send it anyway. >>>> -- >>>> To unsubscribe from this list: send the line "unsubscribe linux-nfs" in >>>> the body of a message to majordomo@vger.kernel.org >>>> More majordomo info at http://vger.kernel.org/majordomo-info.html >> -- >> To unsubscribe from this list: send the line "unsubscribe fstests" in >> the body of a message to majordomo@vger.kernel.org >> More majordomo info at http://vger.kernel.org/majordomo-info.html > -- > To unsubscribe from this list: send the line "unsubscribe linux-nfs" in > the body of a message to majordomo@vger.kernel.org > More majordomo info at http://vger.kernel.org/majordomo-info.html >