commit | a967fae362f55ee7162fb48776dfac69d4f28d1c | [log] [tgz] |
---|---|---|
author | Jason Evans <jasone@canonware.com> | Thu Nov 03 23:49:21 2016 -0700 |
committer | Jason Evans <jasone@canonware.com> | Thu Nov 03 23:49:21 2016 -0700 |
tree | bf3de8a61e9cb545c6c8e20a150dbd4896e26d6d | |
parent | 4a7852137d8b6598fdb90ea8e1fd3bc8a8b94a3a [diff] |
Fix/simplify extent_recycle() allocation size computations. Do not call s2u() during alloc_size computation, since any necessary ceiling increase is taken care of later by extent_first_best_fit() --> extent_size_quantize_ceil(), and the s2u() call may erroneously cause a higher quantization result. Remove an overly strict overflow check that was added in 4a7852137d8b6598fdb90ea8e1fd3bc8a8b94a3a (Fix extent_recycle()'s cache-oblivious padding support.).