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)
committerDavid Sterba <dsterba@suse.com>
Wed, 30 Nov 2016 12:45:18 +0000 (13:45 +0100)
commited0df618b1b06d7431ee4d985317fc5419a5d559
tree5c057d82d01f2e03537e0b626c9ecc9675ec27ae
parent4d5106a126f33395126e042ae42582832bfc39f7
btrfs: store and load values of stripes_min/stripes_max in balance status item

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
CC: stable@vger.kernel.org # 4.4+
Signed-off-by: David Sterba <dsterba@suse.com>
fs/btrfs/ctree.h