linux-btrfs.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/3] Btrfs: save free space cache to the disk
@ 2010-09-15 19:08 Josef Bacik
  2010-09-15 19:08 ` [PATCH 1/3] Btrfs: create special free space cache inode FORMAT CHANGE Josef Bacik
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: Josef Bacik @ 2010-09-15 19:08 UTC (permalink / raw)
  To: linux-btrfs

This patch series introduces the ability for btrfs to store the free space cache
ondisk to make the caching of a block group much quicker.  Previously we had to
search the entire extent-tree to look for gaps everytime we wanted to allocate
in a block group.  This approach instead dumps all of the free space cache to
disk for every dirtied block group each time we commit the transaction.  This is
a disk format change, but in order to use the feature you will have to mount
with -o space_cache, and then from then on you won't be able to use old kernels
with your filesystem.  You can pull these patches from my git tree

git://git.kernel.org/pub/scm/linux/kernel/git/josef/btrfs-work.git

and they should pull right onto Chris's btrfs-unstable tree.  Please test this
as it's a big change and I can only test so much.  That being said this has been
run through xfstests thoroughly and I've been running it on a VM with btrfs as
root.  Thanks,

Josef

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2010-09-20 11:24 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-09-15 19:08 [PATCH 0/3] Btrfs: save free space cache to the disk Josef Bacik
2010-09-15 19:08 ` [PATCH 1/3] Btrfs: create special free space cache inode FORMAT CHANGE Josef Bacik
2010-09-15 19:08 ` [PATCH 2/3] Btrfs: write out free space cache Josef Bacik
2010-09-15 19:08 ` [PATCH 3/3] Btrfs: load free space cache if it exists Josef Bacik
2010-09-20 11:24 ` [PATCH 0/3] Btrfs: save free space cache to the disk Sander

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).