[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20141121155714.GC8568@twin.jikos.cz>
Date: Fri, 21 Nov 2014 16:57:14 +0100
From: David Sterba <dsterba@...e.cz>
To: Daniel Dressler <danieru.dressler@...il.com>
Cc: Chris Mason <clm@...com>, Josef Bacik <jbacik@...com>,
"open list:BTRFS FILE SYSTEM" <linux-btrfs@...r.kernel.org>,
open list <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH] Btrfs: delayed-inode: replace root args iff only fs_info
used
On Mon, Nov 17, 2014 at 10:05:02PM +0900, Daniel Dressler wrote:
> This is the second independent patch of a larger
> project to cleanup btrfs's internal usage of
> btrfs_root. Many functions take btrfs_root
> only to grab the fs_info struct.
>
> By requiring a root these functions cause
> programmer overhead. That these functions can
> accept any valid root is not obvious until
> inspection.
>
> This patch reduces the specificity of such
> functions to accept the fs_info directly.
>
> These patches can be applied independently
> and thus are not being submitted as a patch
> series. There should be about 26 patches by
> the project's completion. Each patch will
> cleanup between 1 and 34 functions apiece.
> Each patch covers a single file's functions.
>
> This patch affects the following function(s):
> 1) btrfs_wq_run_delayed_node
>
> Signed-off-by: Daniel Dressler <danieru.dressler@...il.com>
Apart from the narrow paragraphs,
Reviewed-by: David Sterba <dsterba@...e.cz>
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists