]> git.baikalelectronics.ru Git - kernel.git/commit
xor: make 'xor_blocks' a library routine for use with async_tx
authorDan Williams <dan.j.williams@intel.com>
Mon, 9 Jul 2007 18:56:42 +0000 (11:56 -0700)
committerDan Williams <dan.j.williams@intel.com>
Fri, 13 Jul 2007 15:06:14 +0000 (08:06 -0700)
commit0c68c46af9f59bc529c578de4012b9f303c0ab02
tree10f99829f7d877b87614fe69be77e363c026a8d7
parentfb061f0d4f3b01bc03cf898807aeac95498bb02f
xor: make 'xor_blocks' a library routine for use with async_tx

The async_tx api tries to use a dma engine for an operation, but will fall
back to an optimized software routine otherwise.  Xor support is
implemented using the raid5 xor routines.  For organizational purposes this
routine is moved to a common area.

The following fixes are also made:
* rename xor_block => xor_blocks, suggested by Adrian Bunk
* ensure that xor.o initializes before md.o in the built-in case
* checkpatch.pl fixes
* mark calibrate_xor_blocks __init, Adrian Bunk

Cc: Adrian Bunk <bunk@stusta.de>
Cc: NeilBrown <neilb@suse.de>
Cc: Herbert Xu <herbert@gondor.apana.org.au>
Signed-off-by: Dan Williams <dan.j.williams@intel.com>
crypto/Kconfig
crypto/Makefile
crypto/xor.c [new file with mode: 0644]
drivers/md/Kconfig
drivers/md/Makefile
drivers/md/md.c
drivers/md/raid5.c
drivers/md/xor.c [deleted file]
include/linux/raid/xor.h