From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from vps.thesusis.net (vps.thesusis.net [34.202.238.73]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id F161C376EB for ; Fri, 15 Mar 2024 14:05:22 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=34.202.238.73 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1710511524; cv=none; b=qCL/LKj2aXRfZANE46079cNlTL6iYQ95fOplg3YG1iwWpHSdb2wud2sf6Q2ZRdXYZDXMBLYjIFiSp2WXQWjmLlLn7xepZMVLvqwixgVn3QqM5IWkzsu/0gT5u1uOkoOJwUPZij7C3DrvvmCEie2u+iOe5+L1rB2b4VFlIsoFYOg= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1710511524; c=relaxed/simple; bh=lPGtBFMkTbmo0hjXK/bSvF83XXMOkPdN5B6xeP9jEHU=; h=From:To:Cc:Subject:In-Reply-To:References:Date:Message-ID: MIME-Version:Content-Type; b=d2z/NfFeWelauS37+Fw7gREddWqRkxj8vn94KxEDZSlSx6/IjCY0CYp6H7x76brcHT7hoD4PewdUrTQLG4o5UDIxpZbSeXqsnL2kCRcpv+x5Ut7CnI7L7gU6s1vj6U52nvpzyBzEHJum/zeglq1k5ueEYg9KIWvhlooBbMXY00U= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=thesusis.net; spf=pass smtp.mailfrom=thesusis.net; arc=none smtp.client-ip=34.202.238.73 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=thesusis.net Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=thesusis.net Received: by vps.thesusis.net (Postfix, from userid 1000) id 6F1CA29C26; Fri, 15 Mar 2024 10:05:16 -0400 (EDT) From: Phillip Susi To: Dave Chinner Cc: linux-fsdevel@vger.kernel.org, Theodore Ts'o Subject: Re: Uneccesary flushes waking up suspended disks In-Reply-To: References: <877cieqhaw.fsf@vps.thesusis.net> Date: Fri, 15 Mar 2024 10:05:16 -0400 Message-ID: <87h6h78uar.fsf@vps.thesusis.net> Precedence: bulk X-Mailing-List: linux-fsdevel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain Dave Chinner writes: > How do other filesystems behave? Is this a problem just on specific > filesystems? I finally got around to testing other filesystems and surprisingly, it seems this is only a problem for ext4. I tried btrfs, f2fs, jfs, udf, and xfs. xfs even uses the same jbd2 for journaling that ext4 does doesn't it? I just formatted a clean fs, synced, and ran blktrace, then synced again, and only ext4 emits a flush on the second sync.