<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kernel/linux.git/drivers/block/null_blk.h, branch v4.19.16</title>
<subtitle>Linux kernel stable tree (mirror)</subtitle>
<id>https://git.radix-linux.su/kernel/linux.git/atom?h=v4.19.16</id>
<link rel='self' href='https://git.radix-linux.su/kernel/linux.git/atom?h=v4.19.16'/>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/'/>
<updated>2018-09-13T00:21:11+00:00</updated>
<entry>
<title>null_blk: fix zoned support for non-rq based operation</title>
<updated>2018-09-13T00:21:11+00:00</updated>
<author>
<name>Jens Axboe</name>
<email>axboe@kernel.dk</email>
</author>
<published>2018-09-13T00:21:11+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/commit/?id=b228ba1cb95afbaeeb86cf06cd9fd6f6369c3b14'/>
<id>urn:sha1:b228ba1cb95afbaeeb86cf06cd9fd6f6369c3b14</id>
<content type='text'>
The supported added for zones in null_blk seem to assume that only rq
based operation is possible. But this depends on the queue_mode setting,
if this is set to 0, then cmd-&gt;bio is what we need to be operating on.
Right now any attempt to load null_blk with queue_mode=0 will
insta-crash, since cmd-&gt;rq is NULL and null_handle_cmd() assumes it to
always be set.

Make the zoned code deal with bio's instead, or pass in the
appropriate sector/nr_sectors instead.

Fixes: ca4b2a011948 ("null_blk: add zone support")
Tested-by: Omar Sandoval &lt;osandov@fb.com&gt;
Signed-off-by: Jens Axboe &lt;axboe@kernel.dk&gt;
</content>
</entry>
<entry>
<title>null_blk: add zone support</title>
<updated>2018-07-09T15:07:55+00:00</updated>
<author>
<name>Matias Bjørling</name>
<email>matias.bjorling@wdc.com</email>
</author>
<published>2018-07-06T17:38:39+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/commit/?id=ca4b2a011948fae4e4d31490107db4926385a983'/>
<id>urn:sha1:ca4b2a011948fae4e4d31490107db4926385a983</id>
<content type='text'>
Adds support for exposing a null_blk device through the zone device
interface.

The interface is managed with the parameters zoned and zone_size.
If zoned is set, the null_blk instance registers as a zoned block
device. The zone_size parameter defines how big each zone will be.

Signed-off-by: Matias Bjørling &lt;matias.bjorling@wdc.com&gt;
Signed-off-by: Bart Van Assche &lt;bart.vanassche@wdc.com&gt;
Signed-off-by: Damien Le Moal &lt;damien.lemoal@wdc.com&gt;
Signed-off-by: Jens Axboe &lt;axboe@kernel.dk&gt;
</content>
</entry>
<entry>
<title>null_blk: move shared definitions to header file</title>
<updated>2018-07-09T15:07:54+00:00</updated>
<author>
<name>Matias Bjørling</name>
<email>matias.bjorling@wdc.com</email>
</author>
<published>2018-07-06T17:38:38+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/commit/?id=6dad38d38f20c0c8a84b5ae4f23c62b2c8758ec5'/>
<id>urn:sha1:6dad38d38f20c0c8a84b5ae4f23c62b2c8758ec5</id>
<content type='text'>
Split the null_blk device driver, such that it can prepare for
zoned block interface support.

Signed-off-by: Matias Bjørling &lt;matias.bjorling@wdc.com&gt;
Signed-off-by: Jens Axboe &lt;axboe@kernel.dk&gt;
</content>
</entry>
</feed>
