Skip to content

md raid acceleration and the async_tx api

Dan Williams linux-raid lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest19 patches 12 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/19dmaengine: refactor dmaengine around dma_async_tx_descriptordrivers/dma/dmaengine.c drivers/dma/ioatdma.c drivers/dma/ioatdma.h +1 more+455 -2420 replies
2/19dmaengine: make clients responsible for managing channelsdrivers/dma/dmaengine.c drivers/dma/ioatdma.c drivers/dma/ioatdma.h +2 more+224 -1670 replies
3/19xor: make 'xor_blocks' a library routine for use with async_txcrypto/Kconfig crypto/Makefile crypto/xor.c +6 more+178 -1633 replies
4/19async_tx: add the async_tx apicrypto/Kconfig crypto/Makefile crypto/async_tx/Kconfig +11 more+1294 -500 replies
5/19raid5: refactor handle_stripe5 and handle_stripe6 (v2)drivers/md/raid5.c include/linux/raid/raid5.h+737 -7670 replies
6/19raid5: replace custom debug PRINTKs with standard pr_debugdrivers/md/raid5.c+58 -580 replies
7/19md: raid5_run_ops - run stripe operations outside sh->lockdrivers/md/raid5.c include/linux/raid/raid5.h+624 -30 replies
8/19md: common infrastructure for running operations with raid5_run_opsdrivers/md/raid5.c+58 -90 replies
9/19md: handle_stripe5 - add request/completion logic for async write opsdrivers/md/raid5.c+138 -230 replies
10/19md: handle_stripe5 - add request/completion logic for async compute opsdrivers/md/raid5.c include/linux/raid/raid5.h+115 -360 replies
11/19md: handle_stripe5 - add request/completion logic for async check opsdrivers/md/raid5.c+65 -190 replies
12/19md: handle_stripe5 - add request/completion logic for async read opsdrivers/md/raid5.c include/linux/raid/raid5.h+26 -290 replies
13/19md: handle_stripe5 - add request/completion logic for async expand opsdrivers/md/raid5.c+38 -120 replies
14/19md: handle_stripe5 - request io processing in raid5_run_opsdrivers/md/raid5.c+13 -580 replies
15/19md: remove raid5 compute_block and compute_parity5drivers/md/raid5.c+0 -1240 replies
16/19dmaengine: driver for the iop32x, iop33x, and iop13xx raid enginesdrivers/dma/Kconfig drivers/dma/Makefile drivers/dma/iop-adma.c +1 more+1594 -05 replies
17/19iop13xx: surface the iop13xx adma units to the iop-adma driverarch/arm/mach-iop13xx/setup.c include/asm-arm/arch-iop13xx/adma.h include/asm-arm/arch-iop13xx/iop13xx.h+774 -250 replies
18/19iop3xx: surface the iop3xx DMA and AAU units to the iop-adma driverarch/arm/mach-iop32x/glantank.c arch/arm/mach-iop32x/iq31244.c arch/arm/mach-iop32x/iq80321.c +9 more+1138 -600 replies
19/19ARM: Add drivers/dma to arch/arm/Kconfigarch/arm/Kconfig+2 -00 replies

Reviews trailers per patch

10 of 19 patches have a Reviewed-by or Acked-by.

PatchNeilBrown
1/19
2/19
3/19
4/19A-b
5/19
6/19
7/19A-b
8/19A-b
9/19A-b
10/19A-b
11/19A-b
12/19A-b
13/19A-b
14/19A-b
15/19A-b
16/19
17/19
18/19
19/19

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [md-accel PATCH 00/19] md raid acceleration and the async_tx api

Greetings,

Per Andrew's suggestion this is the md raid5 acceleration patch set
updated with more thorough changelogs to lower the barrier to entry for reviewers. To get started with the code I would suggest the following order:
[md-accel PATCH 01/19] dmaengine: refactor dmaengine around dma_async_tx_descriptor [md-accel PATCH 04/19] async_tx: add the async_tx api
[md-accel PATCH 07/19] md: raid5_run_ops - run stripe operations outside sh->lock [md-accel PATCH 16/19] dmaengine: driver for the iop32x, iop33x, and iop13xx raid engines

The patch set can be broken down into three main categories:
1/ API (async_tx: patches 1 - 4)
2/ implementation (md changes: patches 5 - 15)
3/ driver (iop-adma: patches 16 - 19)

I have worked with Neil to get approval of the category 2 changes. However for the category 1 and 3 changes there was no obvious merge-path/maintainer to work through. I have thus far extrapolated Neil's comments about 2 out to 1 and 3, Jeff gave some direction on a early revision about the scalability of the API, and the patch set has picked up various fixes and suggestions from being in -mm for a few releases. Please help me ensure that this code is ready for Linus to pull for 2.6.23.

git://lost.foo-projects.org/~dwillia2/git/iop md-accel-linus

Dan Williams (19):
dmaengine: refactor dmaengine around dma_async_tx_descriptor
dmaengine: make clients responsible for managing channels
xor: make 'xor_blocks' a library routine for use with async_tx
async_tx: add the async_tx api
raid5: refactor handle_stripe5 and handle_stripe6 (v2)
raid5: replace custom debug PRINTKs with standard pr_debug
md: raid5_run_ops - run stripe operations outside sh->lock
md: common infrastructure for running operations with raid5_run_ops
md: handle_stripe5 - add request/completion logic for async write ops
md: handle_stripe5 - add request/completion logic for async compute ops
md: handle_stripe5 - add request/completion logic for async check ops
md: handle_stripe5 - add request/completion logic for async read ops
md: handle_stripe5 - add request/completion logic for async expand ops
md: handle_stripe5 - request io processing in raid5_run_ops
md: remove raid5 compute_block and compute_parity5
dmaengine: driver for the iop32x, iop33x, and iop13xx raid engines
iop13xx: surface the iop13xx adma units to the iop-adma driver
iop3xx: surface the iop3xx DMA and AAU units to the iop-adma driver
ARM: Add drivers/dma to arch/arm/Kconfig

Administrivia:
This patch set contains three new patches compared to the previous release they are:
[md-accel PATCH 03/19] xor: make 'xor_blocks' a library routine for use with async_tx [md-accel PATCH 05/19] raid5: refactor handle_stripe5 and handle_stripe6 (v2) [md-accel PATCH 06/19] raid5: replace custom debug PRINTKs with standard pr_debug

net/core/dev.c is touched by the following:
[md-accel PATCH 02/19] dmaengine: make clients responsible for managing channels