All of lore.kernel.org
 help / color / mirror / Atom feed
* question on freeze and aio
@ 2007-02-09 16:04 Oliver Neukum
  2007-02-09 21:24 ` Rafael J. Wysocki
                   ` (2 more replies)
  0 siblings, 3 replies; 19+ messages in thread
From: Oliver Neukum @ 2007-02-09 16:04 UTC (permalink / raw)
  To: linux-pm

Hi,

can there be running aio requests if all tasks are frozen?

	Regards
		Oliver

^ permalink raw reply	[flat|nested] 19+ messages in thread

* Re: question on freeze and aio
  2007-02-09 16:04 question on freeze and aio Oliver Neukum
@ 2007-02-09 21:24 ` Rafael J. Wysocki
  2007-02-09 21:29 ` Nigel Cunningham
  2007-02-13 10:16 ` Pavel Machek
  2 siblings, 0 replies; 19+ messages in thread
From: Rafael J. Wysocki @ 2007-02-09 21:24 UTC (permalink / raw)
  To: linux-pm

On Friday, 9 February 2007 17:04, Oliver Neukum wrote:
> Hi,
> 
> can there be running aio requests if all tasks are frozen?

I think so.  We have to be able to save the image after all. :-)

Greetings,
Rafael

^ permalink raw reply	[flat|nested] 19+ messages in thread

* Re: question on freeze and aio
  2007-02-09 16:04 question on freeze and aio Oliver Neukum
  2007-02-09 21:24 ` Rafael J. Wysocki
@ 2007-02-09 21:29 ` Nigel Cunningham
  2007-02-09 22:03   ` Alan Stern
  2007-02-13 10:16 ` Pavel Machek
  2 siblings, 1 reply; 19+ messages in thread
From: Nigel Cunningham @ 2007-02-09 21:29 UTC (permalink / raw)
  To: Oliver Neukum; +Cc: linux-pm

Hi.

On Fri, 2007-02-09 at 17:04 +0100, Oliver Neukum wrote:
> Hi,
> 
> can there be running aio requests if all tasks are frozen?

Since tasks are frozen, no new aio requests would be submitted. We do a
sync to ssek to complete existing requests; I haven't looked to see
whether that would need extending to flush aio as well, but don't think
that would be the case. Given everyone else's silence, so far, you might
be better to ask the author(s) of the aio code.

(As I type Rafael's reply has arrived, but I think my answer might still
be helpful, so I'll send it too).

Regards,

Nigel

^ permalink raw reply	[flat|nested] 19+ messages in thread

* Re: question on freeze and aio
  2007-02-09 21:29 ` Nigel Cunningham
@ 2007-02-09 22:03   ` Alan Stern
  2007-02-09 22:08     ` Nigel Cunningham
                       ` (2 more replies)
  0 siblings, 3 replies; 19+ messages in thread
From: Alan Stern @ 2007-02-09 22:03 UTC (permalink / raw)
  To: Nigel Cunningham; +Cc: linux-pm

On Sat, 10 Feb 2007, Nigel Cunningham wrote:

> Hi.
> 
> On Fri, 2007-02-09 at 17:04 +0100, Oliver Neukum wrote:
> > Hi,
> > 
> > can there be running aio requests if all tasks are frozen?
> 
> Since tasks are frozen, no new aio requests would be submitted. We do a
> sync to ssek to complete existing requests; I haven't looked to see
> whether that would need extending to flush aio as well, but don't think
> that would be the case. Given everyone else's silence, so far, you might
> be better to ask the author(s) of the aio code.

I believe Nigel is basically correct.  However sync will only flush aio 
for block devices.  Other types of aio will remain active.

aio callbacks are interrupt-driven and execute in a workqueue (see
fs/aio.c), and as far as I can tell that workqueue doesn't freeze.  
Unless some general facility freezes all workqueues...

Alan Stern

^ permalink raw reply	[flat|nested] 19+ messages in thread

* Re: question on freeze and aio
  2007-02-09 22:03   ` Alan Stern
@ 2007-02-09 22:08     ` Nigel Cunningham
  2007-02-09 22:16       ` Rafael J. Wysocki
  2007-02-09 22:23       ` Alan Stern
  2007-02-09 22:09     ` Rafael J. Wysocki
  2007-02-13 10:17     ` Pavel Machek
  2 siblings, 2 replies; 19+ messages in thread
From: Nigel Cunningham @ 2007-02-09 22:08 UTC (permalink / raw)
  To: Alan Stern; +Cc: linux-pm

Hi.

On Fri, 2007-02-09 at 17:03 -0500, Alan Stern wrote:
> On Sat, 10 Feb 2007, Nigel Cunningham wrote:
> 
> > Hi.
> > 
> > On Fri, 2007-02-09 at 17:04 +0100, Oliver Neukum wrote:
> > > Hi,
> > > 
> > > can there be running aio requests if all tasks are frozen?
> > 
> > Since tasks are frozen, no new aio requests would be submitted. We do a
> > sync to ssek to complete existing requests; I haven't looked to see
> > whether that would need extending to flush aio as well, but don't think
> > that would be the case. Given everyone else's silence, so far, you might
> > be better to ask the author(s) of the aio code.
> 
> I believe Nigel is basically correct.  However sync will only flush aio 
> for block devices.  Other types of aio will remain active.
> 
> aio callbacks are interrupt-driven and execute in a workqueue (see
> fs/aio.c), and as far as I can tell that workqueue doesn't freeze.  
> Unless some general facility freezes all workqueues...

Hmm. That applies to Raid, too? I've had some reports of raid i/o being
caught in the BUG_ON() I have to catch I/O that shouldn't be happening,
but haven't gotten around to looking at them yet.

Regards,

Nigel

^ permalink raw reply	[flat|nested] 19+ messages in thread

* Re: question on freeze and aio
  2007-02-09 22:03   ` Alan Stern
  2007-02-09 22:08     ` Nigel Cunningham
@ 2007-02-09 22:09     ` Rafael J. Wysocki
  2007-02-13 10:18       ` Pavel Machek
  2007-02-13 10:17     ` Pavel Machek
  2 siblings, 1 reply; 19+ messages in thread
From: Rafael J. Wysocki @ 2007-02-09 22:09 UTC (permalink / raw)
  To: linux-pm

On Friday, 9 February 2007 23:03, Alan Stern wrote:
> On Sat, 10 Feb 2007, Nigel Cunningham wrote:
> 
> > Hi.
> > 
> > On Fri, 2007-02-09 at 17:04 +0100, Oliver Neukum wrote:
> > > Hi,
> > > 
> > > can there be running aio requests if all tasks are frozen?
> > 
> > Since tasks are frozen, no new aio requests would be submitted. We do a
> > sync to ssek to complete existing requests; I haven't looked to see
> > whether that would need extending to flush aio as well, but don't think
> > that would be the case. Given everyone else's silence, so far, you might
> > be better to ask the author(s) of the aio code.
> 
> I believe Nigel is basically correct.  However sync will only flush aio 
> for block devices.  Other types of aio will remain active.
> 
> aio callbacks are interrupt-driven and execute in a workqueue (see
> fs/aio.c), and as far as I can tell that workqueue doesn't freeze.  
> Unless some general facility freezes all workqueues...

No, workqueues are not frozen unless they are explicitly declared as
freezeable.  Which currently is only done by XFS, AFAIKS.

Greetings,
Rafael


-- 
If you don't have the time to read,
you don't have the time or the tools to write.
		- Stephen King

^ permalink raw reply	[flat|nested] 19+ messages in thread

* Re: question on freeze and aio
  2007-02-09 22:08     ` Nigel Cunningham
@ 2007-02-09 22:16       ` Rafael J. Wysocki
  2007-02-09 22:23       ` Alan Stern
  1 sibling, 0 replies; 19+ messages in thread
From: Rafael J. Wysocki @ 2007-02-09 22:16 UTC (permalink / raw)
  To: nigel; +Cc: linux-pm

On Friday, 9 February 2007 23:08, Nigel Cunningham wrote:
> Hi.
> 
> On Fri, 2007-02-09 at 17:03 -0500, Alan Stern wrote:
> > On Sat, 10 Feb 2007, Nigel Cunningham wrote:
> > 
> > > Hi.
> > > 
> > > On Fri, 2007-02-09 at 17:04 +0100, Oliver Neukum wrote:
> > > > Hi,
> > > > 
> > > > can there be running aio requests if all tasks are frozen?
> > > 
> > > Since tasks are frozen, no new aio requests would be submitted. We do a
> > > sync to ssek to complete existing requests; I haven't looked to see
> > > whether that would need extending to flush aio as well, but don't think
> > > that would be the case. Given everyone else's silence, so far, you might
> > > be better to ask the author(s) of the aio code.
> > 
> > I believe Nigel is basically correct.  However sync will only flush aio 
> > for block devices.  Other types of aio will remain active.
> > 
> > aio callbacks are interrupt-driven and execute in a workqueue (see
> > fs/aio.c), and as far as I can tell that workqueue doesn't freeze.  
> > Unless some general facility freezes all workqueues...
> 
> Hmm. That applies to Raid, too? I've had some reports of raid i/o being
> caught in the BUG_ON() I have to catch I/O that shouldn't be happening,
> but haven't gotten around to looking at them yet.

Yes, I think it applies to RAID, but that's because md_thread has been made
PF_NOFREEZE explicitly, since we want to be able to save the image to an
md-based swap.

Pretty much everything that uses workqueues can do that, too.

Greetings,
Rafael


-- 
If you don't have the time to read,
you don't have the time or the tools to write.
		- Stephen King

^ permalink raw reply	[flat|nested] 19+ messages in thread

* Re: question on freeze and aio
  2007-02-09 22:08     ` Nigel Cunningham
  2007-02-09 22:16       ` Rafael J. Wysocki
@ 2007-02-09 22:23       ` Alan Stern
  1 sibling, 0 replies; 19+ messages in thread
From: Alan Stern @ 2007-02-09 22:23 UTC (permalink / raw)
  To: Nigel Cunningham; +Cc: linux-pm

On Sat, 10 Feb 2007, Nigel Cunningham wrote:

> > aio callbacks are interrupt-driven and execute in a workqueue (see
> > fs/aio.c), and as far as I can tell that workqueue doesn't freeze.  
> > Unless some general facility freezes all workqueues...
> 
> Hmm. That applies to Raid, too? I've had some reports of raid i/o being
> caught in the BUG_ON() I have to catch I/O that shouldn't be happening,
> but haven't gotten around to looking at them yet.

Sorry, I don't know how the RAID drivers work.

Alan Stern

^ permalink raw reply	[flat|nested] 19+ messages in thread

* Re: question on freeze and aio
  2007-02-09 16:04 question on freeze and aio Oliver Neukum
  2007-02-09 21:24 ` Rafael J. Wysocki
  2007-02-09 21:29 ` Nigel Cunningham
@ 2007-02-13 10:16 ` Pavel Machek
  2 siblings, 0 replies; 19+ messages in thread
From: Pavel Machek @ 2007-02-13 10:16 UTC (permalink / raw)
  To: Oliver Neukum; +Cc: linux-pm

Hi!

> can there be running aio requests if all tasks are frozen?

If you see them running, you've found a kernel bug.

No, really, I do not think so. AFAIK, even aio does its i/o requests
from process context, no?
									Pavel
-- 
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html

^ permalink raw reply	[flat|nested] 19+ messages in thread

* Re: question on freeze and aio
  2007-02-09 22:03   ` Alan Stern
  2007-02-09 22:08     ` Nigel Cunningham
  2007-02-09 22:09     ` Rafael J. Wysocki
@ 2007-02-13 10:17     ` Pavel Machek
  2007-02-13 15:54       ` Rafael J. Wysocki
  2 siblings, 1 reply; 19+ messages in thread
From: Pavel Machek @ 2007-02-13 10:17 UTC (permalink / raw)
  To: Alan Stern; +Cc: linux-pm

Hi!

> > > can there be running aio requests if all tasks are frozen?
> > 
> > Since tasks are frozen, no new aio requests would be submitted. We do a
> > sync to ssek to complete existing requests; I haven't looked to see
> > whether that would need extending to flush aio as well, but don't think
> > that would be the case. Given everyone else's silence, so far, you might
> > be better to ask the author(s) of the aio code.
> 
> I believe Nigel is basically correct.  However sync will only flush aio 
> for block devices.  Other types of aio will remain active.
> 
> aio callbacks are interrupt-driven and execute in a workqueue (see
> fs/aio.c), and as far as I can tell that workqueue doesn't freeze.  
> Unless some general facility freezes all workqueues...

If this is so... we need to make that particular workqueue
freezeable. (And we should really make most workqueues freezeable).

									Pavel

-- 
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html

^ permalink raw reply	[flat|nested] 19+ messages in thread

* Re: question on freeze and aio
  2007-02-09 22:09     ` Rafael J. Wysocki
@ 2007-02-13 10:18       ` Pavel Machek
  2007-02-13 15:53         ` Rafael J. Wysocki
  2007-02-13 21:01         ` Alan Stern
  0 siblings, 2 replies; 19+ messages in thread
From: Pavel Machek @ 2007-02-13 10:18 UTC (permalink / raw)
  To: Rafael J. Wysocki; +Cc: linux-pm

Hi!

> > > > can there be running aio requests if all tasks are frozen?
> > > 
> > > Since tasks are frozen, no new aio requests would be submitted. We do a
> > > sync to ssek to complete existing requests; I haven't looked to see
> > > whether that would need extending to flush aio as well, but don't think
> > > that would be the case. Given everyone else's silence, so far, you might
> > > be better to ask the author(s) of the aio code.
> > 
> > I believe Nigel is basically correct.  However sync will only flush aio 
> > for block devices.  Other types of aio will remain active.
> > 
> > aio callbacks are interrupt-driven and execute in a workqueue (see
> > fs/aio.c), and as far as I can tell that workqueue doesn't freeze.  
> > Unless some general facility freezes all workqueues...
> 
> No, workqueues are not frozen unless they are explicitly declared as
> freezeable.  Which currently is only done by XFS, AFAIKS.

Ok, then we have a bug in swsusp. Can someone locate _which_ workqueue
is used for aio... and make it freezeable?
								Pavel
-- 
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html

^ permalink raw reply	[flat|nested] 19+ messages in thread

* Re: question on freeze and aio
  2007-02-13 10:18       ` Pavel Machek
@ 2007-02-13 15:53         ` Rafael J. Wysocki
  2007-02-14 21:44           ` Pavel Machek
  2007-02-13 21:01         ` Alan Stern
  1 sibling, 1 reply; 19+ messages in thread
From: Rafael J. Wysocki @ 2007-02-13 15:53 UTC (permalink / raw)
  To: Pavel Machek; +Cc: linux-pm

On Tuesday, 13 February 2007 11:18, Pavel Machek wrote:
> Hi!
> 
> > > > > can there be running aio requests if all tasks are frozen?
> > > > 
> > > > Since tasks are frozen, no new aio requests would be submitted. We do a
> > > > sync to ssek to complete existing requests; I haven't looked to see
> > > > whether that would need extending to flush aio as well, but don't think
> > > > that would be the case. Given everyone else's silence, so far, you might
> > > > be better to ask the author(s) of the aio code.
> > > 
> > > I believe Nigel is basically correct.  However sync will only flush aio 
> > > for block devices.  Other types of aio will remain active.
> > > 
> > > aio callbacks are interrupt-driven and execute in a workqueue (see
> > > fs/aio.c), and as far as I can tell that workqueue doesn't freeze.  
> > > Unless some general facility freezes all workqueues...
> > 
> > No, workqueues are not frozen unless they are explicitly declared as
> > freezeable.  Which currently is only done by XFS, AFAIKS.
> 
> Ok, then we have a bug in swsusp. Can someone locate _which_ workqueue
> is used for aio... and make it freezeable?

Hm, so AIO is not needed for saving the image regardless of the system
configuration?

Rafael

^ permalink raw reply	[flat|nested] 19+ messages in thread

* Re: question on freeze and aio
  2007-02-13 10:17     ` Pavel Machek
@ 2007-02-13 15:54       ` Rafael J. Wysocki
  0 siblings, 0 replies; 19+ messages in thread
From: Rafael J. Wysocki @ 2007-02-13 15:54 UTC (permalink / raw)
  To: linux-pm

On Tuesday, 13 February 2007 11:17, Pavel Machek wrote:
> Hi!
> 
> > > > can there be running aio requests if all tasks are frozen?
> > > 
> > > Since tasks are frozen, no new aio requests would be submitted. We do a
> > > sync to ssek to complete existing requests; I haven't looked to see
> > > whether that would need extending to flush aio as well, but don't think
> > > that would be the case. Given everyone else's silence, so far, you might
> > > be better to ask the author(s) of the aio code.
> > 
> > I believe Nigel is basically correct.  However sync will only flush aio 
> > for block devices.  Other types of aio will remain active.
> > 
> > aio callbacks are interrupt-driven and execute in a workqueue (see
> > fs/aio.c), and as far as I can tell that workqueue doesn't freeze.  
> > Unless some general facility freezes all workqueues...
> 
> If this is so... we need to make that particular workqueue
> freezeable. (And we should really make most workqueues freezeable).

Except for the ones that are needed to save the image.  Do we know which
ones they are?

Rafael

^ permalink raw reply	[flat|nested] 19+ messages in thread

* Re: question on freeze and aio
  2007-02-13 10:18       ` Pavel Machek
  2007-02-13 15:53         ` Rafael J. Wysocki
@ 2007-02-13 21:01         ` Alan Stern
  2007-02-14 17:25           ` Randy Dunlap
  2007-02-14 21:28           ` Rafael J. Wysocki
  1 sibling, 2 replies; 19+ messages in thread
From: Alan Stern @ 2007-02-13 21:01 UTC (permalink / raw)
  To: Pavel Machek; +Cc: linux-pm

On Tue, 13 Feb 2007, Pavel Machek wrote:

> > No, workqueues are not frozen unless they are explicitly declared as
> > freezeable.  Which currently is only done by XFS, AFAIKS.
> 
> Ok, then we have a bug in swsusp. Can someone locate _which_ workqueue
> is used for aio... and make it freezeable?

Here is an untested patch.  Does anybody have a way to test it?

(BTW, should it be spelled "freezeable" or "freezable"?)

Alan Stern



Index: usb-2.6/fs/aio.c
===================================================================
--- usb-2.6.orig/fs/aio.c
+++ usb-2.6/fs/aio.c
@@ -73,7 +73,7 @@ static int __init aio_setup(void)
 	kioctx_cachep = kmem_cache_create("kioctx", sizeof(struct kioctx),
 				0, SLAB_HWCACHE_ALIGN|SLAB_PANIC, NULL, NULL);
 
-	aio_wq = create_workqueue("aio");
+	aio_wq = create_freezeable_workqueue("aio");
 
 	pr_debug("aio_setup: sizeof(struct page) = %d\n", (int)sizeof(struct page));
 

^ permalink raw reply	[flat|nested] 19+ messages in thread

* Re: question on freeze and aio
  2007-02-13 21:01         ` Alan Stern
@ 2007-02-14 17:25           ` Randy Dunlap
  2007-02-14 21:32             ` Rafael J. Wysocki
  2007-02-14 21:28           ` Rafael J. Wysocki
  1 sibling, 1 reply; 19+ messages in thread
From: Randy Dunlap @ 2007-02-14 17:25 UTC (permalink / raw)
  To: Alan Stern; +Cc: linux-pm

On Tue, 13 Feb 2007 16:01:30 -0500 (EST) Alan Stern wrote:

> On Tue, 13 Feb 2007, Pavel Machek wrote:
> 
> > > No, workqueues are not frozen unless they are explicitly declared as
> > > freezeable.  Which currently is only done by XFS, AFAIKS.
> > 
> > Ok, then we have a bug in swsusp. Can someone locate _which_ workqueue
> > is used for aio... and make it freezeable?
> 
> Here is an untested patch.  Does anybody have a way to test it?
> 
> (BTW, should it be spelled "freezeable" or "freezable"?)

www.dict.org says freezable.


> Index: usb-2.6/fs/aio.c
> ===================================================================
> --- usb-2.6.orig/fs/aio.c
> +++ usb-2.6/fs/aio.c
> @@ -73,7 +73,7 @@ static int __init aio_setup(void)
>  	kioctx_cachep = kmem_cache_create("kioctx", sizeof(struct kioctx),
>  				0, SLAB_HWCACHE_ALIGN|SLAB_PANIC, NULL, NULL);
>  
> -	aio_wq = create_workqueue("aio");
> +	aio_wq = create_freezeable_workqueue("aio");
>  
>  	pr_debug("aio_setup: sizeof(struct page) = %d\n", (int)sizeof(struct page));


---
~Randy
*** Remember to use Documentation/SubmitChecklist when testing your code ***

^ permalink raw reply	[flat|nested] 19+ messages in thread

* Re: question on freeze and aio
  2007-02-13 21:01         ` Alan Stern
  2007-02-14 17:25           ` Randy Dunlap
@ 2007-02-14 21:28           ` Rafael J. Wysocki
  2007-02-14 23:40             ` Rafael J. Wysocki
  1 sibling, 1 reply; 19+ messages in thread
From: Rafael J. Wysocki @ 2007-02-14 21:28 UTC (permalink / raw)
  To: Alan Stern; +Cc: linux-pm

On Tuesday, 13 February 2007 22:01, Alan Stern wrote:
> On Tue, 13 Feb 2007, Pavel Machek wrote:
> 
> > > No, workqueues are not frozen unless they are explicitly declared as
> > > freezeable.  Which currently is only done by XFS, AFAIKS.
> > 
> > Ok, then we have a bug in swsusp. Can someone locate _which_ workqueue
> > is used for aio... and make it freezeable?
> 
> Here is an untested patch.  Does anybody have a way to test it?

I'll give it a run on my test system.

Greetings,
Rafael

^ permalink raw reply	[flat|nested] 19+ messages in thread

* Re: question on freeze and aio
  2007-02-14 17:25           ` Randy Dunlap
@ 2007-02-14 21:32             ` Rafael J. Wysocki
  0 siblings, 0 replies; 19+ messages in thread
From: Rafael J. Wysocki @ 2007-02-14 21:32 UTC (permalink / raw)
  To: linux-pm

On Wednesday, 14 February 2007 18:25, Randy Dunlap wrote:
> On Tue, 13 Feb 2007 16:01:30 -0500 (EST) Alan Stern wrote:
> 
> > On Tue, 13 Feb 2007, Pavel Machek wrote:
> > 
> > > > No, workqueues are not frozen unless they are explicitly declared as
> > > > freezeable.  Which currently is only done by XFS, AFAIKS.
> > > 
> > > Ok, then we have a bug in swsusp. Can someone locate _which_ workqueue
> > > is used for aio... and make it freezeable?
> > 
> > Here is an untested patch.  Does anybody have a way to test it?
> > 
> > (BTW, should it be spelled "freezeable" or "freezable"?)
> 
> www.dict.org says freezable.

Yeah, but we have always spelled "freezeable".  Google search shows both are
being used.

Greetings,
Rafael


-- 
If you don't have the time to read,
you don't have the time or the tools to write.
		- Stephen King

^ permalink raw reply	[flat|nested] 19+ messages in thread

* Re: question on freeze and aio
  2007-02-13 15:53         ` Rafael J. Wysocki
@ 2007-02-14 21:44           ` Pavel Machek
  0 siblings, 0 replies; 19+ messages in thread
From: Pavel Machek @ 2007-02-14 21:44 UTC (permalink / raw)
  To: Rafael J. Wysocki; +Cc: linux-pm

Hi!

> > Ok, then we have a bug in swsusp. Can someone locate _which_ workqueue
> > is used for aio... and make it freezeable?
> 
> Hm, so AIO is not needed for saving the image regardless of the system
> configuration?

No, definitely not.
								Pavel
-- 
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html

^ permalink raw reply	[flat|nested] 19+ messages in thread

* Re: question on freeze and aio
  2007-02-14 21:28           ` Rafael J. Wysocki
@ 2007-02-14 23:40             ` Rafael J. Wysocki
  0 siblings, 0 replies; 19+ messages in thread
From: Rafael J. Wysocki @ 2007-02-14 23:40 UTC (permalink / raw)
  To: linux-pm; +Cc: Pavel Machek

On Wednesday, 14 February 2007 22:28, Rafael J. Wysocki wrote:
> On Tuesday, 13 February 2007 22:01, Alan Stern wrote:
> > On Tue, 13 Feb 2007, Pavel Machek wrote:
> > 
> > > > No, workqueues are not frozen unless they are explicitly declared as
> > > > freezeable.  Which currently is only done by XFS, AFAIKS.
> > > 
> > > Ok, then we have a bug in swsusp. Can someone locate _which_ workqueue
> > > is used for aio... and make it freezeable?
> > 
> > Here is an untested patch.  Does anybody have a way to test it?
> 
> I'll give it a run on my test system.

Unfortunately, it seems to break the suspend.

The system doesn't suspend, but enters an endless loop right after the freezing
of consoles.

I'll have to debug it a bit more on a machine with a serial console, but not
today.

Well, it looks like there's something we didn't know about. :-)

Greetings,
Rafael

^ permalink raw reply	[flat|nested] 19+ messages in thread

end of thread, other threads:[~2007-02-14 23:40 UTC | newest]

Thread overview: 19+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-02-09 16:04 question on freeze and aio Oliver Neukum
2007-02-09 21:24 ` Rafael J. Wysocki
2007-02-09 21:29 ` Nigel Cunningham
2007-02-09 22:03   ` Alan Stern
2007-02-09 22:08     ` Nigel Cunningham
2007-02-09 22:16       ` Rafael J. Wysocki
2007-02-09 22:23       ` Alan Stern
2007-02-09 22:09     ` Rafael J. Wysocki
2007-02-13 10:18       ` Pavel Machek
2007-02-13 15:53         ` Rafael J. Wysocki
2007-02-14 21:44           ` Pavel Machek
2007-02-13 21:01         ` Alan Stern
2007-02-14 17:25           ` Randy Dunlap
2007-02-14 21:32             ` Rafael J. Wysocki
2007-02-14 21:28           ` Rafael J. Wysocki
2007-02-14 23:40             ` Rafael J. Wysocki
2007-02-13 10:17     ` Pavel Machek
2007-02-13 15:54       ` Rafael J. Wysocki
2007-02-13 10:16 ` Pavel Machek

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.