Re: debian software raid1
From: NeilBrown <hidden>
Date: 2011-04-20 12:40:14
On Wed, 20 Apr 2011 12:28:45 +0200 Asdo [off-list ref] wrote:
On 04/20/11 00:51, NeilBrown wrote:quoted
If there was such a deadlock, it would be a serious bug. I don't believe such a bug exists (but hey - I keep finding bugs in this code, when I'm not busy writing new bugs, so I guess it could crash you machine and kill your cat).I am aware that raids 0,1,10 do not copy the buffer so I don't think there is risk of deadlock... Raids 456 do copy the buffer... but the destination buffers are preallocated, right?
Correct - destination buffers - when used - are preallocated. If this were not the case you would get deadlocks in normal usage without having to wait for suspend/resume to trigger them. NeilBrown