Re: [RFC/PATCH] PM / Hibernate : Add wait for disk detection ifresume_file is MAJOR:MINOR style
From: Minho Ban
Date: Wed May 09 2012 - 04:03:47 EST
On 05/09/2012 06:28 AM, Rafael J. Wysocki wrote:
> On Tuesday, May 08, 2012, Minho Ban wrote:
>> On 05/08/2012 04:39 AM, Rafael J. Wysocki wrote:
>>>> + int partno;
>>>> + while (!get_gendisk(swsusp_resume_device, &partno))
>>>> + msleep(10);
>>>> + }
>>>> pr_debug("PM: Hibernation image partition %d:%d present\n",
>>>> MAJOR(swsusp_resume_device), MINOR(swsusp_resume_device));
>>> Besides, I'd like the documentation to be updated to reflect this change too.
>> Do you mean resumewait is needed to be updated in kernel-parameters.txt?
> No, but it should be decumented what exactly is to be passed in
> the resume= command line option (in kernel-parameters.txt). Please do that
> when you're at it.
OK, I'll add some comment on the resume= to clarify what partition format could be
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/