diff options
author | Yan, Zheng <zheng.yan@oracle.com> | 2009-11-12 10:33:26 +0100 |
---|---|---|
committer | Chris Mason <chris.mason@oracle.com> | 2009-12-16 03:24:25 +0100 |
commit | 8cef4e160d74920ad1725f58c89fd75ec4c4ac38 (patch) | |
tree | c1592369c7085e75d67a1709438a4f56351b2348 /drivers/md/md.c | |
parent | Linux 2.6.32 (diff) | |
download | linux-8cef4e160d74920ad1725f58c89fd75ec4c4ac38.tar.xz linux-8cef4e160d74920ad1725f58c89fd75ec4c4ac38.zip |
Btrfs: Avoid superfluous tree-log writeout
We allow two log transactions at a time, but use same flag
to mark dirty tree-log btree blocks. So we may flush dirty
blocks belonging to newer log transaction when committing a
log transaction. This patch fixes the issue by using two
flags to mark dirty tree-log btree blocks.
Signed-off-by: Yan Zheng <zheng.yan@oracle.com>
Signed-off-by: Chris Mason <chris.mason@oracle.com>
Diffstat (limited to 'drivers/md/md.c')
0 files changed, 0 insertions, 0 deletions