btrfs: store and load values of stripes_min/stripes_max in balance status item
authorDavid Sterba <dsterba@suse.com>
Tue, 1 Nov 2016 13:21:23 +0000 (14:21 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 6 Jan 2017 09:40:10 +0000 (10:40 +0100)
commitc01ea880e88abedec7c4f02fcd9a110ce73c7ccb
tree86206f00599ac1ef274dd97b4e4cd5a26b7e35c0
parent01f285fe1d885dadfd7439205c700340ec69ab13
btrfs: store and load values of stripes_min/stripes_max in balance status item

commit ed0df618b1b06d7431ee4d985317fc5419a5d559 upstream.

The balance status item contains currently known filter values, but the
stripes filter was unintentionally not among them. This would mean, that
interrupted and automatically restarted balance does not apply the
stripe filters.

Fixes: dee32d0ac3719ef8d640efaf0884111df444730f
Signed-off-by: David Sterba <dsterba@suse.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
fs/btrfs/ctree.h