Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 8AE7AC7EE2F for ; Fri, 3 Mar 2023 09:30:21 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229895AbjCCJaU (ORCPT ); Fri, 3 Mar 2023 04:30:20 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39600 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231239AbjCCJaC (ORCPT ); Fri, 3 Mar 2023 04:30:02 -0500 Received: from smtp-out1.suse.de (smtp-out1.suse.de [195.135.220.28]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 2A7856E89 for ; Fri, 3 Mar 2023 01:29:48 -0800 (PST) Received: from imap2.suse-dmz.suse.de (imap2.suse-dmz.suse.de [192.168.254.74]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-521) server-digest SHA512) (No client certificate requested) by smtp-out1.suse.de (Postfix) with ESMTPS id 357A521D8E; Fri, 3 Mar 2023 09:29:40 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.cz; s=susede2_rsa; t=1677835780; 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=3y7Mcf628eY2GEMjtqKkx0w3TAoa0PbWVEYy1K4VKP0=; b=w6zg0IoEECk399cz3m5sg9WDQDtnlWqQUxus+ZqKN5SLsn1cU1GkMhQPzMU8R1ZUSuhkW4 rQxDqEmsUQR9SDZfuq0XK4S35XB+QCkfHz7ER4F4i0sVXYRCnNMKjC44TVute4NJ49ZK6I 324asVFlIBHtJcB6ti87PGhIRvTPqXs= DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=suse.cz; s=susede2_ed25519; t=1677835780; 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=3y7Mcf628eY2GEMjtqKkx0w3TAoa0PbWVEYy1K4VKP0=; b=ik0JhgIGG/+WgN5YIruJPexQqlsX0mX3BS7W+/MkTH9PN/T8rFwSlZmaQrwBGW5SB1dqh+ amcV383Wo0+Qv/Bg== Received: from imap2.suse-dmz.suse.de (imap2.suse-dmz.suse.de [192.168.254.74]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-521) server-digest SHA512) (No client certificate requested) by imap2.suse-dmz.suse.de (Postfix) with ESMTPS id 295F11329E; Fri, 3 Mar 2023 09:29:40 +0000 (UTC) Received: from dovecot-director2.suse.de ([192.168.254.65]) by imap2.suse-dmz.suse.de with ESMTPSA id /EEKCgS+AWSTbAAAMHmgww (envelope-from ); Fri, 03 Mar 2023 09:29:40 +0000 Received: by quack3.suse.cz (Postfix, from userid 1000) id B20FBA06E5; Fri, 3 Mar 2023 10:29:39 +0100 (CET) Date: Fri, 3 Mar 2023 10:29:39 +0100 From: Jan Kara To: Theodore Ts'o Cc: Jan Kara , Ext4 Developers List Subject: Re: [PATCH REBASED 0/7] ext4: Cleanup data=journal writeback path Message-ID: <20230303092939.kq4mlowe2y2x6ncx@quack3> References: <20230228051319.4085470-1-tytso@mit.edu> <20230228135854.ky2zpwal7trz6yg3@quack3> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Precedence: bulk List-ID: X-Mailing-List: linux-ext4@vger.kernel.org On Thu 02-03-23 08:37:35, Theodore Ts'o wrote: > On Tue, Feb 28, 2023 at 02:58:54PM +0100, Jan Kara wrote: > > > > Regarding the warning somehow there are dirty pages left after the > > procedures freeze_super() goes through to flush all dirty data. That is not > > too surprising since in data=journal mode pages get (as a surprise to > > freezing code) dirtied when transaction commits. I thought we have this > > covered by jbd2_journal_flush() call in ext4_freeze() but maybe there are > > some stranded PageDirty bits left? It needs more debugging... > > So the question I have is whether this is a bug that was always there, > or perhaps code changes affected the timing, so that it was much more > likely to happen (although in my testing it's still only triggering > about 50% of the time). > > This warning can mean that data can be lost, especially if someone was > doing hibernation, right? We can discuss this at today's ext4 video > conference, but I'm inclined to wait until the next merge cycle for > this patch series until we can figure out what's going on. Jan, what > do you think? As we discussed in the meeting, I'll have a look into the failure. For now I'd keep patches on hold as it is not urgent patchset. Honza -- Jan Kara SUSE Labs, CR