Christoph Hellwig
2011-Oct-14 07:18 UTC
Re: [PATCH 1/2] writeback: Improve busyloop prevention
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. -- To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
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 -- To unsubscribe from this list: send the line "unsubscribe linux-fsdevel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html