[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <m1lk076dtj.fsf@frodo.ebiederm.org>
Date: Fri, 11 Jul 2008 19:23:04 -0700
From: ebiederm@...ssion.com (Eric W. Biederman)
To: "Rafael J. Wysocki" <rjw@...k.pl>
Cc: Pavel Machek <pavel@...e.cz>,
Andrew Morton <akpm@...ux-foundation.org>,
Vivek Goyal <vgoyal@...hat.com>,
Huang Ying <ying.huang@...el.com>, nigel@...el.suspend2.net,
linux-kernel@...r.kernel.org, linux-pm@...ts.linux-foundation.org,
Kexec Mailing List <kexec@...ts.infradead.org>
Subject: Re: [PATCH -mm 1/2] kexec jump -v12: kexec jump
"Rafael J. Wysocki" <rjw@...k.pl> 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@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists