Re: [md PATCH 07/34] md/raid5: Protect some more code with ->device_lock.
From: Namhyung Kim <hidden> Date: 2011-07-22 03:54:01
NeilBrown [off-list ref] writes:
Other places that change or follow dev->towrite and dev->written take
the device_lock as well as the sh->lock.
So it should really be held in these places too.
Also, doing so will allow sh->lock to be discarded.
with merged fixes by: Namhyung Kim [off-list ref]
Signed-off-by: NeilBrown <redacted>