• J
    jbd: Delay discarding buffers in journal_unmap_buffer · 86963918
    Jan Kara 提交于
    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.
    
    This patch is a backport of JBD2 fix by dingdinghua <dingdinghua@nrchpc.ac.cn>.
    Signed-off-by: NJan Kara <jack@suse.cz>
    86963918
commit.c 28.3 KB