]> www.infradead.org Git - users/jedix/linux-maple.git/commit
Btrfs: refactor caching_thread()
authorOmar Sandoval <osandov@fb.com>
Wed, 30 Sep 2015 03:50:33 +0000 (20:50 -0700)
committerShan Hai <shan.hai@oracle.com>
Wed, 23 Aug 2017 05:26:50 +0000 (13:26 +0800)
commit4c3dee48898542c908b7dbc241fe915d17be910a
tree0280d5ea3ad29375b6cc47e522586697d55f92d3
parentf331d3914f61616290af90cb240b0f7c9dd7df4a
Btrfs: refactor caching_thread()

We're also going to load the free space tree from caching_thread(), so
we should refactor some of the common code.

Signed-off-by: Omar Sandoval <osandov@fb.com>
Signed-off-by: Chris Mason <clm@fb.com>
Orabug: 26274676

(cherry picked from commit 73fa48b674e819098c3bafc47618d0e2868191e5)
Signed-off-by: Shan Hai <shan.hai@oracle.com>
Reviewed-by: Somasundaram Krishnasamy <somasundaram.krishnasamy@oracle.com>
fs/btrfs/ctree.h
fs/btrfs/extent-tree.c