]> git.ipfire.org Git - thirdparty/xfsprogs-dev.git/commit
xfs_repair doesn't handle unwritten real-time extents properly. When
authorGlen Overby <overby@sgi.com>
Wed, 24 Sep 2003 23:43:37 +0000 (23:43 +0000)
committerGlen Overby <overby@sgi.com>
Wed, 24 Sep 2003 23:43:37 +0000 (23:43 +0000)
commitc12813040e67dcf6e1852626715644be86f717c0
tree6380196e82cabf44199212ea566b32433329d25b
parenta0b22cc7663b148e1ca3b2a841e9c6ca3d9a5996
xfs_repair doesn't handle unwritten real-time extents properly.  When
the real-time subvolume extent size is larger than a filesystem block,
it is possible to have a real-time extent that is part written and
part unwritten.

Internally, xfs_repair tracks real-time extent use on a per-extent
basis.  Thus, a file that has a written and unwritten extent falling
on the same extent.

This fix addresses this problem specificly by noting when the file
extent is unwritten and covers a partial real-time extent.  Then,
instead of checking that it is unused, it checks that it is used.
repair/dinode.c