[
https://issues.apache.org/jira/browse/TS-1784?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13664009#comment-13664009
]
ASF subversion and git services commented on TS-1784:
-----------------------------------------------------
Commit 9ad03b3ed395b4c2c02359da64ee6590d713afc6 in branch refs/heads/3.2.x from
[~i.galic]
[ https://git-wip-us.apache.org/repos/asf?p=trafficserver.git;h=9ad03b3 ]
Fix TS-1784: Calculate blocks correctly on FreeBSD
FreeBSD calculation of
blocks = size / hw_block_size;
is wrong, because *our* *store* block size defaults to 8k.
I'm further adding comments for future reference in other code paths.
TS-1784 further reminds us that these triple (or more) code paths
are confusing at best, and should be unified.
test/review: +1: igalic, zwoop, jpeach
backport: igalic
> 3.2.x - FreeBSD disk calculations are wrong
> -------------------------------------------
>
> Key: TS-1784
> URL: https://issues.apache.org/jira/browse/TS-1784
> Project: Traffic Server
> Issue Type: Bug
> Components: Cache
> Affects Versions: 3.3.1, 3.2.4
> Reporter: Ben Aitchison
> Assignee: Igor Galić
> Fix For: 3.3.3
>
>
> FreeBSD miscalculates disk size based on config by 2x for file-based, and 16x
> for raw-based.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira