diff options
| author | Josef Bacik <jbacik@fb.com> | 2018-05-16 14:51:19 -0400 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2018-06-26 07:54:01 +0800 |
| commit | 4185c12ce400c7d53ae03b56304b3ae808b2ee6d (patch) | |
| tree | 43141474a766e71a6e3e61e27aa52d5d6821caa9 /tools/perf/scripts/python/stackcollapse.py | |
| parent | 246041de1b886ff446db4fe6a6ae4af0f39e5b99 (diff) | |
nbd: use bd_set_size when updating disk size
commit 9e2b19675d1338d2a38e99194756f2db44a081df upstream.
When we stopped relying on the bdev everywhere I broke updating the
block device size on the fly, which ceph relies on. We can't just do
set_capacity, we also have to do bd_set_size so things like parted will
notice the device size change.
Fixes: 29eaadc ("nbd: stop using the bdev everywhere")
cc: stable@vger.kernel.org
Signed-off-by: Josef Bacik <jbacik@fb.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions
