Smbfs driver incorrect values for _get_capacity_info
Bug #1746238 reported by
Tiago Pasqualini da Silva
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Cinder |
New
|
Undecided
|
Unassigned |
Bug Description
_get_capacity_info should return the capacity, the free space left on the storage, and the used space. Smbfs driver reports the allocated capacity for the used space, which is wrong. As a result, the driver is incorrectly reporting the provisioned_
description: | updated |
To post a comment you must log in.
Thanks for submitting this bug report.
Please correct me if I got this wrong, but the idea is that the driver should not update the allocated size, leaving this up to the manager, right?
IMO, this can easily be fixed at the remotefs driver level, covering all the *concrete* drivers that inherit it. I guess that we should only report the provisioned space (physically used space, smaller than allocated space when thin provisioning is used), which should be the difference between total space and free space. By doing this, I think we don't actually need any changes in the drivers inheriting it.
I'm sending a patch, please let me know what you think.