From: Jan Stancek Date: Fri, 19 May 2017 03:34:15 -0400 (EDT) Subject: [LTP] [PATCH v3] syscalls: add new test for copy_file_range(2) In-Reply-To: References: <20170420082416.25508-1-liwang@redhat.com> <917701187.946745.1493024025288.JavaMail.zimbra@redhat.com> <1437131164.2599351.1493190346623.JavaMail.zimbra@redhat.com> Message-ID: <958518333.14643587.1495179255369.JavaMail.zimbra@redhat.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: ltp@lists.linux.it ----- Original Message ----- > On Wed, Apr 26, 2017 at 3:05 PM, Jan Stancek wrote: > > > > > > ----- Original Message ----- > >> On Mon, Apr 24, 2017 at 02:23:41PM +0200, Jan Stancek wrote: > >> > On 04/24/2017 12:46 PM, Li Wang wrote: > >> > >>> These variables names are a bit confusing. But larger problem is > >> > > > >> > > Currently have no idea to improve the confusing issue. > >> > > > >> > > >> > I'm attaching copy_file_range01.c, that I made from your v3 version. > >> > It doesn't use static list of parameters, but instead iterates > >> > over possible values for len/off_in/off_out in all possible > >> > combinations. > >> > > >> > Let me know what you think about this approach. > >> > >> To split data structure into arrays is more clear than before, and involve > >> the different function make things simple too. I agree to use this > >> approach. > > > > OK, can this wait after release? > > Yes, It's OK to me. Pushed. Regards, Jan