You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@trafficserver.apache.org by "George Paul (JIRA)" <ji...@apache.org> on 2009/11/19 02:23:39 UTC

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

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


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.


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

Posted by "Leif Hedstrom (JIRA)" <ji...@apache.org>.
     [ 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.


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

Posted by "George Paul (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/TS-47?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

George Paul updated TS-47:
--------------------------

    Attachment: TS-47_storage.config_patch.diff

This trivial patch only affects comments

patch -p0 -i TS-47_storage.config_patch.diff

Please review and let me know if there any issues.

-George

> 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.