configure: Add bdev_disk_changed() wrapper

Signed-off-by: Robert Baldyga <robert.baldyga@intel.com>
This commit is contained in:
Robert Baldyga
2020-12-11 22:11:35 +01:00
parent d9ea8d3e32
commit 48c3598ef5
3 changed files with 43 additions and 4 deletions

View File

@@ -1824,7 +1824,7 @@ static void init_instance_complete(struct _cache_mngt_attach_context *ctx,
/* If we deal with whole device, reread partitions */
if (bdev->bd_contains == bdev)
ioctl_by_bdev(bdev, BLKRRPART, (unsigned long)NULL);
cas_reread_partitions(bdev);
/* Set other back information */
name = block_dev_get_elevator_name(