Re: [PATCH -mm 1/2] kexec jump -v12: kexec jump
From: Eric W. Biederman
Date: Fri Jul 11 2008 - 22:32:19 EST
"Rafael J. Wysocki" <rjw@xxxxxxx> writes:
> The truth is we could do hibernation without the freezer if
> (a) some drivers were fixed not to rely on it (kexec doesn't help here),
> (b) we had support at the block layer or filesystems level (kexec is a big
> workaround here).
I just realized with a little care the block layer does have support for this,
or something very close.
You setup a software raid mirror with one disk device. The physical
device can come in and out while the filesystems depend on the real device.
I expect a hardware pass through device configured to do exactly the
above would be about 100 lines of code, so getting past the filesystem
hurdle should be very doable. Arguably we should be able to do this
up a level, but it is easy enough to do that you can do a proof of
concept with out that.
Now I'm curious to see how far you can go with just the device hotplug support.
Eric
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/