Files
NeilBrown 73b52c3b88 md: Fix unfortunate interaction with evms
commit cbd1998377504df005302ac90d49db72a48552a6 upstream.

evms configures md arrays by:
  open device
  send ioctl
  close device

for each different ioctl needed.
Since 2.6.29, the device can disappear after the 'close'
unless a significant configuration has happened to the device.
The change made by "SET_ARRAY_INFO" can too minor to stop the device
from disappearing, but important enough that losing the change is bad.

So: make sure SET_ARRAY_INFO sets mddev->ctime, and keep the device
active as long as ctime is non-zero (it gets zeroed with lots of other
things when the array is stopped).

This is suitable for -stable kernels since 2.6.29.

Signed-off-by: NeilBrown <neilb@suse.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2010-01-06 14:26:28 -08:00
..
2009-06-22 10:12:26 +01:00
2009-06-22 10:12:36 +01:00
2009-04-09 00:27:17 +01:00
2009-09-04 20:40:25 +01:00
2009-06-22 10:12:29 +01:00
2009-09-04 20:40:25 +01:00
2009-06-22 10:12:35 +01:00
2009-06-22 10:12:35 +01:00
2010-01-06 14:26:28 -08:00
2009-03-31 14:57:37 +11:00
2009-12-08 10:20:58 -08:00