* [RFC] log mode COW
@ 2010-05-11 8:23 Yan, Zheng
0 siblings, 0 replies; only message in thread
From: Yan, Zheng @ 2010-05-11 8:23 UTC (permalink / raw)
To: linux-btrfs; +Cc: Chris Mason
The aim of log mode COW is solve extent tree performance issue when
free metadata space are scarce and fragmented. The basic idea is:
when cowing a non-shared block, we insert a log entry that maps
the new block to the old block into a special log tree, and do not
update the extent tree. After transaction is fully committed, copy
the new block back to the old location.
Log mode COW can be enabled/disabled by log_mode=%d mount option.
'0' means disable log mode COW; '1' means enable log for tree blocks
that are not reference counted; '2' means enable log for all tree
blocks are not shared.
NOTE: The patch series base on current btrfs-unstable. They are for
test and review only. Enable log mode COW changes disk format.
Regards
Yan, Zheng
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2010-05-11 8:23 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-05-11 8:23 [RFC] log mode COW Yan, Zheng
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).