Received: by 2002:a25:8b91:0:0:0:0:0 with SMTP id j17csp1696892ybl; Thu, 5 Dec 2019 05:42:46 -0800 (PST) X-Google-Smtp-Source: APXvYqwTZxzfJ+oZ4HzE8qa33cxiag9I+IeiITXvbdm9OK4DDNRHoy7iFVSn9kd4hrsJ0K0Rry1V X-Received: by 2002:aca:cf58:: with SMTP id f85mr7270098oig.6.1575553366068; Thu, 05 Dec 2019 05:42:46 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1575553366; cv=none; d=google.com; s=arc-20160816; b=iEKrb3WyoddDnEgB0zrubAF1Ws3BEw9z03JmXYnmX3UVZ9p0Xsri5QtE0CdCwzIatT EM28lVMjsocFRjbm8UliStoCpIK4dju7hQZEGixJh7ve64y1WSpHQ11rFim25Ow6T5w6 /ijcz6uYVok6XevFSvvP333J/1xhpLHU2Y6vB/M4k8ph8sMwpUmrurmxpy1Rg8GhJwOl dA3gtZ1PrFWG3alg6ncF1DZg8y0im7N/JRMiFTk87I2oU+PbgVYLHD4Mup49P1f5bWN1 fSNbeDKGu9N8kf88I5rIPrMYwmiqmzDkbkHOL/UoTAc5fj/vCuY5G2VuDrnXIJCW3bH8 uXzg== 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:mail-followup-to :reply-to:message-id:subject:cc:to:from:date; bh=De7yfTQpgI9TfeuZ224fZ6ALxX7a7RbdziV4FghdaFY=; b=rS+TyiJH/AkIBTjCVwTRGh+K0tcngyT+YXCQ3422Pzgd/HXY8QCcnWGoJYeeHZN4at Uq7guK4LSmx0K27SQ4/KnJeOJF/HNs5WU9STPxcgCSCFSgzaGGdjHjceDxv/PZ0JXjBl yz11istNxSk5BDoUUSapCr8cgi/nGFkdH7T2Hp1hQOEK6qp3ouOlWEsNRAluKAWi05DC rTr92nzsPNZ7OFcdhmpV7JMYLf7mhEkHK+dQVn1UEcN1sbs38E8w8y/qOKUEdtx//QVi oMfFfUKFIgOqB5NQdwV88FXPOTxtPR5k8kEgRy9fRUPMSE2cuP/OI6s7wAggL5onb1me wuQw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-nfs-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-nfs-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 a1si5073404otr.45.2019.12.05.05.42.34; Thu, 05 Dec 2019 05:42:46 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-nfs-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-nfs-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-nfs-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729503AbfLENm3 (ORCPT + 99 others); Thu, 5 Dec 2019 08:42:29 -0500 Received: from mx2.suse.de ([195.135.220.15]:32800 "EHLO mx1.suse.de" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1729165AbfLENm2 (ORCPT ); Thu, 5 Dec 2019 08:42:28 -0500 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 880E7B1A3; Thu, 5 Dec 2019 13:42:26 +0000 (UTC) Received: by ds.suse.cz (Postfix, from userid 10065) id A1255DA733; Thu, 5 Dec 2019 14:42:20 +0100 (CET) Date: Thu, 5 Dec 2019 14:42:20 +0100 From: David Sterba To: Ritesh Harjani Cc: willy@infradead.org, linux-fsdevel@vger.kernel.org, jlayton@kernel.org, viro@zeniv.linux.org.uk, ceph-devel@vger.kernel.org, linux-btrfs@vger.kernel.org, linux-nfs@vger.kernel.org, devel@lists.orangefs.org, linux-unionfs@vger.kernel.org Subject: Re: [PATCH 1/1] fs: Use inode_lock/unlock class of provided APIs in filesystems Message-ID: <20191205134220.GM2734@twin.jikos.cz> Reply-To: dsterba@suse.cz Mail-Followup-To: dsterba@suse.cz, Ritesh Harjani , willy@infradead.org, linux-fsdevel@vger.kernel.org, jlayton@kernel.org, viro@zeniv.linux.org.uk, ceph-devel@vger.kernel.org, linux-btrfs@vger.kernel.org, linux-nfs@vger.kernel.org, devel@lists.orangefs.org, linux-unionfs@vger.kernel.org References: <20191205103902.23618-1-riteshh@linux.ibm.com> <20191205103902.23618-2-riteshh@linux.ibm.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20191205103902.23618-2-riteshh@linux.ibm.com> User-Agent: Mutt/1.5.23.1-rc1 (2014-03-12) Sender: linux-nfs-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-nfs@vger.kernel.org On Thu, Dec 05, 2019 at 04:09:02PM +0530, Ritesh Harjani wrote: > This defines 4 more APIs which some of the filesystem needs > and reduces the direct use of i_rwsem in filesystem drivers. > Instead those are replaced with inode_lock/unlock_** APIs. > > Signed-off-by: Ritesh Harjani > --- For the btrfs part > fs/btrfs/delayed-inode.c | 2 +- > fs/btrfs/ioctl.c | 4 ++-- Acked-by: David Sterba