commit | 07a3b417dc3d00802bd7b4874c3e811f0b015a7d | [log] [tgz] |
---|---|---|
author | Dan Williams <dan.j.williams@intel.com> | Sat Aug 29 19:13:13 2009 -0700 |
committer | Dan Williams <dan.j.williams@intel.com> | Sat Aug 29 19:13:13 2009 -0700 |
tree | b3b484067f700a70f3e7d575bad6e7e4ae2742cc | |
parent | b774ef491b4edf6876077014ecbb87f10c69c10f [diff] |
md/raid456: distribute raid processing over multiple cores Now that the resources to handle stripe_head operations are allocated percpu it is possible for raid5d to distribute stripe handling over multiple cores. This conversion also adds a call to cond_resched() in the non-multicore case to prevent one core from getting monopolized for raid operations. Cc: Arjan van de Ven <arjan@linux.intel.com> Signed-off-by: Dan Williams <dan.j.williams@intel.com>