[
https://issues.apache.org/jira/browse/TS-1707?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13577375#comment-13577375
]
ASF subversion and git services commented on TS-1707:
-----------------------------------------------------
Commit 5566ac76d6c4e4f5154421f1ac1077487b02d332 in branch refs/heads/master
from [~i.galic]
[ https://git-wip-us.apache.org/repos/asf?p=trafficserver.git;h=5566ac7 ]
Fix TS-1707: 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-1707 further reminds us that these triple (or more) code paths
are confusing at best, and should be unified.
> FreeBSD disk calculations are wrong
> -----------------------------------
>
> Key: TS-1707
> URL: https://issues.apache.org/jira/browse/TS-1707
> Project: Traffic Server
> Issue Type: Bug
> Components: Cache
> Affects Versions: 3.3.1, 3.2.4
> Reporter: Ben Aitchison
>
> 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