)]}'
{"cinder/scheduler/filters/capacity_filter.py":[{"author":{"_account_id":18529,"name":"Dongdong Pei","email":"peidongdong121@163.com","username":"dongdongpei"},"change_message_id":"bf6e2991171e310acee921e30c029dd9414d4457","unresolved":false,"context_lines":[{"line_number":144,"context_line":"                # accommodate the volume. Adjusted free virtual capacity is"},{"line_number":145,"context_line":"                # the currently available free capacity (taking into account"},{"line_number":146,"context_line":"                # of reserved space) which we can over-subscribe."},{"line_number":147,"context_line":"                adjusted_free_virtual \u003d utils.calculate_virtual_free_capacity("},{"line_number":148,"context_line":"                    total_space,"},{"line_number":149,"context_line":"                    free_space,"},{"line_number":150,"context_line":"                    backend_state.provisioned_capacity_gb,"}],"source_content_type":"text/x-python","patch_set":1,"id":"7f515b1d_633b07eb","line":147,"range":{"start_line":147,"start_character":46,"end_line":147,"end_character":77},"updated":"2017-09-26 02:34:43.000000000","message":"calculate_virtual_free_capacity:\n1019         free \u003d (total * max_over_subscription_ratio\n1020                 - provisioned_capacity\n1021                 - math.floor(total * reserved) * max_over_subscription_ratio)\n\nhttps://review.openstack.org/#/c/189261/\nhttps://review.openstack.org/#/c/484354/\n\nNeed unit tests.","commit_id":"94be755a337fc1e90ad015a12d8a65313e1d2e25"}]}
