[PATCH] md sleeps under spinlock on exit

2005-03-27 Thread Peter T. Breuer
md_exit calls mddev_put on each mddev during module exit. mddev_put calls blk_put_queue under spinlock, although it can sleep (it clearly calls kblockd_flush). This patch lifts the spinlock to do the flush. --- md.c.orig Fri Dec 24 22:34:29 2004 +++ md.cSun Mar 27 14:14:22 2005 @@

Raid1 problem can't add remove or mark faulty -- it did work

2005-03-27 Thread rrk
@@ mdstat after reboot [EMAIL PROTECTED]:~# cat /proc/mdstat Personalities : [linear] [raid0] [raid1] [raid5] [multipath] [raid6] [raid10] md0 : active raid1 hdc1[1] 155268096 blocks [2/1] [_U] unused devices: none

RE: Raid1 problem can't add remove or mark faulty -- it did work

2005-03-27 Thread Guy
I am not sure what bd_claim is, but it is somewhat like open(). My guess is your disk is in use, maybe nounted. Run this command and send the output. df Guy -Original Message- From: [EMAIL PROTECTED] [mailto:linux-raid- [EMAIL PROTECTED] On Behalf Of rrk Sent: Sunday, March 27,

Re: Raid1 problem can't add remove or mark faulty -- it did work

2005-03-27 Thread rrk
Guy wrote: I am not sure what bd_claim is, but it is somewhat like open(). My guess is your disk is in use, maybe nounted. Run this command and send the output. df Guy yep that was it -- there is a whizzing wizard somewhere it is not fstab-- though i checked that sorry for the trouble and