Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit ba869023 authored by dingdinghua's avatar dingdinghua Committed by Theodore Ts'o
Browse files

jbd2: delay discarding buffers in journal_unmap_buffer



Delay discarding buffers in journal_unmap_buffer until
we know that "add to orphan" operation has definitely been
committed, otherwise the log space of committing transation
may be freed and reused before truncate get committed, updates
may get lost if crash happens.

Signed-off-by: default avatardingdinghua <dingdinghua@nrchpc.ac.cn>
Signed-off-by: default avatar"Theodore Ts'o" <tytso@mit.edu>
parent aca92ff6
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment