You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@trafficserver.apache.org by ig...@apache.org on 2013/02/11 21:06:02 UTC
git commit: Strip docs for Linux system with Kernel <2.6.3
Updated Branches:
refs/heads/3.2.x 6e2e21ead -> 924b551a1
Strip docs for Linux system with Kernel <2.6.3
storage.config meticuliously documents how to create raw devices
on Linux Kernel < 2.6.3. We don't support any system which still
has kernels < 2.6.3, so we're stripping this documentation
Project: http://git-wip-us.apache.org/repos/asf/trafficserver/repo
Commit: http://git-wip-us.apache.org/repos/asf/trafficserver/commit/924b551a
Tree: http://git-wip-us.apache.org/repos/asf/trafficserver/tree/924b551a
Diff: http://git-wip-us.apache.org/repos/asf/trafficserver/diff/924b551a
Branch: refs/heads/3.2.x
Commit: 924b551a15827f15698733411874b4307c57bd06
Parents: 6e2e21e
Author: Igor Galić <i....@brainsware.org>
Authored: Fri Nov 2 11:04:33 2012 +0100
Committer: Igor Galić <i....@brainsware.org>
Committed: Mon Feb 11 21:04:10 2013 +0100
----------------------------------------------------------------------
proxy/config/storage.config.default.in | 56 +++-----------------------
1 files changed, 7 insertions(+), 49 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/trafficserver/blob/924b551a/proxy/config/storage.config.default.in
----------------------------------------------------------------------
diff --git a/proxy/config/storage.config.default.in b/proxy/config/storage.config.default.in
index e71bb8a..5a3b39f 100644
--- a/proxy/config/storage.config.default.in
+++ b/proxy/config/storage.config.default.in
@@ -27,63 +27,21 @@
#
#
#############################################################
-## Linux Specific Configuration ##
+## O_DIRECT Specific Configuration ##
#############################################################
#
-# NOTE: "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 (Jira TS-13)
+# Examples: Using O_DIRECT on disks (Linux kernel >= 2.6.3,
+# FreeBSD > 5.3)
#
-# Example: Using O_DIRECT on disks (kernel >= 2.6.3)
-# or cooked disks (kernel < 2.6.3)
+# /dev/sdb # Linux
+# /dev/ada1 # FreeBSD
#
-# /dev/sdb # 250GB drive
-# /dev/sdc # 250GB drive
-# /dev/sdd # 500GB drive
#
# Note that when using these raw devices in O_DIRECT mode, you
# do not need to specify the partition size. It's automatically
-# detected.
+# detected. For more examples and a complete documentation see
+# http://trafficserver.apache.org/docs/trunk/admin/configuration-files/storage.config
#
-#############################################################
-# USING RAW DISK ON LINUX( kernel < 2.6.3 )
-#############################################################
-# NOTE: To use RAW disk you must use the '/usr/bin/raw' program
-# to bind a raw device to a an existing block device.
-#
-# e.g. Binding the above 3 block devices to raw devices
-#
-# You can set up a few raw devices to start with via mknod:
-#
-# mkdir /dev/raw
-# mknod /dev/rawctl c 162 0
-# chmod 600 /dev/rawctl # This is important!
-#
-# mknod /dev/raw_sdb c 162 1
-# mknod /dev/raw_sdc c 162 2
-# mknod /dev/raw_sdd c 162 3
-#
-# and bind them to whatever block devices you want to use:
-#
-# /usr/bin/raw /dev/raw_sdb /dev/sdb
-# /usr/bin/raw /dev/raw_sdc /dev/sdc
-# /usr/bin/raw /dev/raw_sdd /dev/sdd
-#
-# You can query the binding of an existing raw device with
-#
-# /usr/bin/raw -q /dev/raw/rawN
-#
-# or
-#
-# /usr/bin/raw -a
-#
-# to query them all.
-#
-# Example: raw disk entries for the above must include the *SIZE*
-#
-# /dev/raw_sdb 9105018880
-# /dev/raw_sdc 18210037760
-# /dev/raw_sdd 18210037760
#
# A small default cache (256MB). This is set to allow for the regression test to succeed
# most likely you'll want to use a larger cache. And, we definitely recommend the use