commit | 2f889129de148b0ba2e1fbc9e9d33a4ef4c5f2cb | [log] [tgz] |
---|---|---|
author | NeilBrown <neilb@suse.de> | Mon Mar 27 01:18:19 2006 -0800 |
committer | Linus Torvalds <torvalds@g5.osdl.org> | Mon Mar 27 08:45:03 2006 -0800 |
tree | 78d9d9ceb070d92eb8c53cf6d683526e2447d7bc | |
parent | 8ddeeae51f2f197b4fafcba117ee8191b49d843e [diff] |
[PATCH] md: Restore 'remaining' count when retrying an write operation When retrying a write due to barrier failure, we don't reset 'remaining', so it goes negative and never hits 0 again. Signed-off-by: Neil Brown <neilb@suse.de> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>