You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@trafficserver.apache.org by "James Peach (JIRA)" <ji...@apache.org> on 2013/04/23 07:07:15 UTC
[jira] [Resolved] (TS-1844) efficient HostDB file allocation
[ https://issues.apache.org/jira/browse/TS-1844?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
James Peach resolved TS-1844.
-----------------------------
Resolution: Fixed
> efficient HostDB file allocation
> --------------------------------
>
> Key: TS-1844
> URL: https://issues.apache.org/jira/browse/TS-1844
> Project: Traffic Server
> Issue Type: Bug
> Components: Core
> Reporter: James Peach
> Assignee: James Peach
> Fix For: 3.3.3
>
>
> HostDB has a rather ugly function called zorch_file(), whose purpose is to clear and allocate a DB file. We can do this more cleanly with a combination of ftruncate() and posix_fallocate().
--
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