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:03:16 UTC

[jira] [Created] (TS-1844) efficient HostDB file allocation

James Peach created TS-1844:
-------------------------------

             Summary: 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


HostDB has a rather ugly function called torch_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