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 10:16:06 +0000 (11:16 +0100)
commitb5e715ed11ec7b759fe72c1ecc05a9b0850045ec
tree185729ced843886e6d9e4c20064a0f4625b11ed8
parent919b74ba5ed5d7d27ff1e70b13e7952a0bc86f22
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