refactor unused code in storagePoolHasEnoughIops method