linux_dsm_epyc7002/fs/jbd
Jan Kara 8696391896 jbd: 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.

This patch is a backport of JBD2 fix by dingdinghua <dingdinghua@nrchpc.ac.cn>.

Signed-off-by: Jan Kara <jack@suse.cz>
2010-03-05 00:20:26 +01:00
..
checkpoint.c jbd: Journal block numbers can ever be only 32-bit use unsigned int for them 2009-09-16 17:44:10 +02:00
commit.c jbd: Delay discarding buffers in journal_unmap_buffer 2010-03-05 00:20:26 +01:00
journal.c jbd: jbd-debug and jbd2-debug should be writable 2009-12-23 13:44:13 +01:00
Kconfig Revert "task_struct: make journal_info conditional" 2009-12-17 13:23:24 -08:00
Makefile Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
recovery.c jbd: Journal block numbers can ever be only 32-bit use unsigned int for them 2009-09-16 17:44:10 +02:00
revoke.c jbd: Journal block numbers can ever be only 32-bit use unsigned int for them 2009-09-16 17:44:10 +02:00
transaction.c jbd: Delay discarding buffers in journal_unmap_buffer 2010-03-05 00:20:26 +01:00