Thread (2 messages) 2 messages, 2 authors, 2021-08-14

Re: [PATCH] ext4: Fix tune2fs checksum failure for mounted filesystem

From: "Theodore Ts'o" <tytso@mit.edu>
Date: 2021-08-14 14:24:47

On Thu, 12 Aug 2021 14:47:37 +0200, Jan Kara wrote:
Commit 81414b4dd48 ("ext4: remove redundant sb checksum recomputation")
removed checksum recalculation after updating superblock free space /
inode counters in ext4_fill_super() based on the fact that we will
recalculate the checksum on superblock writeout. That is correct
assumption but until the writeout happens (which can take a long time)
the checksum is incorrect in the buffer cache and if tune2fs is called
in that time window it will complain. So return back the checksum
recalculation and add a comment explaining the tune2fs peculiarity.

[...]
Applied, thanks!

[1/1] ext4: Fix tune2fs checksum failure for mounted filesystem
      commit: e905fbe3fd0fdb90052f6efdf88f50a78833cfe7

Best regards,
-- 
Theodore Ts'o [off-list ref]
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help