Received: by 2002:a25:8b91:0:0:0:0:0 with SMTP id j17csp6496284ybl; Wed, 15 Jan 2020 05:42:22 -0800 (PST) X-Google-Smtp-Source: APXvYqxLPlq80zn2u+XH06KBaINRkErqeNgUZzarhbNjClBRkOusYUk4q0vBy4rVpmoB7JFAHyFg X-Received: by 2002:a9d:53c2:: with SMTP id i2mr2618772oth.43.1579095742524; Wed, 15 Jan 2020 05:42:22 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1579095742; cv=none; d=google.com; s=arc-20160816; b=JG4VENLfM0GiGzM+7yzFJg2fl1rupdDOz1iGACFJypCnXaJ5/aaQfR5GOEu6prPa0t OWOOTAv1ENtXgXv3LUyDmrVza4Rz9xzKz+EDO4eYU8dsyw2TnqYpK+8sSoV5KKH/uz0s 3vl5mqUDkRowRWtl5dcWkUPpuCrF3wVRmIsHiWSRWo9ZaqVbhrv9BVwdVyiNuxxt9JUb hWhj//AsjiYjS9rDVEhQXJsIODiehcqk9D97n1JqdUJP+M9RBSveIuOgEiZw/tasHEIh 8sA7kKDgF/oG52CxYwRibHvwsLnSuRvykraUNuQ25r1yyt4S1zw247dn79Ie1STKPOYu hJnA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:in-reply-to :content-disposition:mime-version:references:subject:cc:to:from:date; bh=W90uA5tJ4uDYMRLQo/8+Acr27+9eWXXV1PQerVuznV8=; b=e3sEPbucYX5guRRZSTxOeTBL74e9U6Ld5ifvmtQI040kAJ0Wev9y8jI8HBAVxT7O+s ruKtdaDQjrh+FaSlPvWSxFBSIs4h1qbqbFt43IwtcA9w2mdpp2mV0twL6Vk+MQTzP9Zs v1Fo5614uR1oqAY4iZQIG7RfBowUe4MVT5vLJdrBa3N/snRvc3c2OTZmoNXwreWU7D7g qQILHQG9fdJ37R3K/38HIaV+dSrXy64vYan7ki51yLaLonhDktHQYONT9xWkFoai3VUz ls2GWGd5Mfu1ZeDrzUTf5SKKwvYhGnG1tSEXvg7YbsW6HGYUJ7SrgUBpHBuZgqDFdglC OQ+g== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=ac.auone-net.jp Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id p21si11542406otk.162.2020.01.15.05.42.10; Wed, 15 Jan 2020 05:42:22 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-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-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=ac.auone-net.jp Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728896AbgAONlI (ORCPT + 99 others); Wed, 15 Jan 2020 08:41:08 -0500 Received: from snd00007.auone-net.jp ([111.86.247.7]:29568 "EHLO dmta0009.auone-net.jp" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1726088AbgAONlI (ORCPT ); Wed, 15 Jan 2020 08:41:08 -0500 Received: from ppp.dion.ne.jp by dmta0009.auone-net.jp with ESMTP id <20200115134106476.LBDG.46476.ppp.dion.ne.jp@dmta0009.auone-net.jp>; Wed, 15 Jan 2020 22:41:06 +0900 Date: Wed, 15 Jan 2020 22:41:06 +0900 From: Kusanagi Kouichi To: Josef Bacik Cc: linux-btrfs@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] btrfs: Implement lazytime References: <20200114085325045.JFBE.12086.ppp.dion.ne.jp@dmta0008.auone-net.jp> <7d0eadb4-5712-6fa1-f50f-f8ea6d8aea43@toxicpanda.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <7d0eadb4-5712-6fa1-f50f-f8ea6d8aea43@toxicpanda.com> Message-Id: <20200115134106476.LBDG.46476.ppp.dion.ne.jp@dmta0009.auone-net.jp> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 2020-01-14 05:44:33 -0800, Josef Bacik wrote: > On 1/14/20 12:53 AM, Kusanagi Kouichi wrote: > > I tested with xfstests and lazytime didn't cause any new failures. > > > > Signed-off-by: Kusanagi Kouichi > > --- > > We don't use the I_DIRTY flags for tracking our inodes, and .write_inode was > removed because we didn't need it and it deadlocks. Thanks, > > Josef Did you apply the patch and deadlock occur? According to commit 3c4276936f6f ("Btrfs: fix btrfs_write_inode vs delayed iput deadlock"), which removed .write_inode, .write_inode calls btrfs_run_delayed_iputs and deadlock occurs. But .write_inode in this patch doesn't seem to call btrfs_run_delayed_iputs.