Re: [1/4] DST: Distributed storage documentation.
- From: "Kay Sievers" <kay.sievers@xxxxxxxx>
- Date: Mon, 10 Dec 2007 13:51:43 +0100
On Dec 10, 2007 12:47 PM, Evgeniy Polyakov <johnpol@xxxxxxxxxxx> wrote:
diff --git a/Documentation/dst/sysfs.txt b/Documentation/dst/sysfs.txt
new file mode 100644
index 0000000..79d79dc
--- /dev/null
+++ b/Documentation/dst/sysfs.txt
@@ -0,0 +1,30 @@
+This file describes sysfs files created for each storage.
+
+1. Per-storage files.
+Each storage has its own dir /sysfs/devices/$storage_name,
It's always /sys/devices/.
+which contains following files:
+
+alg - contains name of the algorithm used to created given storage
+name - name of the storage
+nodes - map of the storage (list of nodes and their sizes and starts)
+remove_all_nodes - writable file which allows to remove all nodes from given
+ storage
+n-$start-$cookie - per node directory, where
+ $start - start of the given node in sectors,
+ $cookie - unique node's id used by DST
+
+2. Per-node files.
+Node's files are located in /sysfs/devices/$storage_name/n-$start-$cookie
+directory, described above.
To which class or bus do the devices you create belong? Care to show a
"tree" or "ls -la" of the device?
Kay
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
- Follow-Ups:
- Re: [1/4] DST: Distributed storage documentation.
- From: Evgeniy Polyakov
- Re: [1/4] DST: Distributed storage documentation.
- References:
- [0/4] DST: Distributed storage.
- From: Evgeniy Polyakov
- [1/4] DST: Distributed storage documentation.
- From: Evgeniy Polyakov
- [0/4] DST: Distributed storage.
- Prev by Date: Re: [RFC] [PATCH] A clean aEvgeniy pproach to writeout throttling
- Next by Date: Re: kernel BUG: Eeek! page_mapcount(page) went negative!
- Previous by thread: Re: [3/4] DST: Network state machine.
- Next by thread: Re: [1/4] DST: Distributed storage documentation.
- Index(es):
Relevant Pages
|