linux_dsm_epyc7002/drivers/md
Andre Noll 5568a6035d md: raid0: Make raid0_run() return a proper error code.
Currently raid0_run() always returns -ENOMEM on errors. This is
incorrect as running the array might fail for other reasons, for
example because not all component devices were available.

This patch changes create_strip_zones() so that it returns a proper
error code (either -ENOMEM or -EINVAL) rather than 1 on errors and
makes raid0_run(), its single caller, return that value instead
of -ENOMEM.

Signed-off-by: Andre Noll <maan@systemlinux.org>
Signed-off-by: NeilBrown <neilb@suse.de>
2009-06-16 16:47:21 +10:00
..
raid6test
.gitignore
bitmap.c Merge branch 'for-2.6.31' of git://git.kernel.dk/linux-2.6-block 2009-06-11 11:10:35 -07:00
bitmap.h
dm-bio-record.h
dm-crypt.c
dm-delay.c block: move bio list helpers into bio.h 2009-04-15 08:28:09 +02:00
dm-exception-store.c block: Do away with the notion of hardsect_size 2009-05-22 23:22:54 +02:00
dm-exception-store.h
dm-io.c
dm-ioctl.c dm: add integrity support 2009-04-09 00:27:12 +01:00
dm-kcopyd.c dm kcopyd: fix callback race 2009-04-09 00:27:17 +01:00
dm-linear.c dm: remove limited barrier support 2009-04-09 00:27:13 +01:00
dm-log.c block: Do away with the notion of hardsect_size 2009-05-22 23:22:54 +02:00
dm-mpath.c block: move bio list helpers into bio.h 2009-04-15 08:28:09 +02:00
dm-mpath.h
dm-path-selector.c
dm-path-selector.h
dm-raid1.c block: move bio list helpers into bio.h 2009-04-15 08:28:09 +02:00
dm-region-hash.c block: move bio list helpers into bio.h 2009-04-15 08:28:09 +02:00
dm-round-robin.c
dm-snap-persistent.c block: Do away with the notion of hardsect_size 2009-05-22 23:22:54 +02:00
dm-snap-transient.c
dm-snap.c block: move bio list helpers into bio.h 2009-04-15 08:28:09 +02:00
dm-stripe.c
dm-sysfs.c
dm-table.c Revert "block: Fix bounce limit setting in DM" 2009-06-09 06:22:57 +02:00
dm-target.c
dm-uevent.c
dm-uevent.h
dm-zero.c
dm.c tracing/events: convert block trace points to TRACE_EVENT() 2009-06-09 12:34:23 -04:00
dm.h dm: remove limited barrier support 2009-04-09 00:27:13 +01:00
faulty.c
Kconfig
linear.c block: Use accessor functions for queue limits 2009-05-22 23:22:54 +02:00
linear.h
Makefile
md.c Merge branch 'for-2.6.31' of git://git.kernel.dk/linux-2.6-block 2009-06-11 11:10:35 -07:00
md.h md: tiny md.h cleanups 2009-04-14 12:01:53 +10:00
mktables.c
multipath.c block: Use accessor functions for queue limits 2009-05-22 23:22:54 +02:00
multipath.h
raid0.c md: raid0: Make raid0_run() return a proper error code. 2009-06-16 16:47:21 +10:00
raid0.h md: raid0: Remove hash spacing and sector shift. 2009-06-16 16:47:10 +10:00
raid1.c block: Use accessor functions for queue limits 2009-05-22 23:22:54 +02:00
raid1.h
raid5.c Merge branch 'for-2.6.31' of git://git.kernel.dk/linux-2.6-block 2009-06-11 11:10:35 -07:00
raid5.h
raid6algos.c
raid6altivec.uc
raid6int.uc
raid6mmx.c
raid6recov.c
raid6sse1.c
raid6sse2.c
raid6x86.h
raid10.c block: Use accessor functions for queue limits 2009-05-22 23:22:54 +02:00
raid10.h
unroll.pl