Re: [linux-pm] Freezer: Don't count threads waiting for frozen filesystems.

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Nigel Cunningham
Date: Monday, October 27, 2008 - 1:59 pm

Hi.

On Mon, 2008-10-27 at 13:38 +0100, Miklos Szeredi wrote:

I'll have a look at the code again. I deliberately didn't stop existing
requests, but perhaps that's the wrong behaviour.

In the above scenario, process B won't see process A's new request until
post-resume if the filesystem is already frozen, so steps 4 & 5 don't
happen. Process B will also always be frozen before process A if process
A is userspace (most likely in the above scenario) or was mounted after
process B. (I've had this patch distributed as is for almost a year,
with no problems at all, so I believe I'm right here).


I agree that these solutions won't work.

Regards,

Nigel

--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Re: [linux-pm] Freezer: Don't count threads waiting for fr ..., Rafael J. Wysocki, (Sun Oct 26, 1:01 pm)
Re: [linux-pm] Freezer: Don't count threads waiting for fr ..., Rafael J. Wysocki, (Mon Oct 27, 4:37 am)
Re: [linux-pm] Freezer: Don't count threads waiting for fr ..., Nigel Cunningham, (Mon Oct 27, 1:59 pm)
Re: [linux-pm] Freezer: Don't count threads waiting for fr ..., Rafael J. Wysocki, (Tue Oct 28, 3:00 pm)
Re: [linux-pm] Freezer: Don't count threads waiting for fr ..., Rafael J. Wysocki, (Tue Oct 28, 3:21 pm)
Re: [linux-pm] Freezer: Don't count threads waiting for fr ..., Rafael J. Wysocki, (Tue Oct 28, 4:59 pm)
Re: [linux-pm] Freezer: Don't count threads waiting for fr ..., Rafael J. Wysocki, (Wed Oct 29, 2:11 pm)
Re: [linux-pm] Freezer: Don't count threads waiting for fr ..., Rafael J. Wysocki, (Wed Oct 29, 3:07 pm)
Re: [linux-pm] Freezer: Don't count threads waiting for fr ..., Rafael J. Wysocki, (Thu Oct 30, 1:17 pm)