<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kernel.git/drivers/s390/block/dasd.c, branch linux-4.8.y</title>
<subtitle>Hosts the 0x221E linux distro kernel.
</subtitle>
<id>https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-4.8.y</id>
<link rel='self' href='https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-4.8.y'/>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/'/>
<updated>2016-08-10T08:12:16Z</updated>
<entry>
<title>s390/dasd: fix hanging device after clear subchannel</title>
<updated>2016-08-10T08:12:16Z</updated>
<author>
<name>Stefan Haberland</name>
</author>
<published>2016-08-08T12:08:17Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=9ba333dc55cbb9523553df973adb3024d223e905'/>
<id>urn:sha1:9ba333dc55cbb9523553df973adb3024d223e905</id>
<content type='text'>
When a device is in a status where CIO has killed all I/O by itself the
interrupt for a clear request may not contain an irb to determine the
clear function. Instead it contains an error pointer -EIO.
This was ignored by the DASD int_handler leading to a hanging device
waiting for a clear interrupt.

Handle -EIO error pointer correctly for requests that are clear pending and
treat the clear as successful.

Signed-off-by: Stefan Haberland &lt;sth@linux.vnet.ibm.com&gt;
Reviewed-by: Sebastian Ott &lt;sebott@linux.vnet.ibm.com&gt;
Cc: stable@vger.kernel.org
Signed-off-by: Martin Schwidefsky &lt;schwidefsky@de.ibm.com&gt;
</content>
</entry>
<entry>
<title>s390/dasd: Add new ioctl BIODASDCHECKFMT</title>
<updated>2016-04-15T16:16:39Z</updated>
<author>
<name>Jan Höppner</name>
</author>
<published>2015-08-19T11:41:20Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=8fd575200db5b53f6ea6818dd017f1b43190db12'/>
<id>urn:sha1:8fd575200db5b53f6ea6818dd017f1b43190db12</id>
<content type='text'>
Implement new DASD IOCTL BIODASDCHECKFMT to check a range of tracks on a
DASD volume for correct formatting. The following characteristics are
checked:
- Block size
- ECKD key length
- ECKD record ID
- Number of records per track

Signed-off-by: Jan Höppner &lt;hoeppner@linux.vnet.ibm.com&gt;
Signed-off-by: Martin Schwidefsky &lt;schwidefsky@de.ibm.com&gt;
</content>
</entry>
<entry>
<title>s390/dasd: add query host access to volume support</title>
<updated>2016-04-15T16:16:37Z</updated>
<author>
<name>Stefan Haberland</name>
</author>
<published>2016-03-18T08:42:13Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=5a3b7b112884f80ff19b18028fabeb4f9c035518'/>
<id>urn:sha1:5a3b7b112884f80ff19b18028fabeb4f9c035518</id>
<content type='text'>
With this feature, applications can query if a DASD volume is online
to another operating system instances by checking the online status of
all attached hosts from the storage server.

Reviewed-by: Sebastian Ott &lt;sebott@linux.vnet.ibm.com&gt;
Reviewed-by: Heiko Carstens &lt;heiko.carstens@de.ibm.com&gt;
Signed-off-by: Stefan Haberland &lt;stefan.haberland@de.ibm.com&gt;
Signed-off-by: Martin Schwidefsky &lt;schwidefsky@de.ibm.com&gt;
</content>
</entry>
<entry>
<title>s390/dasd: fix performance drop</title>
<updated>2016-02-17T08:24:07Z</updated>
<author>
<name>Stefan Haberland</name>
</author>
<published>2016-02-12T13:50:52Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=12d319b920fa673a4d5e7c1785c5dc82dcd15257'/>
<id>urn:sha1:12d319b920fa673a4d5e7c1785c5dc82dcd15257</id>
<content type='text'>
Commit ca369d51b ("sd: Fix device-imposed transfer length limits")
introduced a new queue limit max_dev_sectors which limits the maximum
sectors for requests. The default value leads to small dasd requests
and therefor to a performance drop.
Set the max_dev_sectors value to the same value as the max_hw_sectors
to use the maximum available request size for DASD devices.

Signed-off-by: Stefan Haberland &lt;sth@linux.vnet.ibm.com&gt;
Cc: stable@vger.kernel.org # 4.4+
Signed-off-by: Martin Schwidefsky &lt;schwidefsky@de.ibm.com&gt;
</content>
</entry>
<entry>
<title>s390/dasd: fix failfast for disconnected devices</title>
<updated>2015-12-30T09:34:41Z</updated>
<author>
<name>Stefan Haberland</name>
</author>
<published>2015-12-22T12:34:38Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=c6fc7b6f8ca5d3d59446ce4ee870569355cfb04a'/>
<id>urn:sha1:c6fc7b6f8ca5d3d59446ce4ee870569355cfb04a</id>
<content type='text'>
Enabling failfast should let request fail immediately if either an
error occurred or the device gets disconnected.
For disconnected devices new requests are not fetches from the block
queue and therefore failfast is not triggered.

Fix by letting the DASD driver fetch requests for disconnected devices
with failfast active.

Signed-off-by: Stefan Haberland &lt;stefan.haberland@de.ibm.com&gt;
Signed-off-by: Martin Schwidefsky &lt;schwidefsky@de.ibm.com&gt;
</content>
</entry>
<entry>
<title>s390/dasd: mark DASD devices as non rotational</title>
<updated>2015-10-14T12:32:00Z</updated>
<author>
<name>Christian Borntraeger</name>
</author>
<published>2015-09-04T11:52:44Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=9a21268360f5438796fa935e0b2e9317187ef8f4'/>
<id>urn:sha1:9a21268360f5438796fa935e0b2e9317187ef8f4</id>
<content type='text'>
We were able to reduce the CPU overhead of big paging scenarios
when announcing our paging disks as non-rotational.
Almost all dasd devices are implemented in storage servers with
cache, raid, striping and lots of magic. There is no point in
optimizing the disk schedulers and swap code for a single platter
moving arm rotational disks. Given the complexity of the setup
and the fact that this change is mostly to disable the additional
overhead in swap code, lets keep the other functionality unchanged
and do not disable the this device as entropy source - unlike other
non-rotational devices.

Suggested-by: Christian Ehrhardt &lt;ehrhardt@linux.vnet.ibm.com&gt;
Reviewed-by: David Hildenbrand &lt;dahi@linux.vnet.ibm.com&gt;
Signed-off-by: Christian Borntraeger &lt;borntraeger@de.ibm.com&gt;
Signed-off-by: Martin Schwidefsky &lt;schwidefsky@de.ibm.com&gt;
</content>
</entry>
<entry>
<title>s390/dasd: fix kernel panic when alias is set offline</title>
<updated>2015-07-13T09:02:14Z</updated>
<author>
<name>Stefan Haberland</name>
</author>
<published>2015-07-10T08:47:09Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=f81a49d13b3014c2b7c424628779a8af93f25c04'/>
<id>urn:sha1:f81a49d13b3014c2b7c424628779a8af93f25c04</id>
<content type='text'>
The dasd device driver selects which (alias or base) device is used
for a given requests when the request is build. If the chosen alias
device is set offline before the request gets queued to the device
queue the starting function may use device structures that are
already freed. This might lead to a hanging offline process or a
kernel panic.

Add a check to the starting function that returns the request to the
upper layer if the device is already in offline processing.

In addition to that prevent that an alias device that's already in
offline processing gets chosen as start device.

Reviewed-by: Sebastian Ott &lt;sebott@linux.vnet.ibm.com&gt;
Reviewed-by: Peter Oberparleiter &lt;peter.oberparleiter@linux.vnet.ibm.com&gt;
Signed-off-by: Stefan Haberland &lt;stefan.haberland@de.ibm.com&gt;
Signed-off-by: Martin Schwidefsky &lt;schwidefsky@de.ibm.com&gt;
</content>
</entry>
<entry>
<title>s390/dasd: Enable automatic loading of dasd_diag_mod</title>
<updated>2015-05-13T07:58:19Z</updated>
<author>
<name>Peter Oberparleiter</name>
</author>
<published>2015-05-11T11:08:05Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=7c53fcb39fddb59a9e32c10e96133049ed90930b'/>
<id>urn:sha1:7c53fcb39fddb59a9e32c10e96133049ed90930b</id>
<content type='text'>
Enabling a DASD that was configured to use the DIAG250 access method
while the corresponding kernel module dasd_diag_mod has not been loaded
fails with an error message. To fix this, users need to manually load
the dasd_diag_mod module.

This procedure can be simplified by automatically loading the
dasd_diag_mod from within the kernel when a DASD configured for DIAG250
is set online.

Signed-off-by: Peter Oberparleiter &lt;oberpar@linux.vnet.ibm.com&gt;
Signed-off-by: Martin Schwidefsky &lt;schwidefsky@de.ibm.com&gt;
</content>
</entry>
<entry>
<title>s390/dasd: Fix unresumed device after suspend/resume having no paths</title>
<updated>2015-04-15T10:23:51Z</updated>
<author>
<name>Stefan Haberland</name>
</author>
<published>2015-04-02T11:18:39Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=df3044f1ef002c2269b11cb76a1b2bec629732b4'/>
<id>urn:sha1:df3044f1ef002c2269b11cb76a1b2bec629732b4</id>
<content type='text'>
The DASD device driver prevents I/O from being started on stopped
devices. This also prevented channel paths to be verified and so
the device was unable to be resumed.
Fix by allowing path verification requests on stopped devices.

Signed-off-by: Stefan Haberland &lt;stefan.haberland@de.ibm.com&gt;
Signed-off-by: Martin Schwidefsky &lt;schwidefsky@de.ibm.com&gt;
</content>
</entry>
<entry>
<title>s390/dasd: fix unresumed device after suspend/resume</title>
<updated>2015-04-15T10:23:51Z</updated>
<author>
<name>Stefan Haberland</name>
</author>
<published>2015-04-02T10:52:41Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=a3147a7bc266df39b4f471ee7c4c9adcb56d29a6'/>
<id>urn:sha1:a3147a7bc266df39b4f471ee7c4c9adcb56d29a6</id>
<content type='text'>
The DASD device driver only has a limited amount of memory to build
I/O requests.
This memory was used by blocklayer requests leading to an inability
to build needed internal requests to resume the device.
Fix by preventing the DASD driver to fetch requests for a stopped
device.

Signed-off-by: Stefan Haberland &lt;stefan.haberland@de.ibm.com&gt;
Reference-ID: RQM 2520
Signed-off-by: Martin Schwidefsky &lt;schwidefsky@de.ibm.com&gt;
</content>
</entry>
</feed>
