Linux Btrfs filesystem development
 help / color / mirror / Atom feed
* Re: [PATCH 1/2] writeback: Improve busyloop prevention
       [not found]     ` <20111013201354.GC27363@quack.suse.cz>
@ 2011-10-14  7:18       ` Christoph Hellwig
  2011-10-14 19:31         ` Chris Mason
  0 siblings, 1 reply; 2+ messages in thread
From: Christoph Hellwig @ 2011-10-14  7:18 UTC (permalink / raw)
  To: Jan Kara
  Cc: Wu Fengguang, linux-fsdevel@vger.kernel.org, Christoph Hellwig,
	Dave Chinner, linux-btrfs

What btrfs does for the btree inode is insane, and I'm pretty sure I
already complained about it.  It really needs to stop registering that
inode with the writeback code and just driver it manually.  Same as
other filesystems do for their "micro-managed" metadata.


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

* Re: [PATCH 1/2] writeback: Improve busyloop prevention
  2011-10-14  7:18       ` [PATCH 1/2] writeback: Improve busyloop prevention Christoph Hellwig
@ 2011-10-14 19:31         ` Chris Mason
  0 siblings, 0 replies; 2+ messages in thread
From: Chris Mason @ 2011-10-14 19:31 UTC (permalink / raw)
  To: Christoph Hellwig
  Cc: Jan Kara, Wu Fengguang, linux-fsdevel@vger.kernel.org,
	Dave Chinner, linux-btrfs

Excerpts from Christoph Hellwig's message of 2011-10-14 03:18:02 -0400:
> What btrfs does for the btree inode is insane, and I'm pretty sure I
> already complained about it.  It really needs to stop registering that
> inode with the writeback code and just driver it manually.  Same as
> other filesystems do for their "micro-managed" metadata.
> 

So I think you probably don't like the inode and the part where we
actively decide not to writeback when there isn't much dirty.

Yes, it would be different if btrfs had its own LRU for the btrees, and
if it maintained them such that the LRU understood it was better to kick
out leaves than roots.

I've really wanted to play with this for a while.

-chris

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

end of thread, other threads:[~2011-10-14 19:31 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <1318453043-32057-1-git-send-email-jack@suse.cz>
     [not found] ` <1318453043-32057-2-git-send-email-jack@suse.cz>
     [not found]   ` <20111013142638.GB6938@localhost>
     [not found]     ` <20111013201354.GC27363@quack.suse.cz>
2011-10-14  7:18       ` [PATCH 1/2] writeback: Improve busyloop prevention Christoph Hellwig
2011-10-14 19:31         ` Chris Mason

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox