Yongqiang Yang
8c111b3f56
jbd: clear revoked flag on buffers before a new transaction started
...
Currently, we clear revoked flag only when a block is reused. However,
this can tigger a false journal error. Consider a situation when a block
is used as a meta block and is deleted(revoked) in ordered mode, then the
block is allocated as a data block to a file. At this moment, user changes
the file's journal mode from ordered to journaled and truncates the file.
The block will be considered re-revoked by journal because it has revoked
flag still pending from the last transaction and an assertion triggers.
We fix the problem by keeping the revoked status more uptodate - we clear
revoked flag when switching revoke tables to reflect there is no revoked
buffers in current transaction any more.
Signed-off-by: Yongqiang Yang <xiaoqiangnk@gmail.com>
Signed-off-by: Jan Kara <jack@suse.cz>
2011-11-22 01:20:53 +01:00
..
2011-11-02 12:53:43 +01:00
2011-11-02 12:53:43 +01:00
2011-11-02 12:53:43 +01:00
2011-11-02 12:53:43 +01:00
2011-11-02 12:53:43 +01:00
2011-11-02 12:53:43 +01:00
2011-11-02 12:53:43 +01:00
2011-11-06 20:03:41 -08:00
2011-11-05 21:10:12 -07:00
2011-11-07 09:56:22 -08:00
2011-11-02 12:53:43 +01:00
2011-09-27 18:08:04 +02:00
2011-08-22 17:41:48 -07:00
2011-11-02 12:53:43 +01:00
2011-11-02 12:53:43 +01:00
2011-11-02 12:53:43 +01:00
2011-11-06 19:44:47 -08:00
2011-11-02 11:41:01 -07:00
2011-11-09 12:23:17 +01:00
2011-11-06 19:02:23 -08:00
2011-11-02 12:53:43 +01:00
2011-11-02 12:53:43 +01:00
2011-11-06 19:44:47 -08:00
2011-11-06 19:44:47 -08:00
2011-11-02 16:07:27 -07:00
2011-11-02 12:53:43 +01:00
2011-11-02 11:41:01 -07:00
2011-11-02 12:53:43 +01:00
2011-11-02 12:53:43 +01:00
2011-11-02 12:53:43 +01:00
2011-11-02 16:07:27 -07:00
2011-11-22 01:20:53 +01:00
2011-11-01 19:09:18 -04:00
2011-11-07 09:11:16 -08:00
2011-11-06 19:44:47 -08:00
2011-09-14 08:21:48 -04:00
2011-11-06 19:44:47 -08:00
2011-11-02 12:53:43 +01:00
2011-11-02 12:53:43 +01:00
2011-11-06 19:44:47 -08:00
2011-11-06 19:44:47 -08:00
2011-11-02 12:53:43 +01:00
2011-11-02 12:53:43 +01:00
2011-11-06 19:44:47 -08:00
2011-11-02 12:53:43 +01:00
2011-10-31 17:30:54 -07:00
2011-11-06 19:44:47 -08:00
2011-10-12 09:17:24 -07:00
2011-11-02 12:53:43 +01:00
2011-11-06 19:02:23 -08:00
2011-11-02 16:06:58 -07:00
2011-11-02 12:53:43 +01:00
2011-11-02 12:53:43 +01:00
2011-11-04 16:48:37 -07:00
2011-11-02 12:53:43 +01:00
2011-11-02 12:53:43 +01:00
2011-11-07 08:52:19 -08:00
2011-11-02 11:41:01 -07:00
2011-11-02 12:53:43 +01:00
2011-11-02 12:53:43 +01:00
2011-11-02 16:07:03 -07:00
2011-08-09 10:31:03 +10:00
2011-11-02 16:06:58 -07:00
2011-11-02 12:53:43 +01:00
2011-10-31 19:30:31 -04:00
2011-10-24 16:11:30 +02:00
2011-11-04 17:22:14 -07:00
2011-11-06 19:02:23 -08:00
2011-08-07 22:24:41 -07:00
2011-10-31 17:30:44 -07:00
2011-11-07 10:54:10 -08:00
2011-10-28 14:58:58 +02:00
2011-10-31 17:30:57 -07:00
2011-10-31 17:30:45 -07:00
2011-10-31 00:33:36 +08:00
2011-08-01 02:10:06 -04:00
2011-11-02 12:53:43 +01:00
2011-10-31 19:30:31 -04:00
2011-10-31 17:30:45 -07:00
2011-11-02 12:53:43 +01:00
2011-10-25 15:42:01 +02:00
2011-10-27 08:36:51 +02:00
2011-11-07 14:58:06 -08:00
2011-10-28 13:55:08 +02:00
2011-10-28 14:59:00 +02:00
2011-10-31 17:30:51 -07:00
2011-10-28 14:58:54 +02:00
2011-10-31 17:30:44 -07:00
2011-11-02 12:53:43 +01:00
2011-11-02 12:53:42 +01:00
2011-11-04 18:15:59 -07:00
2011-11-02 12:53:42 +01:00
2011-10-31 00:33:36 +08:00