<feed xmlns='http://www.w3.org/2005/Atom'>
<title>linux/drivers/block/null_blk.c, branch v3.16</title>
<subtitle>Mirror of https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/
</subtitle>
<id>https://git.shady.money/linux/atom?h=v3.16</id>
<link rel='self' href='https://git.shady.money/linux/atom?h=v3.16'/>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/'/>
<updated>2014-06-16T17:40:25Z</updated>
<entry>
<title>null_blk: fix softirq completions for queue_mode == 1</title>
<updated>2014-06-16T17:40:25Z</updated>
<author>
<name>Jens Axboe</name>
<email>axboe@fb.com</email>
</author>
<published>2014-06-16T17:40:25Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=d891fa70876b37941a5c5bed813e73beb53ebcf7'/>
<id>urn:sha1:d891fa70876b37941a5c5bed813e73beb53ebcf7</id>
<content type='text'>
Only blk-mq completions have payload attached to the request, for
request_fn mode we have stored it in req-&gt;special. This fixes an
oops with queue_mode=1 and softirq completions.

Signed-off-by: Jens Axboe &lt;axboe@fb.com&gt;
</content>
</entry>
<entry>
<title>null_blk: fix name and description of 'queue_mode' module parameter</title>
<updated>2014-06-11T21:34:44Z</updated>
<author>
<name>Mike Snitzer</name>
<email>snitzer@redhat.com</email>
</author>
<published>2014-06-11T21:13:50Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=54ae81cd5a20d23fdc7906a59d9018e1a760cadc'/>
<id>urn:sha1:54ae81cd5a20d23fdc7906a59d9018e1a760cadc</id>
<content type='text'>
'use_mq' is not the name of the module parameter, 'queue_mode' is.

Signed-off-by: Mike Snitzer &lt;snitzer@redhat.com&gt;
Signed-off-by: Jens Axboe &lt;axboe@fb.com&gt;
</content>
</entry>
<entry>
<title>Merge branch 'for-3.16/core' into for-3.16/drivers</title>
<updated>2014-05-28T16:18:51Z</updated>
<author>
<name>Jens Axboe</name>
<email>axboe@fb.com</email>
</author>
<published>2014-05-28T16:18:51Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=0fb662e2250afdf2c54253dbf2063dc9d8369b69'/>
<id>urn:sha1:0fb662e2250afdf2c54253dbf2063dc9d8369b69</id>
<content type='text'>
Pull in core changes (again), since we got rid of the alloc/free
hctx mq_ops hooks and mtip32xx then needed updating again.

Signed-off-by: Jens Axboe &lt;axboe@fb.com&gt;
</content>
</entry>
<entry>
<title>blk-mq: remove alloc_hctx and free_hctx methods</title>
<updated>2014-05-28T16:18:31Z</updated>
<author>
<name>Christoph Hellwig</name>
<email>hch@lst.de</email>
</author>
<published>2014-05-28T16:11:06Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=cdef54dd85ad66e77262ea57796a3e81683dd5d6'/>
<id>urn:sha1:cdef54dd85ad66e77262ea57796a3e81683dd5d6</id>
<content type='text'>
There is no need for drivers to control hardware context allocation
now that we do the context to node mapping in common code.

Signed-off-by: Christoph Hellwig &lt;hch@lst.de&gt;
Signed-off-by: Jens Axboe &lt;axboe@fb.com&gt;
</content>
</entry>
<entry>
<title>Merge branch 'for-3.16/core' into for-3.16/drivers</title>
<updated>2014-05-28T15:50:26Z</updated>
<author>
<name>Jens Axboe</name>
<email>axboe@fb.com</email>
</author>
<published>2014-05-28T15:50:26Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=6178976500ae61fa7b12ebb2d3de816dc9396388'/>
<id>urn:sha1:6178976500ae61fa7b12ebb2d3de816dc9396388</id>
<content type='text'>
mtip32xx uses blk_mq_alloc_reserved_request(), so pull in the
core changes so we have a properly merged end result.

Signed-off-by: Jens Axboe &lt;axboe@fb.com&gt;
</content>
</entry>
<entry>
<title>blk-mq: pass in suggested NUMA node to -&gt;alloc_hctx()</title>
<updated>2014-05-27T18:06:53Z</updated>
<author>
<name>Jens Axboe</name>
<email>axboe@fb.com</email>
</author>
<published>2014-05-27T18:06:53Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=f14bbe77a96bb979dc539d8308ee18a9363a544f'/>
<id>urn:sha1:f14bbe77a96bb979dc539d8308ee18a9363a544f</id>
<content type='text'>
Drivers currently have to figure this out on their own, and they
are missing information to do it properly. The ones that did
attempt to do it, do it wrong.

So just pass in the suggested node directly to the alloc
function.

Signed-off-by: Jens Axboe &lt;axboe@fb.com&gt;
</content>
</entry>
<entry>
<title>block: null_blk: fix use after free</title>
<updated>2014-05-01T15:17:41Z</updated>
<author>
<name>Ming Lei</name>
<email>tom.leiming@gmail.com</email>
</author>
<published>2014-05-01T07:12:36Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=fc27691f3537a0df087214322467b642d1f6dedb'/>
<id>urn:sha1:fc27691f3537a0df087214322467b642d1f6dedb</id>
<content type='text'>
entry(cmd-&gt;ll_list) may belong to new request once end_cmd()
returns, so fix the bug with the patch.

Without the change, it is easy to observe oops when
doing null_blk(timer) test.

Signed-off-by: Ming Lei &lt;tom.leiming@gmail.com&gt;
Signed-off-by: Jens Axboe &lt;axboe@fb.com&gt;
</content>
</entry>
<entry>
<title>blk-mq: split out tag initialization, support shared tags</title>
<updated>2014-04-15T20:18:02Z</updated>
<author>
<name>Christoph Hellwig</name>
<email>hch@lst.de</email>
</author>
<published>2014-04-15T20:14:00Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=24d2f90309b23f2cfe016b2aebc5f0d6e01c57fd'/>
<id>urn:sha1:24d2f90309b23f2cfe016b2aebc5f0d6e01c57fd</id>
<content type='text'>
Add a new blk_mq_tag_set structure that gets set up before we initialize
the queue.  A single blk_mq_tag_set structure can be shared by multiple
queues.

Signed-off-by: Christoph Hellwig &lt;hch@lst.de&gt;

Modular export of blk_mq_{alloc,free}_tagset added by me.

Signed-off-by: Jens Axboe &lt;axboe@fb.com&gt;
</content>
</entry>
<entry>
<title>blk-mq: do not initialize req-&gt;special</title>
<updated>2014-04-15T20:03:02Z</updated>
<author>
<name>Christoph Hellwig</name>
<email>hch@lst.de</email>
</author>
<published>2014-04-14T08:30:07Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=9d74e25737d73e93ccddeb5a61bcd56b7b8eb57b'/>
<id>urn:sha1:9d74e25737d73e93ccddeb5a61bcd56b7b8eb57b</id>
<content type='text'>
Drivers can reach their private data easily using the blk_mq_rq_to_pdu
helper and don't need req-&gt;special.  By not initializing it code can
be simplified nicely, and we also shave off a few more instructions from
the I/O path.

Signed-off-by: Christoph Hellwig &lt;hch@lst.de&gt;
Signed-off-by: Jens Axboe &lt;axboe@fb.com&gt;
</content>
</entry>
<entry>
<title>null_blk: use blk_complete_request and blk_mq_complete_request</title>
<updated>2014-02-10T16:27:31Z</updated>
<author>
<name>Christoph Hellwig</name>
<email>hch@infradead.org</email>
</author>
<published>2014-02-10T11:24:40Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=ce2c350b2cfe5b5ca5023a6b1ec4d21821d39add'/>
<id>urn:sha1:ce2c350b2cfe5b5ca5023a6b1ec4d21821d39add</id>
<content type='text'>
Use the block layer helpers for CPU-local completions instead of
reimplementing them locally.

Signed-off-by: Christoph Hellwig &lt;hch@lst.de&gt;
Signed-off-by: Jens Axboe &lt;axboe@fb.com&gt;
</content>
</entry>
</feed>
