[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20190323161334.GE5675@mit.edu>
Date: Sat, 23 Mar 2019 12:13:34 -0400
From: "Theodore Ts'o" <tytso@....edu>
To: "Darrick J. Wong" <darrick.wong@...cle.com>
Cc: Eryu Guan <guaneryu@...il.com>, fstests <fstests@...r.kernel.org>,
xfs <linux-xfs@...r.kernel.org>,
linux-ext4 <linux-ext4@...r.kernel.org>
Subject: Re: [PATCH] ext4: prohibit fstrim in norecovery mode
On Fri, Mar 22, 2019 at 05:38:13PM -0700, Darrick J. Wong wrote:
> From: Darrick J. Wong <darrick.wong@...cle.com>
>
> The ext4 fstrim implementation uses the block bitmaps to find free space
> that can be discarded. If we haven't replayed the journal, the bitmaps
> will be stale and we absolutely *cannot* use stale metadata to zap the
> underlying storage.
>
> Signed-off-by: Darrick J. Wong <darrick.wong@...cle.com>
Thanks, applied.
- Ted
Powered by blists - more mailing lists