[lkml]   [2008]   [Jul]   [24]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
Subject[PATCH 0/4] ext3/jbd: possible filesystem corruption fixes (take 3)
This patch set is the take 3 of fixing error handling problem in
ext3/JBD. The previous discussion can be found here:

Currently some error checkings are missing, so the journal cannot abort
correctly. This can cause a filesystem corruption. Missing error
checkings are:

(1) error check for the metadata writes to the journal before the
commit (addressed by PATCH 1/4)
(2) error check for checkpointing and replay (addressed by PATCH 2/4
and 3/4)

PATCH 2/4 makes another problem worse; replaying old journaled
metadata can overwrite the latest metadata on the filesystem and
break its consistency. This is fixed by PATCH 4/4.

Changes since Take 2
[PATCH x/x]
o file data error handling fixes were separated to other patch set

[PATCH 3/4]
o fix return value handlings (trivial)

[PATCH 4/4]
o newly added to prevent unjournaled metadata buffers from being
written to the filesystem on abort

Hidehiro Kawai
Hitachi, Systems Development Laboratory
Linux Technology Center

 \ /
  Last update: 2008-07-24 14:37    [W:0.070 / U:6.800 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site