Skip to content

Commit 6e2659a

Browse files
committed
Add RBD features
1 parent 988d63d commit 6e2659a

File tree

1 file changed

+49
-0
lines changed

1 file changed

+49
-0
lines changed

rbd.rst

+49
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,55 @@ RBD
33

44
.. include:: rbd-qemu.rst
55

6+
RBD Features
7+
++++++++++++
8+
9+
В ceph.conf есть параметр rbd_default_features. Там указываются фичи RBD. В
10+
зависимости от версии Ceph можно указывать только числами, либо ещё можно
11+
строками: https://github.com/ceph/ceph/pull/11175.
12+
13+
.. http://www.tablesgenerator.com
14+
15+
+----------------------------+-----------+----------------+-------------------------------------------------------------+
16+
| #define | Численное | Численное | Описание |
17+
| | значение | значение | |
18+
| | | в ceph.conf | |
19+
+----------------------------+-----------+----------------+-------------------------------------------------------------+
20+
| RBD_FEATURE_LAYERING | 1 | layering | Layering support. Layering enables you to use cloning. |
21+
+----------------------------+-----------+----------------+-------------------------------------------------------------+
22+
| RBD_FEATURE_STRIPINGV2 | 2 | striping | Striping spreads data across multiple objects. |
23+
| | | | Striping helps with parallelism for sequential |
24+
| | | | read/write workloads. |
25+
+----------------------------+-----------+----------------+-------------------------------------------------------------+
26+
| RBD_FEATURE_EXCLUSIVE_LOCK | 4 | exclusive-lock | When enabled, it requires a client to get a lock |
27+
| | | | on an object before making a write. |
28+
+----------------------------+-----------+----------------+-------------------------------------------------------------+
29+
| RBD_FEATURE_OBJECT_MAP | 8 | object-map | Block devices are thin provisioned. That mean, they |
30+
| | | | only store data that actually exists. Object map |
31+
| | | | support helps track which objects actually exist |
32+
| | | | (have data stored on a drive). Enabling object map |
33+
| | | | support speeds up I/O operations for cloning, or |
34+
| | | | importing and exporting a sparsely populated image. |
35+
+----------------------------+-----------+----------------+-------------------------------------------------------------+
36+
| RBD_FEATURE_FAST_DIFF | 16 | fast-diff | Fast-diff support depends on object map support and |
37+
| | | | exclusive lock support. It adds another property to the |
38+
| | | | object map, which makes it much faster to generate diffs |
39+
| | | | between snapshots of an image, and the actual data usage |
40+
| | | | of a snapshot much faster. |
41+
+----------------------------+-----------+----------------+-------------------------------------------------------------+
42+
| RBD_FEATURE_DEEP_FLATTEN | 32 | deep-flatten | Deep-flatten makes rbd flatten work on all the snapshots |
43+
| | | | of an image, in addition to the image itself. Without it, |
44+
| | | | snapshots of an image will still rely on the parent, so the |
45+
| | | | parent will not be delete-able until the snapshots are |
46+
| | | | deleted. Deep-flatten makes a parent independent of its |
47+
| | | | clones, even if they have snapshots. |
48+
+----------------------------+-----------+----------------+-------------------------------------------------------------+
49+
| RBD_FEATURE_JOURNALING | 64 | journaling | |
50+
+----------------------------+-----------+----------------+-------------------------------------------------------------+
51+
| RBD_FEATURE_DATA_POOL | 128 | data-pool | |
52+
+----------------------------+-----------+----------------+-------------------------------------------------------------+
53+
54+
655
Недорасписанное
756
+++++++++++++++
857

0 commit comments

Comments
 (0)