Received: by 2002:a25:c593:0:0:0:0:0 with SMTP id v141csp733383ybe; Wed, 11 Sep 2019 03:58:08 -0700 (PDT) X-Google-Smtp-Source: APXvYqzjcTIgG5OyzGtAwdUvv3WYHPAWeB2WLuYAL0750LJiaUGUpCVZGObUlmw5QQUTGYWE5sNa X-Received: by 2002:a50:fd95:: with SMTP id o21mr35369016edt.6.1568199488241; Wed, 11 Sep 2019 03:58:08 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1568199488; cv=none; d=google.com; s=arc-20160816; b=X5VCZZPoCzqcktJ1dwdIOCPV0K5oim3GpInO6szVvyYp4kXX+/wfTLFCCNTuIzA6T1 u7/GIdL9nZDB/E68s/vFJwnAdutxhar/H9JWHBQeNsX+jqv5Xur5wOlPZYO4gtXbDX8Y sk7eYN68Z6J7/G1w3wYaafbqxcVrl//HZYjEelm+zIJdY71Sgmg+77n8jIlpGlfTDiny AbufeksLnvEco23kTcfvJBinaAQQlw9tI/iDK7Qk4/mk+vlhnq6aXfAg0Q3N2mo5cPbQ FnxdFYxiJpyp3ykN7sMIhqCZ14an9Xe40vLAJqfEF20OTgSE45gUnfBHfwY/zbD8nIES TEhg== 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=xnISYhecrLGekwIs9c6AShjf4cq0heyq0C3hvC5CLI8=; b=ScRH8oPWNACuTxK4PcjQMsn3pNxkyyZV5l/oWZ6ZtXNCowXiT0eSzyHWBLHe0V/GaD JcOTq3LPVyjm4dxmPJB5zd8AJqY7tWsHB/JpIKsldtVrclk8iXqhncPS8fS9b9aOT4l0 8DJ53Gd/5XeDzHB0PpVbGG4s4SlmWfKgwbAfGv1DIeLp2t8y0gJr4P8/u46dSis9Crco RyEGIdgNLc7Fj3N0WGbhUk1oUxBwZYuQ+jpRbGI/psj/wdzALmKp7H22mEG60VlpHxwa DkrgjqTYOiWVWLSaa7A+HW54T+OP34uF0hzyIJq6eKFemAth700IeZE+ZtWOIRJ/UqKI xx2A== ARC-Authentication-Results: i=1; mx.google.com; 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 i36si13467533ede.436.2019.09.11.03.57.38; Wed, 11 Sep 2019 03:58:08 -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; 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 S1727289AbfIKKzV (ORCPT + 99 others); Wed, 11 Sep 2019 06:55:21 -0400 Received: from mx2.suse.de ([195.135.220.15]:50900 "EHLO mx1.suse.de" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1726724AbfIKKzV (ORCPT ); Wed, 11 Sep 2019 06:55:21 -0400 X-Virus-Scanned: by amavisd-new at test-mx.suse.de Received: from relay2.suse.de (unknown [195.135.220.254]) by mx1.suse.de (Postfix) with ESMTP id CEE35AF70; Wed, 11 Sep 2019 10:55:19 +0000 (UTC) Date: Wed, 11 Sep 2019 05:55:16 -0500 From: Goldwyn Rodrigues To: Andres Freund Cc: Dave Chinner , David Sterba , 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: <20190911105516.l2iqes7dngj6w27o@fiona> 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: NeoMutt/20180716 Sender: linux-ext4-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-ext4@vger.kernel.org On 2:39 11/09, Andres Freund wrote: > > Ok. Goldwyn, do you want to write a patch, or do you want me to write > one up? I'll post one shortly. Thanks for bringing this up. -- Goldwyn