Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751708AbdGYSCc (ORCPT ); Tue, 25 Jul 2017 14:02:32 -0400 Received: from imap.thunk.org ([74.207.234.97]:59580 "EHLO imap.thunk.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751501AbdGYSCa (ORCPT ); Tue, 25 Jul 2017 14:02:30 -0400 Date: Tue, 25 Jul 2017 14:02:25 -0400 From: "Theodore Ts'o" To: Pavel Machek Cc: Reindl Harald , linux-ext4@vger.kernel.org, kernel list , kent.overstreet@gmail.com, linux-bcache@vger.kernel.org Subject: Re: bcache with existing ext4 filesystem Message-ID: <20170725180225.2k3o6xtdnhygrhia@thunk.org> Mail-Followup-To: Theodore Ts'o , Pavel Machek , Reindl Harald , linux-ext4@vger.kernel.org, kernel list , kent.overstreet@gmail.com, linux-bcache@vger.kernel.org References: <20170724185703.GA31422@amd> <64c810cf-a95c-f862-f25a-ebd7419b2632@thelounge.net> <20170724191548.GA32425@amd> <20170724192718.t7n5zgualz5lillg@thunk.org> <20170724200451.GA4318@amd> <20170725045156.kbyaxj4mmi75yyt5@thunk.org> <20170725134604.GA26445@amd> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20170725134604.GA26445@amd> User-Agent: NeoMutt/20170609 (1.8.3) X-SA-Exim-Connect-IP: X-SA-Exim-Mail-From: tytso@thunk.org X-SA-Exim-Scanned: No (on imap.thunk.org); SAEximRunCond expanded to false Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 504 Lines: 14 On Tue, Jul 25, 2017 at 03:46:04PM +0200, Pavel Machek wrote: > > Is there some field in ext2 superblock that changes every time > filesystem is changed? Is mtime changed by fsck/badblocks/...? No, there isn't. If we were writing the superblock every time the file system is changed it would be ***extremely*** flash unfriendly. It would also be a scalability bottleneck, it would cause us to pay an extra HDD seek, etc. So it's a really bad Bad BAD idea, and so we don't do it. Cheers, - Ted