Received: by 2002:a05:6902:102b:0:0:0:0 with SMTP id x11csp1318115ybt; Thu, 9 Jul 2020 04:13:14 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwWas+ANfDjeQJianoqGj0QQ/Z2c3L96huGMz2/dRSmcHwcGe925XUa/YxgTSAvTYh5UN25 X-Received: by 2002:a05:6402:1c86:: with SMTP id cy6mr57187761edb.30.1594293194703; Thu, 09 Jul 2020 04:13:14 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1594293194; cv=none; d=google.com; s=arc-20160816; b=GUvmnx8XEHcgKndbfIMuUOWqJLbDmQg6G/wAXiRi7FmvEtX7z+TyU7KMQeyM32kh7C xjSZTXG8MnlAkTJl8UohhkH/uiz8zEde0lEOL95yhoTx+a22pOEPQ6J08W1VmQJTeXj+ EwwbkahjNGYNF9qWeGPE5SXJlhHDhnnFX9EFDf27W7mlA+7GvR1HPu4pOmpUvIYqNQXF sYupmSn7kEWraDRP4B2LQQxWDAqJ9jlw5t9mpBqMH0sRbs7G9FnR76R/vIC3uGhN18cQ 4pun6wZ7HbJWDepeVAx/s3sbyXpFA/6ZlGEXLd+T+SRWbeDk+SrGDju/opHUU60pqSkm vdfA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :dkim-signature; bh=/myYpnCCMiEJKy/mwmtgXMuLa5s6GUxQEGJeQoTY/qo=; b=r0ofBfYbc8oYnK7RHJwuuNyUibUq0J2Iz1iwxobg/8MiisSfIcEaMO0swN33RijTzc TZtD3eImCcv++vYRkrRWY6vO4vjZ+UCWZ/aEnxSDIt+Eq0sSJRKLCMpoPpFUeGRKA/Kl AaMpEqUxMr8N+Bha0OWtzAeL7hPdL7FZabLEQQoAnSCZ2NnCJyxmzfVRoit9C8LbnhtW PnD+fZgYqKPWvgXQvDJEwJy4ihrhwBYCxQmoFolx9tVZaRjl3NfbOnwUhjeB/pyXo4MZ mj+cJrvgZHF3vOFbP8s7LDJdZDFjy48TkE6ayoIWCNJbl0UUJ6Kq4ulzwYtcF2WmIGEa 9l5Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@infradead.org header.s=casper.20170209 header.b=XxH5eZ79; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id p1si1795669edm.302.2020.07.09.04.12.51; Thu, 09 Jul 2020 04:13:14 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=fail header.i=@infradead.org header.s=casper.20170209 header.b=XxH5eZ79; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727105AbgGILKj (ORCPT + 99 others); Thu, 9 Jul 2020 07:10:39 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44132 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726315AbgGILKj (ORCPT ); Thu, 9 Jul 2020 07:10:39 -0400 Received: from casper.infradead.org (casper.infradead.org [IPv6:2001:8b0:10b:1236::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C9F8FC061A0B; Thu, 9 Jul 2020 04:10:38 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=casper.20170209; h=In-Reply-To:Content-Type:MIME-Version: References:Message-ID:Subject:Cc:To:From:Date:Sender:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description; bh=/myYpnCCMiEJKy/mwmtgXMuLa5s6GUxQEGJeQoTY/qo=; b=XxH5eZ79FQ6Y0woPfTeuaD54pl H/6h/M2RYn7YtWi4MfADnd89/zW9fUsOsSEO8dgMM+qrLTro1qeEyCDIDmgJUlYdfWFzhsmDzap7r 57naCnIVOixvdegCXiPMLuSq8QV/Hsk+CjJEY3keFNWufiEX7lbFKclmPDDtgOeGBFIn59ehXCWI2 3RKz9V3H3JCptMz0ED2DcbA+f4h0C/VfPVcaScu7IuGKPAgv+wSnrRlGrVx8CIYIgnu4ROpJiFYrH qABucRQpDAB84/bON3Zc4bCuEVcCw32oClvC+85XeYuvedbaFxE0+Lb+omrtkC9qPwhsY0+flhgYE QVCjOcxw==; Received: from willy by casper.infradead.org with local (Exim 4.92.3 #3 (Red Hat Linux)) id 1jtURo-0003ii-7X; Thu, 09 Jul 2020 11:10:36 +0000 Date: Thu, 9 Jul 2020 12:10:36 +0100 From: Matthew Wilcox To: Christoph Hellwig Cc: Jens Axboe , linux-block@vger.kernel.org, linux-fsdevel@vger.kernel.org, linux-aio@kvack.org, io-uring@vger.kernel.org, linux-kernel@vger.kernel.org, Kanchan Joshi , Javier Gonzalez Subject: Re: [PATCH 0/2] Remove kiocb ki_complete Message-ID: <20200709111036.GA12769@casper.infradead.org> References: <20200708222637.23046-1-willy@infradead.org> <20200709101705.GA2095@infradead.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20200709101705.GA2095@infradead.org> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Jul 09, 2020 at 11:17:05AM +0100, Christoph Hellwig wrote: > I really don't like this series at all. If saves a single pointer > but introduces a complicated machinery that just doesn't follow any > natural flow. And there doesn't seem to be any good reason for it to > start with. Jens doesn't want the kiocb to grow beyond a single cacheline, and we want the ability to set the loff_t in userspace for an appending write, so the plan was to replace the ki_complete member in kiocb with an loff_t __user *ki_posp. I don't think it's worth worrying about growing kiocb, personally, but this seemed like the easiest way to make room for a new pointer.