summaryrefslogtreecommitdiff
path: root/include/linux/raid
diff options
context:
space:
mode:
authorNeil Brown <neilb@cse.unsw.edu.au>2002-06-18 04:17:40 -0700
committerLinus Torvalds <torvalds@home.transmeta.com>2002-06-18 04:17:40 -0700
commit2d35e42d1cdb08f940a9c302c04bd6b24c44cedc (patch)
tree6c33508266499568cbe1e5c199607f1a13073370 /include/linux/raid
parent7145dd2494f8e704342850325d04f5567c33cda1 (diff)
[PATCH] md 19 of 22 - Improve serialisation of md syncing
If two md arrays which share real devices (i.e they each own a partition on some device) need to sync/reconstruct at the same time, it is much more efficient to have one wait while the other completes. The current code uses interruptible_sleep_on which isn't SMP safe (without the BKL). This patch re-does this code to make it more secure. Even it two start simultaneously, one will reliably get priority, and the other wont wait for ever.
Diffstat (limited to 'include/linux/raid')
0 files changed, 0 insertions, 0 deletions