[Ocfs2-tools-devel] [PATCH 0/6] Fix extent records for holes/overlaps

Goldwyn Rodrigues rgoldwyn at gmail.com
Mon Aug 22 15:36:05 PDT 2011


Hi,

I discovered a bug in my previous post. A variable swap while calling
the extent_eb was giving unexpected results. so, I am posting this
again with the bug fix in "Fix holes in directories".

The patchset fixes corruptions due to offset corruptions of extent
records of extent lists. The problem could be either of the two -

1. Holes: Some data structures such as directories do not have holes and
can lead to errors as described in bug#1324
http://oss.oracle.com/bugzilla/show_bug.cgi?id=1324
This also creates indexes for directories which were disabled by the
kernel in the patch posted on Aug 3 - Avoid EROFS in case of dx dir
errors v2
http://oss.oracle.com/pipermail/ocfs2-devel/2011-August/008312.html

2. Extent overlap: The extent records do no go in serial order with
respect to the offset. IOW, the cpos is smaller than previous cpos +
number of clusters.


Changes:
 - Incorporated Tiger's review comment on indexed dirs, hole placements
   and coding styles
 - Fixed a bug in dir holes correction.

-- 
Goldwyn



More information about the Ocfs2-tools-devel mailing list