Received: by 2002:a25:c593:0:0:0:0:0 with SMTP id v141csp697902ybe; Wed, 11 Sep 2019 03:20:06 -0700 (PDT) X-Google-Smtp-Source: APXvYqxMrud4dmLjHWV/ExK4sj0r7obUoMKeyJV3jnpiLNN5cJ4qvrPtFPKGELUngmFaHKI+QDNW X-Received: by 2002:a17:906:b298:: with SMTP id q24mr24872298ejz.93.1568197206776; Wed, 11 Sep 2019 03:20:06 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1568197206; cv=none; d=google.com; s=arc-20160816; b=Mj/MUg63dORoTSBIUN9q14A/HDUKzPsCv+OfLMGVnKZQa+/GSMpGxFNJ7uLOmxdiic cr3jQ2/knGrz7Y5DRP1pfvFMDCDosYFpRRiSc4VBRKhXttwi5LNPjSaqeFDxs7RVW/z/ 0EHqFblj4feVwe42yjpYbulWjPmxvUFjiZhT/B6pxxD7++qOXnkfcf7V5PqHAbrfpkmB ymYKlNmOnIL7/zVflkL1A4z7QN1mTndCbOGWJ/KvZGwiqnz+yGkqyulIKkQ87g/sh8s1 qbERukutBtkICeSpzo1QmVQJynuShGZIcei8bzKqkBdim+1J4sBBRKjSkYO4xOlD2dKe wx1Q== 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:dkim-signature; bh=wVr5sXcwDs6pnyhJohgaa7TVQtRp5amDWn72nY3VOS4=; b=zO5oTbp13J7B9VOAes1ot38R/xX9K6Rs5Ov2Gelk9nfPkYICU6pDV+ZIzluP7g+hKH AWzy1/5hjiZEgYkFXSO6FLq4QUJe00918+Cwy9U0DFYnzObBx7vsH9LVCa+rKSTFCUFE +TDLBcXhNHo7mYvu7ZtHQDk0UiS+ktInxnO3axBVi9odX3XRgl/54BQ+uGsq4hicntdC /dIhZ6V08cKXqod7T4Xgnm3Tfry4n+qLrpFxMi71iyxECO4O1SvoINYMXWUQmLopgR4A ECY3GNAXQP0QVSY8xJe+7fwRXhe5/3OcSn+MwLuOx18KIprAdpmYO7+uUeaOQ9mjXa48 2wFQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@infradead.org header.s=bombadil.20170209 header.b=kUsENYAA; spf=pass (google.com: best guess record for domain of linux-ext4-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-ext4-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 91si7572390edy.188.2019.09.11.03.19.36; Wed, 11 Sep 2019 03:20:06 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-ext4-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=fail header.i=@infradead.org header.s=bombadil.20170209 header.b=kUsENYAA; spf=pass (google.com: best guess record for domain of linux-ext4-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-ext4-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727436AbfIKKTa (ORCPT + 99 others); Wed, 11 Sep 2019 06:19:30 -0400 Received: from bombadil.infradead.org ([198.137.202.133]:58840 "EHLO bombadil.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727406AbfIKKTa (ORCPT ); Wed, 11 Sep 2019 06:19:30 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.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:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=wVr5sXcwDs6pnyhJohgaa7TVQtRp5amDWn72nY3VOS4=; b=kUsENYAA0wKG3iKP/bPbzw9x4 cIVr6LHCib8ChTdJHF3ZSbXA4zBihQhTzEhTgywimqtu73bzaTBgVyUPMgXC6BZ1WN10MIngw6aLP E9j4kOjV7990HBXfU9wOQNBIdtnWLpQRCMpLNprHwGNmBvhkcBySa7TVCqb3G8QekTBHP/MRkd1sE CP4Zkz+7K1/ve3J2YRSgt79KpNOqQbQf1D7qe3UW3ofOv6IMAuRNCTPuuK7JdHtEPUKwAwzSA2UFY HHKxXrLgMwNt/fA4fKPgsUysoXlX2TZCck3b/4V2oI7J3RnBm2zBeiql9YBvnkeL6icnNjRP+95zl 5ZgeH9L5A==; Received: from hch by bombadil.infradead.org with local (Exim 4.92 #3 (Red Hat Linux)) id 1i7zic-0001bm-0O; Wed, 11 Sep 2019 10:19:22 +0000 Date: Wed, 11 Sep 2019 03:19:21 -0700 From: Christoph Hellwig To: Andres Freund Cc: Dave Chinner , David Sterba , Goldwyn Rodrigues , linux-fsdevel@vger.kernel.org, jack@suse.com, hch@infradead.org, linux-ext4@vger.kernel.org, linux-btrfs@vger.kernel.org Subject: Re: Odd locking pattern introduced as part of "nowait aio support" Message-ID: <20190911101921.GA6095@infradead.org> References: <20190910223327.mnegfoggopwqqy33@alap3.anarazel.de> <20190911040420.GB27547@dread.disaster.area> <20190911093926.pfkkx25mffzeuo32@alap3.anarazel.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20190911093926.pfkkx25mffzeuo32@alap3.anarazel.de> User-Agent: Mutt/1.11.4 (2019-03-13) X-SRS-Rewrite: SMTP reverse-path rewritten from by bombadil.infradead.org. See http://www.infradead.org/rpr.html Sender: linux-ext4-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-ext4@vger.kernel.org On Wed, Sep 11, 2019 at 02:39:26AM -0700, Andres Freund wrote: > I do really wish buffered NOWAIT was supported... Send a patch..