Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp271797pxj; Wed, 16 Jun 2021 01:53:38 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzUgUO9zs/dW1QL8gVbxUNuXc9OYOfoixT8HCJF9UBjd0UHJdBJus2VIoCSDJiE+30/LEFv X-Received: by 2002:a02:914a:: with SMTP id b10mr3150777jag.59.1623833617820; Wed, 16 Jun 2021 01:53:37 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1623833617; cv=none; d=google.com; s=arc-20160816; b=BwcDmIxFNDk5c14qM9dT9dcohGeG6U7KS/qa431rQxkIl5oGccAZLZqG+w4dEeONmO 7v9235XrEMgyf/Kq/FAwYYU8vzaiHmRDFNTtNyuR93Jxvhpm8jj1DeAdsLeAA2nSRuiu c+WR56g6pXQ9YordTIR4u/L1hWAoG87LHziu39Xt/5yS8SArRB+mIlacsFca/YppNe0s wu2E6264W4bHfgdni6qgDo0F+izizcIBC6SDX3wWyMO9x95+Ul6zdhuFWZ/YHjXGdacY QjzS4Ph9/8WtRJjila4JY//VnMCw1Tw+Xt/Baph95nY+Ocbq8/yKPOi930ZmGZp4l9is o3Lw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:user-agent:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :dkim-signature:dkim-signature; bh=oxGdDHsozXNdxVBcMTnfRLsug90r69T25ARBDtbntyA=; b=tDxIMICFXwsZeKNuRT1ssaoG6797M4IJleSnq8ELYU73pZFNCWNOHBIFXZlKpLrzY0 cdWN0s3IxpAQ8VDiBdg27un2vi/Fu9aLSnzFME2maFo47kTWqRxOaEgowD46IBywA51G WpAUFB2/Gx94gpY0im+ETQDGF85tlBb5USjUdx/hUIfNw0Rl1KCBro7gbmuh2G4CFlEi UEv7lhkrbbRX5cUDy3VUtGDNqJidtcRrdlNcCDYgBCAfqJgg8kZxcLD7RltjNDa6lDmZ Z6ZyJg+L0znDKXiYeEmtbbaJRnljmzXnPn3roHd9EmFxeJxoAYVQK9WMY6xvwy+3ZEx6 ZvgA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@suse.cz header.s=susede2_rsa header.b=LsIoyQo3; dkim=neutral (no key) header.i=@suse.cz header.s=susede2_ed25519 header.b="Cd/rE56F"; spf=pass (google.com: domain of linux-ext4-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-ext4-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 t32si2151322jal.87.2021.06.16.01.53.23; Wed, 16 Jun 2021 01:53:37 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-ext4-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@suse.cz header.s=susede2_rsa header.b=LsIoyQo3; dkim=neutral (no key) header.i=@suse.cz header.s=susede2_ed25519 header.b="Cd/rE56F"; spf=pass (google.com: domain of linux-ext4-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-ext4-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232093AbhFPIzS (ORCPT + 99 others); Wed, 16 Jun 2021 04:55:18 -0400 Received: from smtp-out1.suse.de ([195.135.220.28]:51338 "EHLO smtp-out1.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231335AbhFPIzO (ORCPT ); Wed, 16 Jun 2021 04:55:14 -0400 Received: from relay2.suse.de (relay2.suse.de [149.44.160.134]) by smtp-out1.suse.de (Postfix) with ESMTP id 3785121A24; Wed, 16 Jun 2021 08:53:07 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.cz; s=susede2_rsa; t=1623833587; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=oxGdDHsozXNdxVBcMTnfRLsug90r69T25ARBDtbntyA=; b=LsIoyQo3y3jZK6iYT6qpOHtEBnsukk3Vi+/RWO+92uZkR0q03c6TBQ0B5CU8KM+QrgFTs3 E8iil+lsQ0ADkqJyjlPsKpGDzT7V3B1ZwTbzwok6Utjw25vol8hEatNgGKqz0HDDDpVozi RBw73kTkulONM8nvb2UKyszzcHS4CwU= DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=suse.cz; s=susede2_ed25519; t=1623833587; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=oxGdDHsozXNdxVBcMTnfRLsug90r69T25ARBDtbntyA=; b=Cd/rE56FeKGW7aufMXqVHJ9XF4xj24JOWYzVHMVZjsuoQRzk9nxMDxtS1jr5muCo1d29ir FblE0OV602i/3qDw== Received: from quack2.suse.cz (unknown [10.100.200.198]) by relay2.suse.de (Postfix) with ESMTP id 687ABA3B9B; Wed, 16 Jun 2021 08:53:06 +0000 (UTC) Received: by quack2.suse.cz (Postfix, from userid 1000) id D7E651F2C88; Wed, 16 Jun 2021 10:53:04 +0200 (CEST) Date: Wed, 16 Jun 2021 10:53:04 +0200 From: Jan Kara To: Christoph Hellwig Cc: Jan Kara , linux-fsdevel@vger.kernel.org, Dave Chinner , ceph-devel@vger.kernel.org, Chao Yu , Damien Le Moal , "Darrick J. Wong" , Jaegeuk Kim , Jeff Layton , Johannes Thumshirn , linux-cifs@vger.kernel.org, linux-ext4@vger.kernel.org, linux-f2fs-devel@lists.sourceforge.net, linux-mm@kvack.org, linux-xfs@vger.kernel.org, Miklos Szeredi , Steve French , Ted Tso , Matthew Wilcox , Pavel Reichl , Dave Chinner , Eric Sandeen Subject: Re: [PATCH 07/14] xfs: Refactor xfs_isilocked() Message-ID: <20210616085304.GA28250@quack2.suse.cz> References: <20210615090844.6045-1-jack@suse.cz> <20210615091814.28626-7-jack@suse.cz> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.10.1 (2018-07-13) Precedence: bulk List-ID: X-Mailing-List: linux-ext4@vger.kernel.org On Wed 16-06-21 06:37:12, Christoph Hellwig wrote: > On Tue, Jun 15, 2021 at 11:17:57AM +0200, Jan Kara wrote: > > From: Pavel Reichl > > > > Refactor xfs_isilocked() to use newly introduced __xfs_rwsem_islocked(). > > __xfs_rwsem_islocked() is a helper function which encapsulates checking > > state of rw_semaphores hold by inode. > > __xfs_rwsem_islocked doesn't seem to actually existing in any tree I > checked yet? __xfs_rwsem_islocked is introduced by this patch so I'm not sure what are you asking about... :) Honza -- Jan Kara SUSE Labs, CR