<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kernel.git/drivers/ata/libata-eh.c, branch linux-4.7.y</title>
<subtitle>Hosts the 0x221E linux distro kernel.
</subtitle>
<id>https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-4.7.y</id>
<link rel='self' href='https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-4.7.y'/>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/'/>
<updated>2016-06-18T18:59:01Z</updated>
<entry>
<title>Merge remote-tracking branch 'mkp-scsi/4.7/scsi-fixes' into fixes</title>
<updated>2016-06-18T18:59:01Z</updated>
<author>
<name>James Bottomley</name>
</author>
<published>2016-06-18T18:59:01Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=951d77fd5a541d68eeb7372e72cd4757e3058517'/>
<id>urn:sha1:951d77fd5a541d68eeb7372e72cd4757e3058517</id>
<content type='text'>
</content>
</entry>
<entry>
<title>scsi: fix race between simultaneous decrements of -&gt;host_failed</title>
<updated>2016-06-09T03:08:04Z</updated>
<author>
<name>Wei Fang</name>
</author>
<published>2016-06-07T06:53:56Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=72d8c36ec364c82bf1bf0c64dfa1041cfaf139f7'/>
<id>urn:sha1:72d8c36ec364c82bf1bf0c64dfa1041cfaf139f7</id>
<content type='text'>
sas_ata_strategy_handler() adds the works of the ata error handler to
system_unbound_wq. This workqueue asynchronously runs work items, so the
ata error handler will be performed concurrently on different CPUs. In
this case, -&gt;host_failed will be decreased simultaneously in
scsi_eh_finish_cmd() on different CPUs, and become abnormal.

It will lead to permanently inequality between -&gt;host_failed and
-&gt;host_busy, and scsi error handler thread won't start running. IO
errors after that won't be handled.

Since all scmds must have been handled in the strategy handler, just
remove the decrement in scsi_eh_finish_cmd() and zero -&gt;host_busy after
the strategy handler to fix this race.

Fixes: 50824d6c5657 ("[SCSI] libsas: async ata-eh")
Cc: stable@vger.kernel.org
Signed-off-by: Wei Fang &lt;fangwei1@huawei.com&gt;
Reviewed-by: James Bottomley &lt;jejb@linux.vnet.ibm.com&gt;
Signed-off-by: Martin K. Petersen &lt;martin.petersen@oracle.com&gt;
</content>
</entry>
<entry>
<title>libata: Implement ZBC OUT translation</title>
<updated>2016-05-09T16:36:46Z</updated>
<author>
<name>Hannes Reinecke</name>
</author>
<published>2016-04-25T10:45:53Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=27708a9579ee069c6e0ebb6e61ac1114ed1d546c'/>
<id>urn:sha1:27708a9579ee069c6e0ebb6e61ac1114ed1d546c</id>
<content type='text'>
ZAC drives implement a 'ZAC Management Out' command template,
which maps onto the ZBC OUT command.

Signed-off-by: Hannes Reinecke &lt;hare@suse.de&gt;
Signed-off-by: Tejun Heo &lt;tj@kernel.org&gt;
</content>
</entry>
<entry>
<title>libata: implement ZBC IN translation</title>
<updated>2016-05-09T16:36:46Z</updated>
<author>
<name>Hannes Reinecke</name>
</author>
<published>2016-04-25T10:45:52Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=28a3fc2295a744a0d2ddf86b2ccdf03fbab123f9'/>
<id>urn:sha1:28a3fc2295a744a0d2ddf86b2ccdf03fbab123f9</id>
<content type='text'>
ZAC drives implement a 'ZAC Management In' command template,
which maps onto the ZBC IN command.

Signed-off-by: Hannes Reinecke &lt;hare@suse.de&gt;
Signed-off-by: Tejun Heo &lt;tj@kernel.org&gt;
</content>
</entry>
<entry>
<title>libata: do not attempt to retrieve sense code twice</title>
<updated>2016-05-09T16:36:44Z</updated>
<author>
<name>Hannes Reinecke</name>
</author>
<published>2016-04-25T10:45:43Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=d238ffd59d3c65c608f39a0ab2819b63c912f783'/>
<id>urn:sha1:d238ffd59d3c65c608f39a0ab2819b63c912f783</id>
<content type='text'>
Do not call ata_request_sense() if the sense code is already
present.

Signed-off-by: Hannes Reinecke &lt;hare@suse.com&gt;
Signed-off-by: Tejun Heo &lt;tj@kernel.org&gt;
</content>
</entry>
<entry>
<title>libata: Implement control mode page to select sense format</title>
<updated>2016-04-04T16:07:41Z</updated>
<author>
<name>Hannes Reinecke</name>
</author>
<published>2016-04-04T09:44:03Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=06dbde5f3a44248fc02e24d662ac4849202abb48'/>
<id>urn:sha1:06dbde5f3a44248fc02e24d662ac4849202abb48</id>
<content type='text'>
Implement MODE SELECT for the control mode page to allow the OS
to switch to descriptor sense.

tj: Dropped s/sb/cmd-&gt;sense_buffer/ in ata_gen_ata_sense().  Added
    @dev description to ata_msense_ctl_mode().

Signed-off-by: Hannes Reinecke &lt;hare@suse.de&gt;
Signed-off-by: Tejun Heo &lt;tj@kernel.org&gt;
</content>
</entry>
<entry>
<title>libata: evaluate SCSI sense code</title>
<updated>2016-04-04T16:07:41Z</updated>
<author>
<name>Hannes Reinecke</name>
</author>
<published>2016-04-04T09:44:01Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=3852e37382664a06cd006bb389a8223e32cedf45'/>
<id>urn:sha1:3852e37382664a06cd006bb389a8223e32cedf45</id>
<content type='text'>
Whenever a sense code is set it would need to be evaluated to
update the error mask.

tj: Cosmetic formatting updates.

Signed-off-by: Hannes Reinecke &lt;hare@suse.de&gt;
Signed-off-by: Tejun Heo &lt;tj@kernel.org&gt;
</content>
</entry>
<entry>
<title>libata-eh: Set 'information' field for autosense</title>
<updated>2016-04-04T16:07:41Z</updated>
<author>
<name>Hannes Reinecke</name>
</author>
<published>2016-04-04T09:43:59Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=492bf62107347aca764070dbc9d412da6bda73d1'/>
<id>urn:sha1:492bf62107347aca764070dbc9d412da6bda73d1</id>
<content type='text'>
If NCQ autosense or the sense data reporting feature is enabled
the LBA of the offending command should be stored in the sense
data 'information' field.

tj: s/(u64)-1/U64_MAX/

Signed-off-by: Hannes Reinecke &lt;hare@suse.de&gt;
Signed-off-by: Tejun Heo &lt;tj@kernel.org&gt;
</content>
</entry>
<entry>
<title>libata: Implement support for sense data reporting</title>
<updated>2016-04-04T16:07:40Z</updated>
<author>
<name>Hannes Reinecke</name>
</author>
<published>2016-04-04T09:43:55Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=e87fd28cf9a2d9018ac4b6dd92f0b417714bc18d'/>
<id>urn:sha1:e87fd28cf9a2d9018ac4b6dd92f0b417714bc18d</id>
<content type='text'>
ACS-4 defines a sense data reporting feature set.
This patch implements support for it.

tj: Cosmetic formatting updates.

Signed-off-by: Hannes Reinecke &lt;hare@suse.de&gt;
Signed-off-by: Tejun Heo &lt;tj@kernel.org&gt;
</content>
</entry>
<entry>
<title>libata: Implement NCQ autosense</title>
<updated>2016-04-04T16:07:40Z</updated>
<author>
<name>Hannes Reinecke</name>
</author>
<published>2016-04-04T09:43:54Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=5b01e4b9efa0b78672cbbea830c9fbcc7f239e29'/>
<id>urn:sha1:5b01e4b9efa0b78672cbbea830c9fbcc7f239e29</id>
<content type='text'>
Some newer devices support NCQ autosense (cf ACS-4), so we should
be using it to retrieve the sense code and speed up recovery.

Signed-off-by: Hannes Reinecke &lt;hare@suse.de&gt;
Signed-off-by: Tejun Heo &lt;tj@kernel.org&gt;
</content>
</entry>
</feed>
