https://github.com/torvalds/linux
Revision b15a9dbdbfe72848b7ed4cd3f97fe80daaf99c89 authored by NeilBrown on 22 May 2015, 05:20:04 UTC, committed by NeilBrown on 28 May 2015, 01:35:47 UTC
If a stripe is a member of a batch, but not the head, it must
not be handled separately from the rest of the batch.

'clear_batch_ready()' handles this requirement to some
extent but not completely.  If a member is passed to handle_stripe()
a second time it returns '0' indicating the stripe can be handled,
which is wrong.
So add an extra test.

Signed-off-by: NeilBrown <neilb@suse.de>
1 parent d0852df
History
Tip revision: b15a9dbdbfe72848b7ed4cd3f97fe80daaf99c89 authored by NeilBrown on 22 May 2015, 05:20:04 UTC
md/raid5: Ensure a batch member is not handled prematurely.
Tip revision: b15a9db
File Mode Size
Documentation
arch
block
crypto
drivers
firmware
fs
include
init
ipc
kernel
lib
mm
net
samples
scripts
security
sound
tools
usr
virt
.gitignore -rw-r--r-- 1.2 KB
.mailmap -rw-r--r-- 4.9 KB
COPYING -rw-r--r-- 18.3 KB
CREDITS -rw-r--r-- 94.5 KB
Kbuild -rw-r--r-- 2.1 KB
Kconfig -rw-r--r-- 252 bytes
MAINTAINERS -rw-r--r-- 302.1 KB
Makefile -rw-r--r-- 53.1 KB
README -rw-r--r-- 18.2 KB
REPORTING-BUGS -rw-r--r-- 7.3 KB

README

back to top