NeilBrown cbd1998377 md: Fix unfortunate interaction with evms
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>
Cc: stable@kernel.org
2009-12-30 12:08:49 +11:00
..
2009-12-24 01:17:21 -05:00
2009-12-24 11:07:09 +01:00
2009-12-15 08:53:34 -08:00
2009-12-12 13:08:15 +01:00
2009-12-22 14:17:56 -08:00
2009-12-15 09:33:36 -08:00
2009-12-22 14:17:56 -08:00
2009-12-09 17:14:38 +11:00
2009-12-22 14:17:56 -08:00
2009-12-15 08:53:25 -08:00
2009-12-23 19:53:04 +00:00