You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@trafficserver.apache.org by "Leif Hedstrom (JIRA)" <ji...@apache.org> on 2009/12/07 19:05:19 UTC

[jira] Resolved: (TS-47) Cache: Update comments and examples in proxy/config/storage.config

     [ https://issues.apache.org/jira/browse/TS-47?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Leif Hedstrom resolved TS-47.
-----------------------------

    Resolution: Fixed

Checked in, patch as provided by George Paul.

r=leif.

> Cache: Update comments and examples in proxy/config/storage.config
> ------------------------------------------------------------------
>
>                 Key: TS-47
>                 URL: https://issues.apache.org/jira/browse/TS-47
>             Project: Traffic Server
>          Issue Type: Bug
>          Components: Cache
>    Affects Versions: 2.0a
>         Environment: All Linux
>            Reporter: George Paul
>            Priority: Trivial
>         Attachments: TS-47_storage.config_patch.diff
>
>
> Updating the comments and examples in proxy/config/storage.config to reflect how to use a file for cache storage and also that support for O_DIRECT exists for kernels >= 2.6.3.  "Raw device" support has been declared obsolete since kernel 2.6.3. http://lkml.org/lkml/2007/2/16/431 in favor of 'O_DIRECT' flag which is in Jira TS-13.
> Using a file for the cache storage:
> <pathname> <size>
> Where 'pathname' is full path to the directory where you want the cache-file to live and 'size' is size in bytes
> Example: 128MB cache file(/usr/local/trafficserver/cache/cache.db)
> /usr/local/trafficserver/cache 134217728
> Example: Using O_DIRECT on disks (kernel >= 2.6.3) or cooked disks (kernel < 2.6.3)
> /dev/sdb            # 250GB drive
> /dev/sdc            # 250GB drive
> /dev/sdd            # 500GB drive
> -George

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.