<feed xmlns='http://www.w3.org/2005/Atom'>
<title>linux-toradex.git/Documentation/device-mapper, branch v4.18-rc7</title>
<subtitle>Linux kernel for Apalis and Colibri modules</subtitle>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/'/>
<entry>
<title>dm writecache: support optional offset for start of device</title>
<updated>2018-07-02T20:14:02+00:00</updated>
<author>
<name>Mikulas Patocka</name>
<email>mpatocka@redhat.com</email>
</author>
<published>2018-06-29T01:00:14+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=d284f8248c72d0cb36a930920e60592eb455cd0d'/>
<id>d284f8248c72d0cb36a930920e60592eb455cd0d</id>
<content type='text'>
Add an optional parameter "start_sector" to allow the start of the
device to be offset by the specified number of 512-byte sectors.  The
sectors below this offset are not used by the writecache device and are
left to be used for disk labels and/or userspace metadata (e.g. lvm).

Signed-off-by: Mikulas Patocka &lt;mpatocka@redhat.com&gt;
Signed-off-by: Mike Snitzer &lt;snitzer@redhat.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Add an optional parameter "start_sector" to allow the start of the
device to be offset by the specified number of 512-byte sectors.  The
sectors below this offset are not used by the writecache device and are
left to be used for disk labels and/or userspace metadata (e.g. lvm).

Signed-off-by: Mikulas Patocka &lt;mpatocka@redhat.com&gt;
Signed-off-by: Mike Snitzer &lt;snitzer@redhat.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>dm: add writecache target</title>
<updated>2018-06-08T15:59:51+00:00</updated>
<author>
<name>Mikulas Patocka</name>
<email>mpatocka@redhat.com</email>
</author>
<published>2018-03-08T13:25:24+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=48debafe4f2feabcc99f8e2659e80557e3ca6b39'/>
<id>48debafe4f2feabcc99f8e2659e80557e3ca6b39</id>
<content type='text'>
The writecache target caches writes on persistent memory or SSD.
It is intended for databases or other programs that need extremely low
commit latency.

The writecache target doesn't cache reads because reads are supposed to
be cached in page cache in normal RAM.

If persistent memory isn't available this target can still be used in
SSD mode.

Signed-off-by: Mikulas Patocka &lt;mpatocka@redhat.com&gt;
Signed-off-by: Colin Ian King &lt;colin.king@canonical.com&gt; # fix missing goto
Signed-off-by: Ross Zwisler &lt;ross.zwisler@linux.intel.com&gt; # fix compilation issue with !DAX
Signed-off-by: Dan Carpenter &lt;dan.carpenter@oracle.com&gt; # use msecs_to_jiffies
Acked-by: Dan Williams &lt;dan.j.williams@intel.com&gt; # reworks to unify ARM and x86 flushing
Signed-off-by: Mike Snitzer &lt;msnitzer@redhat.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The writecache target caches writes on persistent memory or SSD.
It is intended for databases or other programs that need extremely low
commit latency.

The writecache target doesn't cache reads because reads are supposed to
be cached in page cache in normal RAM.

If persistent memory isn't available this target can still be used in
SSD mode.

Signed-off-by: Mikulas Patocka &lt;mpatocka@redhat.com&gt;
Signed-off-by: Colin Ian King &lt;colin.king@canonical.com&gt; # fix missing goto
Signed-off-by: Ross Zwisler &lt;ross.zwisler@linux.intel.com&gt; # fix compilation issue with !DAX
Signed-off-by: Dan Carpenter &lt;dan.carpenter@oracle.com&gt; # use msecs_to_jiffies
Acked-by: Dan Williams &lt;dan.j.williams@intel.com&gt; # reworks to unify ARM and x86 flushing
Signed-off-by: Mike Snitzer &lt;msnitzer@redhat.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>dm thin: update Documentation to clarify when "read_only" is valid</title>
<updated>2018-05-10T15:18:49+00:00</updated>
<author>
<name>Mike Snitzer</name>
<email>snitzer@redhat.com</email>
</author>
<published>2018-05-10T15:18:49+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=28700a36232ba61fb6ac59466821546cb25aec69'/>
<id>28700a36232ba61fb6ac59466821546cb25aec69</id>
<content type='text'>
Due to user confusion, clarify that it doesn't make sense to try to
create a thin-pool with "read_only" mode enabled.

Signed-off-by: Mike Snitzer &lt;snitzer@redhat.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Due to user confusion, clarify that it doesn't make sense to try to
create a thin-pool with "read_only" mode enabled.

Signed-off-by: Mike Snitzer &lt;snitzer@redhat.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>dm verity: add 'check_at_most_once' option to only validate hashes once</title>
<updated>2018-04-03T19:04:29+00:00</updated>
<author>
<name>Patrik Torstensson</name>
<email>totte@google.com</email>
</author>
<published>2018-03-23T01:18:04+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=843f38d382b1ca2f6f4ae2ef7c35933e6319ffbb'/>
<id>843f38d382b1ca2f6f4ae2ef7c35933e6319ffbb</id>
<content type='text'>
This allows platforms that are CPU/memory contrained to verify data
blocks only the first time they are read from the data device, rather
than every time.  As such, it provides a reduced level of security
because only offline tampering of the data device's content will be
detected, not online tampering.

Hash blocks are still verified each time they are read from the hash
device, since verification of hash blocks is less performance critical
than data blocks, and a hash block will not be verified any more after
all the data blocks it covers have been verified anyway.

This option introduces a bitset that is used to check if a block has
been validated before or not.  A block can be validated more than once
as there is no thread protection for the bitset.

These changes were developed and tested on entry-level Android Go
devices.

Signed-off-by: Patrik Torstensson &lt;totte@google.com&gt;
Signed-off-by: Mike Snitzer &lt;snitzer@redhat.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This allows platforms that are CPU/memory contrained to verify data
blocks only the first time they are read from the data device, rather
than every time.  As such, it provides a reduced level of security
because only offline tampering of the data device's content will be
detected, not online tampering.

Hash blocks are still verified each time they are read from the hash
device, since verification of hash blocks is less performance critical
than data blocks, and a hash block will not be verified any more after
all the data blocks it covers have been verified anyway.

This option introduces a bitset that is used to check if a block has
been validated before or not.  A block can be validated more than once
as there is no thread protection for the bitset.

These changes were developed and tested on entry-level Android Go
devices.

Signed-off-by: Patrik Torstensson &lt;totte@google.com&gt;
Signed-off-by: Mike Snitzer &lt;snitzer@redhat.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>dm cache: Documentation: update default migration_throttling value</title>
<updated>2018-01-30T21:55:47+00:00</updated>
<author>
<name>John Pittman</name>
<email>jpittman@redhat.com</email>
</author>
<published>2018-01-30T21:39:00+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=9614e2ba9161c7f5419f4212fa6057d2a65f6ae6'/>
<id>9614e2ba9161c7f5419f4212fa6057d2a65f6ae6</id>
<content type='text'>
In commit f8350daf7af0 ("dm cache: tune migration throttling") the
value for DEFAULT_MIGRATION_THRESHOLD was decreased from 204800 to
2048.  Edit device-mapper/cache.txt to reflect the correct default
value for migration_threshold.

Signed-off-by: John Pittman &lt;jpittman@redhat.com&gt;
Signed-off-by: Mike Snitzer &lt;snitzer@redhat.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
In commit f8350daf7af0 ("dm cache: tune migration throttling") the
value for DEFAULT_MIGRATION_THRESHOLD was decreased from 204800 to
2048.  Edit device-mapper/cache.txt to reflect the correct default
value for migration_threshold.

Signed-off-by: John Pittman &lt;jpittman@redhat.com&gt;
Signed-off-by: Mike Snitzer &lt;snitzer@redhat.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>dm thin: extend thinpool status format string with omitted fields</title>
<updated>2018-01-17T14:16:12+00:00</updated>
<author>
<name>mulhern</name>
<email>amulhern@redhat.com</email>
</author>
<published>2017-11-27T15:02:45+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=7efd5fed6fd713e206ace4b71116d0a5d719fb0a'/>
<id>7efd5fed6fd713e206ace4b71116d0a5d719fb0a</id>
<content type='text'>
Signed-off-by: mulhern &lt;amulhern@redhat.com&gt;
Signed-off-by: Mike Snitzer &lt;snitzer@redhat.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Signed-off-by: mulhern &lt;amulhern@redhat.com&gt;
Signed-off-by: Mike Snitzer &lt;snitzer@redhat.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>dm thin: fixes in thin-provisioning.txt</title>
<updated>2018-01-17T14:16:12+00:00</updated>
<author>
<name>mulhern</name>
<email>amulhern@redhat.com</email>
</author>
<published>2017-11-27T15:02:44+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=cc3ff0af19499f0aaa587f42d3091b4dff49208f'/>
<id>cc3ff0af19499f0aaa587f42d3091b4dff49208f</id>
<content type='text'>
Make the format string for thinpool status more correct.

Swap the order of two items to correspond with reality.

Signed-off-by: mulhern &lt;amulhern@redhat.com&gt;
Signed-off-by: Mike Snitzer &lt;snitzer@redhat.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Make the format string for thinpool status more correct.

Swap the order of two items to correspond with reality.

Signed-off-by: mulhern &lt;amulhern@redhat.com&gt;
Signed-off-by: Mike Snitzer &lt;snitzer@redhat.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>dm thin: document representation of &lt;highest mapped sector&gt; when there is none</title>
<updated>2018-01-17T14:16:11+00:00</updated>
<author>
<name>mulhern</name>
<email>amulhern@redhat.com</email>
</author>
<published>2017-11-27T15:02:43+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=2bc8a61c696e41eef27ab7ff3bcfe75d2daf573a'/>
<id>2bc8a61c696e41eef27ab7ff3bcfe75d2daf573a</id>
<content type='text'>
Signed-off-by: mulhern &lt;amulhern@redhat.com&gt;
Signed-off-by: Mike Snitzer &lt;snitzer@redhat.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Signed-off-by: mulhern &lt;amulhern@redhat.com&gt;
Signed-off-by: Mike Snitzer &lt;snitzer@redhat.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>dm thin: fix documentation relative to low water mark threshold</title>
<updated>2018-01-17T14:16:10+00:00</updated>
<author>
<name>mulhern</name>
<email>amulhern@redhat.com</email>
</author>
<published>2017-11-27T15:02:39+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=9b28a1102efc75d81298198166ead87d643a29ce'/>
<id>9b28a1102efc75d81298198166ead87d643a29ce</id>
<content type='text'>
Fixes:
1. The use of "exceeds" when the opposite of exceeds, falls below,
was meant.
2. Properly speaking, a table can not exceed a threshold.

It emphasizes the important point, which is that it is the userspace
daemon's responsibility to check for low free space when a device
is resumed, since it won't get a special event indicating low free
space in that situation.

Signed-off-by: mulhern &lt;amulhern@redhat.com&gt;
Signed-off-by: Mike Snitzer &lt;snitzer@redhat.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Fixes:
1. The use of "exceeds" when the opposite of exceeds, falls below,
was meant.
2. Properly speaking, a table can not exceed a threshold.

It emphasizes the important point, which is that it is the userspace
daemon's responsibility to check for low free space when a device
is resumed, since it won't get a special event indicating low free
space in that situation.

Signed-off-by: mulhern &lt;amulhern@redhat.com&gt;
Signed-off-by: Mike Snitzer &lt;snitzer@redhat.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>dm cache: be consistent in specifying sectors and SI units in cache.txt</title>
<updated>2018-01-17T14:16:09+00:00</updated>
<author>
<name>mulhern</name>
<email>amulhern@redhat.com</email>
</author>
<published>2017-11-27T15:02:42+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=1346638e5f80588dfafbf07315f72b84c2ab1113'/>
<id>1346638e5f80588dfafbf07315f72b84c2ab1113</id>
<content type='text'>
Signed-off-by: mulhern &lt;amulhern@redhat.com&gt;
Signed-off-by: Mike Snitzer &lt;snitzer@redhat.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Signed-off-by: mulhern &lt;amulhern@redhat.com&gt;
Signed-off-by: Mike Snitzer &lt;snitzer@redhat.com&gt;
</pre>
</div>
</content>
</entry>
</feed>
