Received: by 2002:ac0:950c:0:0:0:0:0 with SMTP id f12csp1456735imc; Mon, 11 Mar 2019 14:18:24 -0700 (PDT) X-Google-Smtp-Source: APXvYqwgAN3BL4Hu+/lNkk2lY/Wj6fAfwApGFhMGfjXqRrILKoJVfToxQcJmB3GS6KCxOjSl6lrH X-Received: by 2002:a62:b415:: with SMTP id h21mr34814550pfn.26.1552339103969; Mon, 11 Mar 2019 14:18:23 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1552339103; cv=none; d=google.com; s=arc-20160816; b=g5XRAy79Q5mEB6jCIj6S0ypX6IxzqSq4DKoTrTGZo15VkCIJbKOgBjenDYMqLWbMQd EqPv3/SHjLXxdDXolDDYle2Xtw4uirdT1IAIe4nZirEcg4LpE/V4mnJLko1rc19vyfh1 CCFKGzyfw3N+Cn2ZWABmEuIcmrBZ8XWW1wfmAnk3BZXlJ/yPsLimZeu3yzB1Pkc9R85G 9ActExpzOPEH2N9hKpMNZCZtOdKwN8yGi2k+zynWLxFVybbX3jmN49nc7wcVACSQkBY4 fecFWxGY1uC2fARhj3edYw/42SghFNx9I0AKQVRNfmiZFbFX3U8YeNGv3fPhdylny1Z/ vjEQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date; bh=sScy6Jp0AbnJpNH1chD201775iYrTEkZgVFwjIBgMDY=; b=w2lIQS7UN9ML7BjxPJnNa1DC9OH2b06tfkcWa5W6c3tNMjkSHGOzgyiscNw6rpx2Ty z4N6ygmRrf6Kmv7D26I8jAExMwelNpQUleAIK87AOjkkbyMIEfreV2UPZg/fGcZD6VQI qBlpzWxIEfwdT8xrmrm3/LvlsmqvLSg4xOeW/gDMQzvpvnMKUGC1xOIsloylmavV227v pIL0XSX2hkV/ct8J7+Ey2ZOxP03rOJXL3idJgqPs8hU0yUl375t74tKtBt2PzzrAI+5p Q8R6ta3drAk4/voa0+v9VhQtOdqGuOJdkuCpkroj3pYbSJi6DhLG5Ou5aG5PLku8pNof f9KQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id t20si5337088pgv.550.2019.03.11.14.18.08; Mon, 11 Mar 2019 14:18:23 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728325AbfCKVRl (ORCPT + 99 others); Mon, 11 Mar 2019 17:17:41 -0400 Received: from zeniv.linux.org.uk ([195.92.253.2]:60146 "EHLO ZenIV.linux.org.uk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727118AbfCKVRk (ORCPT ); Mon, 11 Mar 2019 17:17:40 -0400 Received: from viro by ZenIV.linux.org.uk with local (Exim 4.92 #3 (Red Hat Linux)) id 1h3SId-00025u-UP; Mon, 11 Mar 2019 21:17:32 +0000 Date: Mon, 11 Mar 2019 21:17:31 +0000 From: Al Viro To: Christoph Hellwig Cc: Linus Torvalds , Eric Dumazet , David Miller , Jason Baron , kgraul@linux.ibm.com, ktkhai@virtuozzo.com, kyeongdon.kim@lge.com, Linux List Kernel Mailing , Netdev , pabeni@redhat.com, syzkaller-bugs@googlegroups.com, xiyou.wangcong@gmail.com, zhengbin , bcrl@kvack.org, linux-fsdevel@vger.kernel.org, linux-aio@kvack.org, houtao1@huawei.com, yi.zhang@huawei.com Subject: Re: [PATCH 2/8] keep io_event in aio_kiocb Message-ID: <20190311211731.GO2217@ZenIV.linux.org.uk> References: <20190310070606.GA10138@ZenIV.linux.org.uk> <20190310070822.11564-1-viro@ZenIV.linux.org.uk> <20190310070822.11564-2-viro@ZenIV.linux.org.uk> <20190311194306.GC12602@lst.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20190311194306.GC12602@lst.de> User-Agent: Mutt/1.10.1 (2018-07-13) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Mar 11, 2019 at 08:43:06PM +0100, Christoph Hellwig wrote: > On Sun, Mar 10, 2019 at 07:08:16AM +0000, Al Viro wrote: > > From: Al Viro > > > > Signed-off-by: Al Viro > > This could use a little changelog at least that explains the why. > > It also removes lookup_kiocb and folds that into the only caller, > which is at least worth mentioning (and probably should be a separate > patch). More confusingly, it contains a pointless rudiment in aio_poll_wake(); that chunk doesn't solve the problems with ->woken, and the whole thing gets killed off shortly...