Re: [PATCH] ioatdma: PQ err descriptors should callback with err results

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, 2014-12-15 at 09:04 +0000, Koul, Vinod wrote:
> On Thu, Dec 11, 2014 at 09:13:42AM -0700, Dave Jiang wrote:
> > The err completion callback is missing from the error handler. Two
> > reasons we never hit this. On Xeon because the hw err workaround, the
> > completion happens on a NULL descriptor so we don't do callback on the
> > PQ descriptor. On Atom we have DWBES support and thus the callback already
> > happened or we don't halt on error, so that was take cared of. But this code
> > needs to be corrected for future error handlers.
> 
> Please use the right subsystem name.
> 
> I have applied the patch
> 
> And I was thinking on how this would be useful, how would you tell the
> client that the descriptor resulted in an err. On callback, the client can
> query the status and would get DMA_SUCCESS as dma transfer completed but
> resulted in error... 

The error results is set in the descriptor result. This already works.
I'm merely covering a corner case that we aren't covering but the same
error handling path for MDRAID. The client should check the results in
the descriptor just like MDRAID does. 
��.n��������+%������w��{.n��������)�)��jg��������ݢj����G�������j:+v���w�m������w�������h�����٥





[Index of Archives]     [Linux Kernel]     [Linux ARM (vger)]     [Linux ARM MSM]     [Linux Omap]     [Linux Arm]     [Linux Tegra]     [Fedora ARM]     [Linux for Samsung SOC]     [eCos]     [Linux PCI]     [Linux Fastboot]     [Gcc Help]     [Git]     [DCCP]     [IETF Announce]     [Security]     [Linux MIPS]     [Yosemite Campsites]

  Powered by Linux