Skip to contentSkip to conversation

Is Swapping on software RAID1 possible in linux 2.4 ?

DISCUSSION Pete Zaitcev 1 participant 1 message Jul 5, 2001 1 message not in the archive

lore
Share & tools
lore
#1 lore raw
In reply to a message not in the archive
Quoted 9 lines · you
Quoted 3 lines · Peter Zaitsev

That's why I thought this problem is related to raid1 swapping I'm using.

Well there is the potential problem that RAID1 has that it can't avoid allocating memory in some occasions, for the 2nd bufferhead. ATARAID raid0 has the same problem for now, and there is no real solution to this. You can pre-allocate a bunch of bufferheads, but under high load you will run out of those, no matter how many you pre-allocate.

Arjan, why doesn't it sleep instead (GFP_KERNEL)?

-- Pete