From patchwork Tue Feb 18 19:55:04 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Greg Kroah-Hartman X-Patchwork-Id: 231078 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-6.8 required=3.0 tests=DKIMWL_WL_HIGH, DKIM_SIGNED, DKIM_VALID, HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI, SIGNED_OFF_BY, SPF_HELO_NONE,SPF_PASS,USER_AGENT_GIT autolearn=unavailable autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id DB3BEC34047 for ; Tue, 18 Feb 2020 20:09:45 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id A94D12067D for ; Tue, 18 Feb 2020 20:09:45 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1582056585; bh=aUIcPKNkgWofmymkuG85iqkUPquJCtLTBUfq2D6RgSg=; h=From:To:Cc:Subject:Date:In-Reply-To:References:List-ID:From; b=men7nsivy3aqVAqRxSgohQZ95vPTxon1+yFvGEVQOFo7xa30bQYZioj2J3OTd3bu5 hJ4GdX4d73lDIbVPh71+XarjrrlDZZcGjrkn+cpb4SgjSt0nIw49oFwqEcBTU/fwSO +nFCa1v5otilO4QEbMu8329KWHdmZvXBq/grt/ds= Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726427AbgBRT4U (ORCPT ); Tue, 18 Feb 2020 14:56:20 -0500 Received: from mail.kernel.org ([198.145.29.99]:33318 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726927AbgBRT4S (ORCPT ); Tue, 18 Feb 2020 14:56:18 -0500 Received: from localhost (83-86-89-107.cable.dynamic.v4.ziggo.nl [83.86.89.107]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id D9C0B24125; Tue, 18 Feb 2020 19:56:17 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1582055778; bh=aUIcPKNkgWofmymkuG85iqkUPquJCtLTBUfq2D6RgSg=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=PUGHWDIkWzm6x1ipJ+oownpW3Kk7q5h88Yl99agyTCZlbR0SpWXrniEoKz8dWuqLD d4cD2XUMtwy1O/7peL/AcX6+alnzxVdnGFcSv6+FPpaxRLrZ9JJUGzY6X+L5PJSJ5W 7bXoNM76e/vdChWgo7c3XIHe0nzXJZvjykcaZb2Q= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Chris Murphy , Anand Jain , Johannes Thumshirn , David Sterba Subject: [PATCH 4.19 18/38] btrfs: print message when tree-log replay starts Date: Tue, 18 Feb 2020 20:55:04 +0100 Message-Id: <20200218190420.788165830@linuxfoundation.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20200218190418.536430858@linuxfoundation.org> References: <20200218190418.536430858@linuxfoundation.org> User-Agent: quilt/0.66 MIME-Version: 1.0 Sender: stable-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: stable@vger.kernel.org From: David Sterba commit e8294f2f6aa6208ed0923aa6d70cea3be178309a upstream. There's no logged information about tree-log replay although this is something that points to previous unclean unmount. Other filesystems report that as well. Suggested-by: Chris Murphy CC: stable@vger.kernel.org # 4.4+ Reviewed-by: Anand Jain Reviewed-by: Johannes Thumshirn Signed-off-by: David Sterba Signed-off-by: Greg Kroah-Hartman --- fs/btrfs/disk-io.c | 1 + 1 file changed, 1 insertion(+) --- a/fs/btrfs/disk-io.c +++ b/fs/btrfs/disk-io.c @@ -3117,6 +3117,7 @@ retry_root_backup: /* do not make disk changes in broken FS or nologreplay is given */ if (btrfs_super_log_root(disk_super) != 0 && !btrfs_test_opt(fs_info, NOLOGREPLAY)) { + btrfs_info(fs_info, "start tree-log replay"); ret = btrfs_replay_log(fs_info, fs_devices); if (ret) { err = ret;