Files
linux/drivers
Dan Williams 4ae3f847e4 md: raid5: fix clearing of biofill operations
ops_complete_biofill() runs outside of spin_lock(&sh->lock) and clears the
'pending' and 'ack' bits.  Since the test_and_ack_op() macro only checks
against 'complete' it can get an inconsistent snapshot of pending work.

Move the clearing of these bits to handle_stripe5(), under the lock.

Signed-off-by: Dan Williams <dan.j.williams@intel.com>
Tested-by: Joel Bertrand <joel.bertrand@systella.fr>
Signed-off-by: Neil Brown <neilb@suse.de>
Cc: Stable <stable@kernel.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2007-10-23 08:32:06 -07:00
..
2007-10-17 08:42:52 -07:00
2007-10-22 21:19:53 +02:00
2007-10-16 09:43:09 -07:00
…
2007-10-19 11:53:42 -07:00
2007-10-20 00:47:32 +02:00
2007-10-20 01:34:40 +02:00
2007-10-22 21:19:53 +02:00
2007-10-19 23:22:55 +02:00
2007-10-20 01:55:58 +02:00
…
2007-10-20 01:34:40 +02:00
2007-10-20 01:34:40 +02:00
2007-10-22 21:19:53 +02:00
2007-10-20 01:34:40 +02:00
2007-10-22 08:13:19 -07:00
2007-10-19 11:53:41 -07:00
2007-10-19 11:53:41 -07:00
2007-10-20 01:34:40 +02:00
2007-10-20 15:04:06 -07:00
…
…
2007-10-16 21:04:11 -04:00
2007-10-17 08:42:57 -07:00
…
2007-10-22 21:19:53 +02:00
2007-10-18 10:39:03 +00:00