Re: [PATCH V4 5/7] Btrfs-progs: restructure list_subvolumes
From: David Sterba <hidden>
Date: 2012-09-20 12:09:20
From: David Sterba <hidden>
Date: 2012-09-20 12:09:20
On Tue, Sep 18, 2012 at 07:06:49PM +0800, Miao Xie wrote:
The current code of list_subvols() has very bad scalability, if we want to add new filter conditions or new sort methods, we have to modify lots of code.
I've briefly skimmed through the patch, not a short one, IMO the right way to go. david