<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kernel.git/drivers/lightnvm/pblk.h, branch linux-4.16.y</title>
<subtitle>Hosts the 0x221E linux distro kernel.
</subtitle>
<id>https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-4.16.y</id>
<link rel='self' href='https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-4.16.y'/>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/'/>
<updated>2018-01-05T15:50:12Z</updated>
<entry>
<title>lightnvm: pblk: refactor pblk_ppa_comp function</title>
<updated>2018-01-05T15:50:12Z</updated>
<author>
<name>Matias Bjørling</name>
</author>
<published>2018-01-05T13:16:21Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=8b7bc849889d36572af5c6e3c3b2ad4b19a81be7'/>
<id>urn:sha1:8b7bc849889d36572af5c6e3c3b2ad4b19a81be7</id>
<content type='text'>
Shorten function to simply return the value of the if statement.

Signed-off-by: Matias Bjørling &lt;m@bjorling.me&gt;
Signed-off-by: Jens Axboe &lt;axboe@kernel.dk&gt;
</content>
</entry>
<entry>
<title>lightnvm: pblk: add iostat support</title>
<updated>2018-01-05T15:50:12Z</updated>
<author>
<name>Javier González</name>
</author>
<published>2018-01-05T13:16:20Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=998ba62973132e886b0411f00bc66fbb31507e84'/>
<id>urn:sha1:998ba62973132e886b0411f00bc66fbb31507e84</id>
<content type='text'>
Since pblk registers its own block device, the iostat accounting is
not automatically done for us. Therefore, add the necessary
accounting logic to satisfy the iostat interface.

Signed-off-by: Javier González &lt;javier@cnexlabs.com&gt;
Signed-off-by: Matias Bjørling &lt;m@bjorling.me&gt;
Signed-off-by: Jens Axboe &lt;axboe@kernel.dk&gt;
</content>
</entry>
<entry>
<title>lightnvm: pblk: do not log recovery read errors</title>
<updated>2018-01-05T15:50:12Z</updated>
<author>
<name>Javier González</name>
</author>
<published>2018-01-05T13:16:16Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=8f554597e00abe04fd1f37c351b38aff33c37fc9'/>
<id>urn:sha1:8f554597e00abe04fd1f37c351b38aff33c37fc9</id>
<content type='text'>
On scan recovery, reads can fail. This happens because the first page
for each line is read in order to determined if the line has been used
(and thus needs to be recovered), or not. This can lead to "empty page"
read errors.

Since these errors are normal, do not log them, as they are confusing
when reviewing the logs.

Signed-off-by: Javier González &lt;javier@cnexlabs.com&gt;
Signed-off-by: Matias Bjørling &lt;m@bjorling.me&gt;
Signed-off-by: Jens Axboe &lt;axboe@kernel.dk&gt;
</content>
</entry>
<entry>
<title>lightnvm: set target over-provision on create ioctl</title>
<updated>2018-01-05T15:50:12Z</updated>
<author>
<name>Javier González</name>
</author>
<published>2018-01-05T13:16:14Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=e53927393b9987b7c986b6364c27111077f0ea3e'/>
<id>urn:sha1:e53927393b9987b7c986b6364c27111077f0ea3e</id>
<content type='text'>
Allow to set the over-provision percentage on target creation. In case
that the value is not provided, fall back to the default value set by
the target.

In pblk, set the default OP to 11% of the total size of the device

Signed-off-by: Javier González &lt;javier@cnexlabs.com&gt;
Signed-off-by: Hans Holmberg &lt;hans.holmberg@cnexlabs.com&gt;
Signed-off-by: Matias Bjørling &lt;m@bjorling.me&gt;
Signed-off-by: Jens Axboe &lt;axboe@kernel.dk&gt;
</content>
</entry>
<entry>
<title>lightnvm: pblk: use exact free block counter in RL</title>
<updated>2018-01-05T15:50:12Z</updated>
<author>
<name>Javier González</name>
</author>
<published>2018-01-05T13:16:13Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=a7689938ef4c8678ff78c44d11e4b0b897244714'/>
<id>urn:sha1:a7689938ef4c8678ff78c44d11e4b0b897244714</id>
<content type='text'>
Until now, pblk's rate-limiter has used a heuristic to reserve space for
GC I/O given that the over-provision area was fixed.

In preparation for allowing to define the over-provision area on target
creation, define a dedicated free_block counter in the rate-limiter to
track the number of blocks being used for user data.

Signed-off-by: Javier González &lt;javier@cnexlabs.com&gt;
Signed-off-by: Hans Holmberg &lt;hans.holmberg@cnexlabs.com&gt;
Signed-off-by: Matias Bjørling &lt;m@bjorling.me&gt;
Signed-off-by: Jens Axboe &lt;axboe@kernel.dk&gt;
</content>
</entry>
<entry>
<title>lightnvm: pblk: rename sync_point to flush_point</title>
<updated>2018-01-05T15:50:12Z</updated>
<author>
<name>Hans Holmberg</name>
</author>
<published>2018-01-05T13:16:09Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=8154d296d904a6627d69878ab217ef6928335c2d'/>
<id>urn:sha1:8154d296d904a6627d69878ab217ef6928335c2d</id>
<content type='text'>
Sync point is a really confusing name for keeping track of
the last entry that needs to be flushed so change the name
to to flush_point instead.

Signed-off-by: Hans Holmberg &lt;hans.holmberg@cnexlabs.com&gt;
Signed-off-by: Javier González &lt;javier@cnexlabs.com&gt;
Signed-off-by: Matias Bjørling &lt;m@bjorling.me&gt;
Signed-off-by: Jens Axboe &lt;axboe@kernel.dk&gt;
</content>
</entry>
<entry>
<title>lightnvm: pblk: refactor emeta consistency check</title>
<updated>2018-01-05T15:50:12Z</updated>
<author>
<name>Hans Holmberg</name>
</author>
<published>2018-01-05T13:16:08Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=06bc072b3fb1d08898b96118ab428ea33a8da0a6'/>
<id>urn:sha1:06bc072b3fb1d08898b96118ab428ea33a8da0a6</id>
<content type='text'>
Currently pblk_recov_get_lba list does two separate things:
it checks the consistency of the emeta and extracts the lba list.

This patch separates the consistency check to make the code easier
to read and to prepare for version checks of the line emeta
persistent data format version.

Signed-off-by: Hans Holmberg &lt;hans.holmberg@cnexlabs.com&gt;
Signed-off-by: Javier González &lt;javier@cnexlabs.com&gt;
Signed-off-by: Matias Bjørling &lt;m@bjorling.me&gt;
Signed-off-by: Jens Axboe &lt;axboe@kernel.dk&gt;
</content>
</entry>
<entry>
<title>lightnvm: pblk: remove pblk_for_each_lun helper</title>
<updated>2018-01-05T15:50:12Z</updated>
<author>
<name>Javier González</name>
</author>
<published>2018-01-05T13:16:07Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=d6d3ec2a3be37ca5309013b46ede37b2aa09ced1'/>
<id>urn:sha1:d6d3ec2a3be37ca5309013b46ede37b2aa09ced1</id>
<content type='text'>
Signed-off-by: Javier González &lt;javier@cnexlabs.com&gt;
Signed-off-by: Matias Bjørling &lt;m@bjorling.me&gt;
Signed-off-by: Jens Axboe &lt;axboe@kernel.dk&gt;
</content>
</entry>
<entry>
<title>lightnvm: pblk: compress and reorder helper functions</title>
<updated>2018-01-05T15:50:12Z</updated>
<author>
<name>Javier González</name>
</author>
<published>2018-01-05T13:16:06Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=b1bcfda10549c6f887e4360a7691021808206c47'/>
<id>urn:sha1:b1bcfda10549c6f887e4360a7691021808206c47</id>
<content type='text'>
Through time, we have generated some redundant helper functions.
Refactor them to eliminate redundant and unnecessary code. Also, reorder
them to improve readability

Signed-off-by: Javier González &lt;javier@cnexlabs.com&gt;
Signed-off-by: Matias Bjørling &lt;m@bjorling.me&gt;
Signed-off-by: Jens Axboe &lt;axboe@kernel.dk&gt;
</content>
</entry>
<entry>
<title>lightnvm: make geometry structures 2.0 ready</title>
<updated>2018-01-05T15:50:12Z</updated>
<author>
<name>Matias Bjørling</name>
</author>
<published>2018-01-05T13:16:03Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=fae7fae4077c24dc2be720b9f21f53adea98d7dd'/>
<id>urn:sha1:fae7fae4077c24dc2be720b9f21f53adea98d7dd</id>
<content type='text'>
Prepare for the 2.0 revision by adapting the geometry
structures to coexist with the 1.2 revision.

Signed-off-by: Matias Bjørling &lt;m@bjorling.me&gt;
Reviewed-by: Javier González &lt;javier@cnexlabs.com&gt;
Signed-off-by: Matias Bjørling &lt;m@bjorling.me&gt;
Signed-off-by: Jens Axboe &lt;axboe@kernel.dk&gt;
</content>
</entry>
</feed>
