commit | c71bf099abddf3e0fdc27f251ba76fca1461d49a | [log] [tgz] |
---|---|---|
author | Yan, Zheng <zheng.yan@oracle.com> | Thu Nov 12 09:34:40 2009 +0000 |
committer | Chris Mason <chris.mason@oracle.com> | Thu Dec 17 12:33:33 2009 -0500 |
tree | 0b682ad2b49aeaf9ac774c40be4b7549c1d079fe | |
parent | c216775458a2ee345d9412a2770c2916acfb5d30 [diff] |
Btrfs: Avoid orphan inodes cleanup while replaying log We do log replay in a single transaction, so it's not good to do unbound operations. This patch cleans up orphan inodes cleanup after replaying the log. It also avoids doing other unbound operations such as truncating a file during replaying log. These unbound operations are postponed to the orphan inode cleanup stage. Signed-off-by: Yan Zheng <zheng.yan@oracle.com> Signed-off-by: Chris Mason <chris.mason@oracle.com>