All of lore.kernel.org
 help / color / mirror / Atom feed
* raid1 critical sections not protected in 2.4.x?
@ 2003-10-09 17:41 Steven Dake
  2003-10-10  8:14 ` Lars Marowsky-Bree
  0 siblings, 1 reply; 4+ messages in thread
From: Steven Dake @ 2003-10-09 17:41 UTC (permalink / raw)
  To: linux-raid

Folks,

I have been looking at the raid1.c code.  There is a kernel thread
raid1d that could be scheduled on processor A.  Then on processor B,
other raid code could be scheduled as per each block I/O request.

The particular critical section is the usage of the conf variable, and
specifically conf->mirrors.  raid1d reads conf->mirrors[x] while other
parts of the md code alter it simulatenously.

Is this a bug?  It might explain how people see counts get out of wack
on the media...

Thanks
-steve



^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2003-10-14  7:13 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-10-09 17:41 raid1 critical sections not protected in 2.4.x? Steven Dake
2003-10-10  8:14 ` Lars Marowsky-Bree
2003-10-13 21:29   ` Steven Dake
2003-10-14  7:13     ` Lars Marowsky-Bree

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.