@@ -28,27 +28,17 @@ ndctl create-namespace -f -e namespace0.0 --mode=sector
28
28
29
29
OPTIONS
30
30
-------
31
- -t::
32
- --type=::
33
- Create a 'pmem' or 'blk' namespace (subject to available
34
- capacity). A pmem namespace supports the dax (direct access)
35
- capability to linkndctl:mmap[2] persistent memory directly into
36
- a process address space. A blk namespace access persistent
37
- memory through a block-window-aperture. Compared to pmem it
38
- supports a traditional storage error model (EIO on error rather
39
- than a cpu exception on a bad memory access), but it does not
40
- support dax.
41
-
42
31
-m::
43
32
--mode=::
44
33
- "raw": expose the namespace capacity directly with
45
- limitations. Neither a raw pmem namepace nor raw blk
46
- namespace support sector atomicity by default (see "sector"
47
- mode below). A raw pmem namespace may have limited to no dax
48
- support depending the kernel. In other words operations like
49
- direct-I/O targeting a dax buffer may fail for a pmem
50
- namespace in raw mode or indirect through a page-cache buffer.
51
- See "fsdax" and "devdax" mode for dax operation.
34
+ limitations. A raw pmem namepace namespace does not support
35
+ sector atomicity (see "sector" mode below). A raw pmem
36
+ namespace may have limited to no dax support depending the
37
+ kernel. In other words operations like direct-I/O targeting a
38
+ dax buffer may fail for a pmem namespace in raw mode or
39
+ indirect through a page-cache buffer. See "fsdax" and
40
+ "devdax" mode for dax operation.
41
+
52
42
53
43
- "sector": persistent memory, given that it is byte
54
44
addressable, does not support sector atomicity. The
@@ -206,8 +196,7 @@ OPTIONS
206
196
* NVDIMM does not support labels
207
197
208
198
* The NVDIMM supports labels, but the Label Index Block (see
209
- UEFI 2.7) is not present and there is no capacity aliasing
210
- between 'blk' and 'pmem' regions.
199
+ UEFI 2.7) is not present.
211
200
212
201
- In the latter case the configuration can be upgraded to
213
202
labelled operation by writing an index block on all DIMMs in a
0 commit comments