<feed xmlns='http://www.w3.org/2005/Atom'>
<title>linux-toradex.git/drivers/block/xen-blkback, branch v3.18-rc5</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>Merge branch 'for-3.18/drivers' of git://git.kernel.dk/linux-block</title>
<updated>2014-10-18T19:12:45+00:00</updated>
<author>
<name>Linus Torvalds</name>
<email>torvalds@linux-foundation.org</email>
</author>
<published>2014-10-18T19:12:45+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=e75437fb9322cf0ac707046a12d78a25f9d52ccf'/>
<id>e75437fb9322cf0ac707046a12d78a25f9d52ccf</id>
<content type='text'>
Pull block layer driver update from Jens Axboe:
 "This is the block driver pull request for 3.18.  Not a lot in there
  this round, and nothing earth shattering.

   - A round of drbd fixes from the linbit team, and an improvement in
     asender performance.

   - Removal of deprecated (and unused) IRQF_DISABLED flag in rsxx and
     hd from Michael Opdenacker.

   - Disable entropy collection from flash devices by default, from Mike
     Snitzer.

   - A small collection of xen blkfront/back fixes from Roger Pau Monné
     and Vitaly Kuznetsov"

* 'for-3.18/drivers' of git://git.kernel.dk/linux-block:
  block: disable entropy contributions for nonrot devices
  xen, blkfront: factor out flush-related checks from do_blkif_request()
  xen-blkback: fix leak on grant map error path
  xen/blkback: unmap all persistent grants when frontend gets disconnected
  rsxx: Remove deprecated IRQF_DISABLED
  block: hd: remove deprecated IRQF_DISABLED
  drbd: use RB_DECLARE_CALLBACKS() to define augment callbacks
  drbd: compute the end before rb_insert_augmented()
  drbd: Add missing newline in resync progress display in /proc/drbd
  drbd: reduce lock contention in drbd_worker
  drbd: Improve asender performance
  drbd: Get rid of the WORK_PENDING macro
  drbd: Get rid of the __no_warn and __cond_lock macros
  drbd: Avoid inconsistent locking warning
  drbd: Remove superfluous newline from "resync_extents" debugfs entry.
  drbd: Use consistent names for all the bi_end_io callbacks
  drbd: Use better variable names
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Pull block layer driver update from Jens Axboe:
 "This is the block driver pull request for 3.18.  Not a lot in there
  this round, and nothing earth shattering.

   - A round of drbd fixes from the linbit team, and an improvement in
     asender performance.

   - Removal of deprecated (and unused) IRQF_DISABLED flag in rsxx and
     hd from Michael Opdenacker.

   - Disable entropy collection from flash devices by default, from Mike
     Snitzer.

   - A small collection of xen blkfront/back fixes from Roger Pau Monné
     and Vitaly Kuznetsov"

* 'for-3.18/drivers' of git://git.kernel.dk/linux-block:
  block: disable entropy contributions for nonrot devices
  xen, blkfront: factor out flush-related checks from do_blkif_request()
  xen-blkback: fix leak on grant map error path
  xen/blkback: unmap all persistent grants when frontend gets disconnected
  rsxx: Remove deprecated IRQF_DISABLED
  block: hd: remove deprecated IRQF_DISABLED
  drbd: use RB_DECLARE_CALLBACKS() to define augment callbacks
  drbd: compute the end before rb_insert_augmented()
  drbd: Add missing newline in resync progress display in /proc/drbd
  drbd: reduce lock contention in drbd_worker
  drbd: Improve asender performance
  drbd: Get rid of the WORK_PENDING macro
  drbd: Get rid of the __no_warn and __cond_lock macros
  drbd: Avoid inconsistent locking warning
  drbd: Remove superfluous newline from "resync_extents" debugfs entry.
  drbd: Use consistent names for all the bi_end_io callbacks
  drbd: Use better variable names
</pre>
</div>
</content>
</entry>
<entry>
<title>xen: remove DEFINE_XENBUS_DRIVER() macro</title>
<updated>2014-10-06T09:27:57+00:00</updated>
<author>
<name>David Vrabel</name>
<email>david.vrabel@citrix.com</email>
</author>
<published>2014-09-08T16:30:41+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=95afae481414cbdb0567bf82d5e5077c3ac9da20'/>
<id>95afae481414cbdb0567bf82d5e5077c3ac9da20</id>
<content type='text'>
The DEFINE_XENBUS_DRIVER() macro looks a bit weird and causes sparse
errors.

Replace the uses with standard structure definitions instead.  This is
similar to pci and usb device registration.

Signed-off-by: David Vrabel &lt;david.vrabel@citrix.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The DEFINE_XENBUS_DRIVER() macro looks a bit weird and causes sparse
errors.

Replace the uses with standard structure definitions instead.  This is
similar to pci and usb device registration.

Signed-off-by: David Vrabel &lt;david.vrabel@citrix.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>xen-blkback: fix leak on grant map error path</title>
<updated>2014-10-01T20:32:31+00:00</updated>
<author>
<name>Roger Pau Monné</name>
<email>roger.pau@citrix.com</email>
</author>
<published>2014-09-15T09:55:27+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=61cecca865280bef4f8a9748d0a9afa5df351ac2'/>
<id>61cecca865280bef4f8a9748d0a9afa5df351ac2</id>
<content type='text'>
Fix leaking a page when a grant mapping has failed.

CC: stable@vger.kernel.org
Signed-off-by: Roger Pau Monné &lt;roger.pau@citrix.com&gt;
Reported-and-Tested-by: Tao Chen &lt;boby.chen@huawei.com&gt;
Signed-off-by: Konrad Rzeszutek Wilk &lt;konrad.wilk@oracle.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Fix leaking a page when a grant mapping has failed.

CC: stable@vger.kernel.org
Signed-off-by: Roger Pau Monné &lt;roger.pau@citrix.com&gt;
Reported-and-Tested-by: Tao Chen &lt;boby.chen@huawei.com&gt;
Signed-off-by: Konrad Rzeszutek Wilk &lt;konrad.wilk@oracle.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>xen/blkback: unmap all persistent grants when frontend gets disconnected</title>
<updated>2014-10-01T20:32:23+00:00</updated>
<author>
<name>Vitaly Kuznetsov</name>
<email>vkuznets@redhat.com</email>
</author>
<published>2014-09-08T13:21:33+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=12ea729645ace01e08f9654df155622898d3aae6'/>
<id>12ea729645ace01e08f9654df155622898d3aae6</id>
<content type='text'>
blkback does not unmap persistent grants when frontend goes to Closed
state (e.g. when blkfront module is being removed). This leads to the
following in guest's dmesg:

[  343.243825] xen:grant_table: WARNING: g.e. 0x445 still in use!
[  343.243825] xen:grant_table: WARNING: g.e. 0x42a still in use!
...

When load module -&gt; use device -&gt; unload module sequence is performed multiple times
it is possible to hit BUG() condition in blkfront module:

[  343.243825] kernel BUG at drivers/block/xen-blkfront.c:954!
[  343.243825] invalid opcode: 0000 [#1] SMP
[  343.243825] Modules linked in: xen_blkfront(-) ata_generic pata_acpi [last unloaded: xen_blkfront]
...
[  343.243825] Call Trace:
[  343.243825]  [&lt;ffffffff814111ef&gt;] ? unregister_xenbus_watch+0x16f/0x1e0
[  343.243825]  [&lt;ffffffffa0016fbf&gt;] blkfront_remove+0x3f/0x140 [xen_blkfront]
...
[  343.243825] RIP  [&lt;ffffffffa0016aae&gt;] blkif_free+0x34e/0x360 [xen_blkfront]
[  343.243825]  RSP &lt;ffff88001eb8fdc0&gt;

We don't need to keep these grants if we're disconnecting as frontend might already
forgot about them. Solve the issue by moving xen_blkbk_free_caches() call from
xen_blkif_free() to xen_blkif_disconnect().

Now we can see the following:
[  928.590893] xen:grant_table: WARNING: g.e. 0x587 still in use!
[  928.591861] xen:grant_table: WARNING: g.e. 0x372 still in use!
...
[  929.592146] xen:grant_table: freeing g.e. 0x587
[  929.597174] xen:grant_table: freeing g.e. 0x372
...

Backend does not keep persistent grants any more, reconnect works fine.

CC: stable@vger.kernel.org
Signed-off-by: Vitaly Kuznetsov &lt;vkuznets@redhat.com&gt;
Signed-off-by: Konrad Rzeszutek Wilk &lt;konrad.wilk@oracle.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
blkback does not unmap persistent grants when frontend goes to Closed
state (e.g. when blkfront module is being removed). This leads to the
following in guest's dmesg:

[  343.243825] xen:grant_table: WARNING: g.e. 0x445 still in use!
[  343.243825] xen:grant_table: WARNING: g.e. 0x42a still in use!
...

When load module -&gt; use device -&gt; unload module sequence is performed multiple times
it is possible to hit BUG() condition in blkfront module:

[  343.243825] kernel BUG at drivers/block/xen-blkfront.c:954!
[  343.243825] invalid opcode: 0000 [#1] SMP
[  343.243825] Modules linked in: xen_blkfront(-) ata_generic pata_acpi [last unloaded: xen_blkfront]
...
[  343.243825] Call Trace:
[  343.243825]  [&lt;ffffffff814111ef&gt;] ? unregister_xenbus_watch+0x16f/0x1e0
[  343.243825]  [&lt;ffffffffa0016fbf&gt;] blkfront_remove+0x3f/0x140 [xen_blkfront]
...
[  343.243825] RIP  [&lt;ffffffffa0016aae&gt;] blkif_free+0x34e/0x360 [xen_blkfront]
[  343.243825]  RSP &lt;ffff88001eb8fdc0&gt;

We don't need to keep these grants if we're disconnecting as frontend might already
forgot about them. Solve the issue by moving xen_blkbk_free_caches() call from
xen_blkif_free() to xen_blkif_disconnect().

Now we can see the following:
[  928.590893] xen:grant_table: WARNING: g.e. 0x587 still in use!
[  928.591861] xen:grant_table: WARNING: g.e. 0x372 still in use!
...
[  929.592146] xen:grant_table: freeing g.e. 0x587
[  929.597174] xen:grant_table: freeing g.e. 0x372
...

Backend does not keep persistent grants any more, reconnect works fine.

CC: stable@vger.kernel.org
Signed-off-by: Vitaly Kuznetsov &lt;vkuznets@redhat.com&gt;
Signed-off-by: Konrad Rzeszutek Wilk &lt;konrad.wilk@oracle.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>xen-blkback: defer freeing blkif to avoid blocking xenwatch</title>
<updated>2014-05-28T18:17:32+00:00</updated>
<author>
<name>Valentin Priescu</name>
<email>priescuv@amazon.com</email>
</author>
<published>2014-05-20T20:28:50+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=814d04e7dfc4a9cf7e36656afe2da5c0c08dde2b'/>
<id>814d04e7dfc4a9cf7e36656afe2da5c0c08dde2b</id>
<content type='text'>
Currently xenwatch blocks in VBD disconnect, waiting for all pending I/O
requests to finish. If the VBD is attached to a hot-swappable disk, then
xenwatch can hang for a long period of time, stalling other watches.

 INFO: task xenwatch:39 blocked for more than 120 seconds.
 "echo 0 &gt; /proc/sys/kernel/hung_task_timeout_secs" disables this message.
 ffff880057f01bd0 0000000000000246 ffff880057f01ac0 ffffffff810b0782
 ffff880057f01ad0 00000000000131c0 0000000000000004 ffff880057edb040
 ffff8800344c6080 0000000000000000 ffff880058c00ba0 ffff880057edb040
 Call Trace:
 [&lt;ffffffff810b0782&gt;] ? irq_to_desc+0x12/0x20
 [&lt;ffffffff8128f761&gt;] ? list_del+0x11/0x40
 [&lt;ffffffff8147a080&gt;] ? wait_for_common+0x60/0x160
 [&lt;ffffffff8147bcef&gt;] ? _raw_spin_lock_irqsave+0x2f/0x50
 [&lt;ffffffff8147bd49&gt;] ? _raw_spin_unlock_irqrestore+0x19/0x20
 [&lt;ffffffff8147a26a&gt;] schedule+0x3a/0x60
 [&lt;ffffffffa018fe6a&gt;] xen_blkif_disconnect+0x8a/0x100 [xen_blkback]
 [&lt;ffffffff81079f70&gt;] ? wake_up_bit+0x40/0x40
 [&lt;ffffffffa018ffce&gt;] xen_blkbk_remove+0xae/0x1e0 [xen_blkback]
 [&lt;ffffffff8130b254&gt;] xenbus_dev_remove+0x44/0x90
 [&lt;ffffffff81345cb7&gt;] __device_release_driver+0x77/0xd0
 [&lt;ffffffff81346488&gt;] device_release_driver+0x28/0x40
 [&lt;ffffffff813456e8&gt;] bus_remove_device+0x78/0xe0
 [&lt;ffffffff81342c9f&gt;] device_del+0x12f/0x1a0
 [&lt;ffffffff81342d2d&gt;] device_unregister+0x1d/0x60
 [&lt;ffffffffa0190826&gt;] frontend_changed+0xa6/0x4d0 [xen_blkback]
 [&lt;ffffffffa019c252&gt;] ? frontend_changed+0x192/0x650 [xen_netback]
 [&lt;ffffffff8130ae50&gt;] ? cmp_dev+0x60/0x60
 [&lt;ffffffff81344fe4&gt;] ? bus_for_each_dev+0x94/0xa0
 [&lt;ffffffff8130b06e&gt;] xenbus_otherend_changed+0xbe/0x120
 [&lt;ffffffff8130b4cb&gt;] frontend_changed+0xb/0x10
 [&lt;ffffffff81309c82&gt;] xenwatch_thread+0xf2/0x130
 [&lt;ffffffff81079f70&gt;] ? wake_up_bit+0x40/0x40
 [&lt;ffffffff81309b90&gt;] ? xenbus_directory+0x80/0x80
 [&lt;ffffffff810799d6&gt;] kthread+0x96/0xa0
 [&lt;ffffffff81485934&gt;] kernel_thread_helper+0x4/0x10
 [&lt;ffffffff814839f3&gt;] ? int_ret_from_sys_call+0x7/0x1b
 [&lt;ffffffff8147c17c&gt;] ? retint_restore_args+0x5/0x6
 [&lt;ffffffff81485930&gt;] ? gs_change+0x13/0x13

With this patch, when there is still pending I/O, the actual disconnect
is done by the last reference holder (last pending I/O request). In this
case, xenwatch doesn't block indefinitely.

Signed-off-by: Valentin Priescu &lt;priescuv@amazon.com&gt;
Reviewed-by: Steven Kady &lt;stevkady@amazon.com&gt;
Reviewed-by: Steven Noonan &lt;snoonan@amazon.com&gt;
Reviewed-by: David Vrabel &lt;david.vrabel@citrix.com&gt;
Signed-off-by: Konrad Rzeszutek Wilk &lt;konrad.wilk@oracle.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Currently xenwatch blocks in VBD disconnect, waiting for all pending I/O
requests to finish. If the VBD is attached to a hot-swappable disk, then
xenwatch can hang for a long period of time, stalling other watches.

 INFO: task xenwatch:39 blocked for more than 120 seconds.
 "echo 0 &gt; /proc/sys/kernel/hung_task_timeout_secs" disables this message.
 ffff880057f01bd0 0000000000000246 ffff880057f01ac0 ffffffff810b0782
 ffff880057f01ad0 00000000000131c0 0000000000000004 ffff880057edb040
 ffff8800344c6080 0000000000000000 ffff880058c00ba0 ffff880057edb040
 Call Trace:
 [&lt;ffffffff810b0782&gt;] ? irq_to_desc+0x12/0x20
 [&lt;ffffffff8128f761&gt;] ? list_del+0x11/0x40
 [&lt;ffffffff8147a080&gt;] ? wait_for_common+0x60/0x160
 [&lt;ffffffff8147bcef&gt;] ? _raw_spin_lock_irqsave+0x2f/0x50
 [&lt;ffffffff8147bd49&gt;] ? _raw_spin_unlock_irqrestore+0x19/0x20
 [&lt;ffffffff8147a26a&gt;] schedule+0x3a/0x60
 [&lt;ffffffffa018fe6a&gt;] xen_blkif_disconnect+0x8a/0x100 [xen_blkback]
 [&lt;ffffffff81079f70&gt;] ? wake_up_bit+0x40/0x40
 [&lt;ffffffffa018ffce&gt;] xen_blkbk_remove+0xae/0x1e0 [xen_blkback]
 [&lt;ffffffff8130b254&gt;] xenbus_dev_remove+0x44/0x90
 [&lt;ffffffff81345cb7&gt;] __device_release_driver+0x77/0xd0
 [&lt;ffffffff81346488&gt;] device_release_driver+0x28/0x40
 [&lt;ffffffff813456e8&gt;] bus_remove_device+0x78/0xe0
 [&lt;ffffffff81342c9f&gt;] device_del+0x12f/0x1a0
 [&lt;ffffffff81342d2d&gt;] device_unregister+0x1d/0x60
 [&lt;ffffffffa0190826&gt;] frontend_changed+0xa6/0x4d0 [xen_blkback]
 [&lt;ffffffffa019c252&gt;] ? frontend_changed+0x192/0x650 [xen_netback]
 [&lt;ffffffff8130ae50&gt;] ? cmp_dev+0x60/0x60
 [&lt;ffffffff81344fe4&gt;] ? bus_for_each_dev+0x94/0xa0
 [&lt;ffffffff8130b06e&gt;] xenbus_otherend_changed+0xbe/0x120
 [&lt;ffffffff8130b4cb&gt;] frontend_changed+0xb/0x10
 [&lt;ffffffff81309c82&gt;] xenwatch_thread+0xf2/0x130
 [&lt;ffffffff81079f70&gt;] ? wake_up_bit+0x40/0x40
 [&lt;ffffffff81309b90&gt;] ? xenbus_directory+0x80/0x80
 [&lt;ffffffff810799d6&gt;] kthread+0x96/0xa0
 [&lt;ffffffff81485934&gt;] kernel_thread_helper+0x4/0x10
 [&lt;ffffffff814839f3&gt;] ? int_ret_from_sys_call+0x7/0x1b
 [&lt;ffffffff8147c17c&gt;] ? retint_restore_args+0x5/0x6
 [&lt;ffffffff81485930&gt;] ? gs_change+0x13/0x13

With this patch, when there is still pending I/O, the actual disconnect
is done by the last reference holder (last pending I/O request). In this
case, xenwatch doesn't block indefinitely.

Signed-off-by: Valentin Priescu &lt;priescuv@amazon.com&gt;
Reviewed-by: Steven Kady &lt;stevkady@amazon.com&gt;
Reviewed-by: Steven Noonan &lt;snoonan@amazon.com&gt;
Reviewed-by: David Vrabel &lt;david.vrabel@citrix.com&gt;
Signed-off-by: Konrad Rzeszutek Wilk &lt;konrad.wilk@oracle.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>xen/blkback: disable discard feature if requested by toolstack</title>
<updated>2014-05-28T18:17:28+00:00</updated>
<author>
<name>Olaf Hering</name>
<email>olaf@aepfle.de</email>
</author>
<published>2014-05-21T14:32:42+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=c926b701fede80ecd6f68887d5485bb620758721'/>
<id>c926b701fede80ecd6f68887d5485bb620758721</id>
<content type='text'>
Newer toolstacks may provide a boolean property "discard-enable" in the
backend node. Its purpose is to disable discard for file backed storage
to avoid fragmentation. Recognize this setting also for physical
storage.  If that property exists and is false, do not advertise
"feature-discard" to the frontend.

Signed-off-by: Olaf Hering &lt;olaf@aepfle.de&gt;
Signed-off-by: Konrad Rzeszutek Wilk &lt;konrad.wilk@oracle.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Newer toolstacks may provide a boolean property "discard-enable" in the
backend node. Its purpose is to disable discard for file backed storage
to avoid fragmentation. Recognize this setting also for physical
storage.  If that property exists and is false, do not advertise
"feature-discard" to the frontend.

Signed-off-by: Olaf Hering &lt;olaf@aepfle.de&gt;
Signed-off-by: Konrad Rzeszutek Wilk &lt;konrad.wilk@oracle.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>xen-blkback: init persistent_purge_work work_struct</title>
<updated>2014-02-12T03:34:03+00:00</updated>
<author>
<name>Roger Pau Monne</name>
<email>roger.pau@citrix.com</email>
</author>
<published>2014-02-12T03:34:03+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=abb97b8c502a270d59c0c2e1ecea78ad752372ee'/>
<id>abb97b8c502a270d59c0c2e1ecea78ad752372ee</id>
<content type='text'>
Initialize persistent_purge_work work_struct on xen_blkif_alloc (and
remove the previous initialization done in purge_persistent_gnt). This
prevents flush_work from complaining even if purge_persistent_gnt has
not been used.

Signed-off-by: Roger Pau Monné &lt;roger.pau@citrix.com&gt;
Reviewed-by: David Vrabel &lt;david.vrabel@citrix.com&gt;
Tested-by: Sander Eikelenboom &lt;linux@eikelenboom.it&gt;
Signed-off-by: Jens Axboe &lt;axboe@fb.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Initialize persistent_purge_work work_struct on xen_blkif_alloc (and
remove the previous initialization done in purge_persistent_gnt). This
prevents flush_work from complaining even if purge_persistent_gnt has
not been used.

Signed-off-by: Roger Pau Monné &lt;roger.pau@citrix.com&gt;
Reviewed-by: David Vrabel &lt;david.vrabel@citrix.com&gt;
Tested-by: Sander Eikelenboom &lt;linux@eikelenboom.it&gt;
Signed-off-by: Jens Axboe &lt;axboe@fb.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Merge branch 'stable/for-jens-3.14' of git://git.kernel.org/pub/scm/linux/kernel/git/xen/tip into for-linus</title>
<updated>2014-02-10T19:52:34+00:00</updated>
<author>
<name>Jens Axboe</name>
<email>axboe@fb.com</email>
</author>
<published>2014-02-10T19:52:34+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=9d4cb8e3a5b448d802155688bf2d50ac1b9e1a51'/>
<id>9d4cb8e3a5b448d802155688bf2d50ac1b9e1a51</id>
<content type='text'>
Konrad writes:

Please git pull the following branch:

 git://git.kernel.org/pub/scm/linux/kernel/git/xen/tip.git stable/for-jens-3.14

which is based off v3.13-rc6. If you would like me to rebase it on
a different branch/tag I would be more than happy to do so.

The patches are all bug-fixes and hopefully can go in 3.14.

They deal with xen-blkback shutdown and cause memory leaks
as well as shutdown races. They should go to stable tree and if you
are OK with I will ask them to backport those fixes.

There is also a fix to xen-blkfront to deal with unexpected state
transition. And lastly a fix to the header where it was using the
__aligned__ unnecessarily.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Konrad writes:

Please git pull the following branch:

 git://git.kernel.org/pub/scm/linux/kernel/git/xen/tip.git stable/for-jens-3.14

which is based off v3.13-rc6. If you would like me to rebase it on
a different branch/tag I would be more than happy to do so.

The patches are all bug-fixes and hopefully can go in 3.14.

They deal with xen-blkback shutdown and cause memory leaks
as well as shutdown races. They should go to stable tree and if you
are OK with I will ask them to backport those fixes.

There is also a fix to xen-blkfront to deal with unexpected state
transition. And lastly a fix to the header where it was using the
__aligned__ unnecessarily.
</pre>
</div>
</content>
</entry>
<entry>
<title>xen-blkif: drop struct blkif_request_segment_aligned</title>
<updated>2014-02-07T18:03:53+00:00</updated>
<author>
<name>Roger Pau Monne</name>
<email>roger.pau@citrix.com</email>
</author>
<published>2014-02-04T10:26:15+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=80bfa2f6e2e81049fc6cd3bfaeedcb64db3a9ba6'/>
<id>80bfa2f6e2e81049fc6cd3bfaeedcb64db3a9ba6</id>
<content type='text'>
This was wrongly introduced in commit 402b27f9, the only difference
between blkif_request_segment_aligned and blkif_request_segment is
that the former has a named padding, while both share the same
memory layout.

Also correct a few minor glitches in the description, including for it
to no longer assume PAGE_SIZE == 4096.

Signed-off-by: Roger Pau Monné &lt;roger.pau@citrix.com&gt;
[Description fix by Jan Beulich]
Signed-off-by: Jan Beulich &lt;jbeulich@suse.com&gt;
Reported-by: Jan Beulich &lt;jbeulich@suse.com&gt;
Cc: Konrad Rzeszutek Wilk &lt;konrad.wilk@oracle.com&gt;
Cc: David Vrabel &lt;david.vrabel@citrix.com&gt;
Cc: Boris Ostrovsky &lt;boris.ostrovsky@oracle.com&gt;
Tested-by: Matt Rushton &lt;mrushton@amazon.com&gt;
Cc: Matt Wilson &lt;msw@amazon.com&gt;
Signed-off-by: Konrad Rzeszutek Wilk &lt;konrad.wilk@oracle.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This was wrongly introduced in commit 402b27f9, the only difference
between blkif_request_segment_aligned and blkif_request_segment is
that the former has a named padding, while both share the same
memory layout.

Also correct a few minor glitches in the description, including for it
to no longer assume PAGE_SIZE == 4096.

Signed-off-by: Roger Pau Monné &lt;roger.pau@citrix.com&gt;
[Description fix by Jan Beulich]
Signed-off-by: Jan Beulich &lt;jbeulich@suse.com&gt;
Reported-by: Jan Beulich &lt;jbeulich@suse.com&gt;
Cc: Konrad Rzeszutek Wilk &lt;konrad.wilk@oracle.com&gt;
Cc: David Vrabel &lt;david.vrabel@citrix.com&gt;
Cc: Boris Ostrovsky &lt;boris.ostrovsky@oracle.com&gt;
Tested-by: Matt Rushton &lt;mrushton@amazon.com&gt;
Cc: Matt Wilson &lt;msw@amazon.com&gt;
Signed-off-by: Konrad Rzeszutek Wilk &lt;konrad.wilk@oracle.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>xen-blkback: fix shutdown race</title>
<updated>2014-02-07T17:59:30+00:00</updated>
<author>
<name>Roger Pau Monne</name>
<email>roger.pau@citrix.com</email>
</author>
<published>2014-02-04T10:26:14+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=c05f3e3c85df1d89673e00cee7ece5ae4eb4c6ec'/>
<id>c05f3e3c85df1d89673e00cee7ece5ae4eb4c6ec</id>
<content type='text'>
Introduce a new variable to keep track of the number of in-flight
requests. We need to make sure that when xen_blkif_put is called the
request has already been freed and we can safely free xen_blkif, which
was not the case before.

Signed-off-by: Roger Pau Monné &lt;roger.pau@citrix.com&gt;
Cc: Konrad Rzeszutek Wilk &lt;konrad.wilk@oracle.com&gt;
Cc: David Vrabel &lt;david.vrabel@citrix.com&gt;
Reviewed-by: Boris Ostrovsky &lt;boris.ostrovsky@oracle.com&gt;
Tested-by: Matt Rushton &lt;mrushton@amazon.com&gt;
Reviewed-by: Matt Rushton &lt;mrushton@amazon.com&gt;
Cc: Matt Wilson &lt;msw@amazon.com&gt;
Cc: Ian Campbell &lt;Ian.Campbell@citrix.com&gt;
Signed-off-by: Konrad Rzeszutek Wilk &lt;konrad.wilk@oracle.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Introduce a new variable to keep track of the number of in-flight
requests. We need to make sure that when xen_blkif_put is called the
request has already been freed and we can safely free xen_blkif, which
was not the case before.

Signed-off-by: Roger Pau Monné &lt;roger.pau@citrix.com&gt;
Cc: Konrad Rzeszutek Wilk &lt;konrad.wilk@oracle.com&gt;
Cc: David Vrabel &lt;david.vrabel@citrix.com&gt;
Reviewed-by: Boris Ostrovsky &lt;boris.ostrovsky@oracle.com&gt;
Tested-by: Matt Rushton &lt;mrushton@amazon.com&gt;
Reviewed-by: Matt Rushton &lt;mrushton@amazon.com&gt;
Cc: Matt Wilson &lt;msw@amazon.com&gt;
Cc: Ian Campbell &lt;Ian.Campbell@citrix.com&gt;
Signed-off-by: Konrad Rzeszutek Wilk &lt;konrad.wilk@oracle.com&gt;
</pre>
</div>
</content>
</entry>
</feed>
