diff options
author | Chris Mason <chris.mason@oracle.com> | 2008-04-22 14:06:56 -0400 |
---|---|---|
committer | David Woodhouse <dwmw2@hera.kernel.org> | 2008-04-22 14:06:56 -0400 |
commit | 8bfbb6b6f83975d85cf2f2018d9c08d0e6cfb500 (patch) | |
tree | fc2d28d6a05cba2f92e303f98e9fca122b26cf3b /extent_io.c | |
parent | 358564890ac230ccc8af2661268a6bcb0d6ea18f (diff) |
Update the Ext3 converter
The main changes in this patch are adding chunk handing and data relocation
ability. In the last step of conversion, the converter relocates data in system
chunk and move chunk tree into system chunk. In the rollback process, the
converter remove chunk tree from system chunk and copy data back.
Regards
YZ
---
Diffstat (limited to 'extent_io.c')
-rw-r--r-- | extent_io.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/extent_io.c b/extent_io.c index 9071644d..ef888d91 100644 --- a/extent_io.c +++ b/extent_io.c @@ -539,6 +539,8 @@ static int free_some_buffers(struct extent_io_tree *tree) free_extent_buffer(eb); if (tree->cache_size < cache_max) break; + } else { + list_move_tail(&eb->lru, &tree->lru); } if (nrscan++ > 64) break; |