Re: [PATCH] Freeze bdevs when freezing processes.
- From: David Chinner <dgc@xxxxxxx>
- Date: Fri, 27 Oct 2006 11:38:02 +1000
On Thu, Oct 26, 2006 at 11:11:29AM +0200, Rafael J. Wysocki wrote:
On Thursday, 26 October 2006 10:57, David Chinner wrote:
On Thu, Oct 26, 2006 at 06:18:29PM +1000, Nigel Cunningham wrote:
As you have them at the moment, the threads seem to be freezing fine.
The issue I've seen in the past related not to threads but to timer
based activity. Admittedly it was 2.6.14 when I last looked at it, but
there used to be a possibility for XFS to submit I/O from a timer when
the threads are frozen but the bdev isn't frozen. Has that changed?
I didn't think we've ever done that - periodic or delayed operations
are passed off to the kernel threads to execute. A stack trace
(if you still have it) would be really help here.
Hmmm - we have a couple of per-cpu work queues as well that are
used on I/O completion and that can, in some circumstances,
trigger new transactions. If we are only flush metadata, then
I don't think that any more I/o will be issued, but I could be
wrong (maze of twisty passages).
Well, I think this exactly is the problem, because worker_threads run with
PF_NOFREEZE set (as I've just said in another message).
Ok, so freezing the filesystem is the only way you can prevent
this as the workqueues are flushed as part of quiescing the filesystem.
Cheers,
Dave.
--
Dave Chinner
Principal Engineer
SGI Australian Software Group
-
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/
- Follow-Ups:
- Re: [PATCH] Freeze bdevs when freezing processes.
- From: Pavel Machek
- Re: [PATCH] Freeze bdevs when freezing processes.
- From: Rafael J. Wysocki
- Re: [PATCH] Freeze bdevs when freezing processes.
- References:
- [PATCH] Freeze bdevs when freezing processes.
- From: Nigel Cunningham
- Re: [PATCH] Freeze bdevs when freezing processes.
- From: Nigel Cunningham
- Re: [PATCH] Freeze bdevs when freezing processes.
- From: David Chinner
- Re: [PATCH] Freeze bdevs when freezing processes.
- From: Rafael J. Wysocki
- [PATCH] Freeze bdevs when freezing processes.
- Prev by Date: Re: [RFC: 2.6.19 patch] let PCI_MULTITHREAD_PROBE depend on BROKEN
- Next by Date: Networking messed up, bad checksum, incorrect length
- Previous by thread: Re: [PATCH] Freeze bdevs when freezing processes.
- Next by thread: Re: [PATCH] Freeze bdevs when freezing processes.
- Index(es):
Relevant Pages
|
Loading