Re: [PATCH] ext4: fix fast commit alignment issues

From
Theodore Ts'o <tytso@mit.edu>
Date
2021-06-03 01:59:22
Reply to
Harshad Shirwadkar, 2021-05-19
On Wed, May 19, 2021 at 02:59:20PM -0700, Harshad Shirwadkar wrote:
From: Harshad Shirwadkar <redacted>

Fast commit recovery data on disk may not be aligned. So, when the
recovery code reads it, this patch makes sure that fast commit info
found on-disk is first memcpy-ed into an aligned variable before
accessing it. As a consequence of it, we also remove some macros that
could resulted in unaligned accesses.

Signed-off-by: Harshad Shirwadkar <redacted>
Applied, thanks.

					- Ted
Thread (2 messages) 2 messages, 2 authors, last reply 2021-06-03
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help