[Btrfs-devel] btrfs and git-reflog

Paul Collins paul at burly.ondioline.org
Fri Jan 25 00:15:26 PST 2008

I was just playing with git and btrfs 0.11, and I noticed
something odd.

If I prepare a very simple repository:

  $ mkdir foo
  $ cd foo
  $ git init
  Initialized empty Git repository in .git/
  $ echo hi > blort
  $ git add .
  $ git commit -m create
  Created initial commit 4ae9415: create
   1 files changed, 1 insertions(+), 0 deletions(-)
   create mode 100644 blort

and then attempt to expire the reflogs

  $ git-reflog --expire --all

on ext3, git-reflog completes its work and exits immediately;

and on btrfs, it gets stuck in some sort of loop that causes it to
allocate more and more memory until I kill it or it pushes the
machine into OOM.

Kernel is 2.6.24 or so on x86-64.

Paul Collins
Wellington, New Zealand

Dag vijandelijk luchtschip de huismeester is dood

More information about the Btrfs-devel mailing list