git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* btrfs and git-reflog
@ 2008-01-25  8:15 Paul Collins
  2008-01-25  9:50 ` Paul Collins
                   ` (2 more replies)
  0 siblings, 3 replies; 10+ messages in thread
From: Paul Collins @ 2008-01-25  8:15 UTC (permalink / raw)
  To: btrfs-devel; +Cc: git

I was just playing with git 1.5.3.8 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

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

end of thread, other threads:[~2008-01-27  8:09 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-01-25  8:15 btrfs and git-reflog Paul Collins
2008-01-25  9:50 ` Paul Collins
2008-01-25 15:01 ` [Btrfs-devel] " Chris Mason
2008-01-25 15:50 ` Chris Mason
2008-01-25 17:09   ` Linus Torvalds
2008-01-25 20:05     ` Junio C Hamano
2008-01-26  7:52       ` Junio C Hamano
2008-01-27  7:22         ` Linus Torvalds
2008-01-27  8:08           ` Junio C Hamano
2008-01-26  7:53       ` reflog-expire: Avoid creating new files in a directory inside readdir(3) loop Junio C Hamano

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