From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754411AbcGJRC3 (ORCPT ); Sun, 10 Jul 2016 13:02:29 -0400 Received: from linuxhacker.ru ([217.76.32.60]:58344 "EHLO fiona.linuxhacker.ru" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750948AbcGJRC1 convert rfc822-to-8bit (ORCPT ); Sun, 10 Jul 2016 13:02:27 -0400 Subject: Re: More parallel atomic_open/d_splice_alias fun with NFS and possibly more FSes. Mime-Version: 1.0 (Apple Message framework v1283) Content-Type: text/plain; charset=us-ascii From: Oleg Drokin In-Reply-To: <20160705022556.GK14480@ZenIV.linux.org.uk> Date: Sun, 10 Jul 2016 13:01:56 -0400 Cc: Mailing List , "" Content-Transfer-Encoding: 8BIT Message-Id: <88A6EDE1-10F4-48FA-BCDC-D507C3E22DFA@linuxhacker.ru> References: <20160617042914.GD14480@ZenIV.linux.org.uk> <20160703062917.GG14480@ZenIV.linux.org.uk> <20160704000802.GH14480@ZenIV.linux.org.uk> <0145470E-667E-4A8D-AB79-F897322DA441@linuxhacker.ru> <20160704030812.GI14480@ZenIV.linux.org.uk> <1CFAE5F0-5E46-4B1D-A9EC-2D6286753A35@linuxhacker.ru> <20160705022556.GK14480@ZenIV.linux.org.uk> To: Al Viro , James Simmons X-Mailer: Apple Mail (2.1283) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Jul 4, 2016, at 10:25 PM, Al Viro wrote: > BTW, could you take a look at > git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs.git#sendmsg.lustre? > It's a bunch of simplifications that became possible once sendmsg()/recvmsg() > switched to iov_iter, stopped mangling the iovecs and went for predictable > behaviour re advancing the iterator. Thanks, this looks good to me and passes my testing (on tcp). +typedef struct bio_vec lnet_kiov_t; This I guess we'll need to just get rid of all lnet_kiov_t usage, but that's something we can do ourselves, I guess. Anyway, your patchset is based on old tree that no longer applies cleanly, I rebased it to current staging tree to save you time in case you want to go forward with it. It's at git@github.com:verygreen/linux.git branch lustre-next-sendmsg James, can you please give it a try on IB? Bye, Oleg