public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* Possible RAID6 regression with ASYNC_TX_DMA enabled in 4.1
@ 2015-05-07 12:57 Maxime Ripard
  2015-05-07 14:39 ` AW: " Markus Stockhausen
  2015-05-11  6:26 ` Shaohua Li
  0 siblings, 2 replies; 7+ messages in thread
From: Maxime Ripard @ 2015-05-07 12:57 UTC (permalink / raw)
  To: Neil Brown, Shaohua Li
  Cc: linux-raid, linux-kernel, Lior Amsalem, Thomas Petazzoni,
	Gregory Clement, Boris Brezillon

[-- Attachment #1: Type: text/plain, Size: 1318 bytes --]

Hi,

I'm currently trying to add support for the PQ operations on the
marvell XOR engine, in dmaengine, obviously to be able to use async_tx
to offload these operations.

I'm testing these patches with a RAID6 array with 4 disks.

However, since the commit 59fc630b8b5f ("RAID5: batch adjacent full
stripe write", every write to that array fails with the following
stacktrace.

http://code.bulix.org/eh8iew-88342?raw

It seems to be generated by that warning here:

http://lxr.free-electrons.com/source/crypto/async_tx/async_tx.c#L173

And indeed, if we dump the status of depend_tx here, it's already been
acked.

That doesn't happen if ASYNC_TX_DMA is disabled, hence using the
software version of it, instead of relying on our XOR engine. It
doesn't happen on any commit prior to the one mentionned above, with
the exact same changes applied. These changes are meant to be
contributed, so I can definitely push them somewhere if needed.

I don't really know where to look for though, the change that is
causing this is probably the change in ops_run_reconstruct6, but I'm
not sure that this partial revert alone would work with regard to the
rest of the patch.

Maxime

-- 
Maxime Ripard, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com

[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 819 bytes --]

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2015-05-13  7:50 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-05-07 12:57 Possible RAID6 regression with ASYNC_TX_DMA enabled in 4.1 Maxime Ripard
2015-05-07 14:39 ` AW: " Markus Stockhausen
2015-05-11  9:13   ` Maxime Ripard
2015-05-11  6:26 ` Shaohua Li
2015-05-12 12:55   ` Maxime Ripard
2015-05-12 10:59     ` Shaohua Li
2015-05-13  7:46       ` Maxime Ripard

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox