| To: | David Chinner <dgc@xxxxxxx> |
|---|---|
| Subject: | Re: [linux-pm] Re: [linux-lvm] 2.6.22-rc4 XFS fails after hibernate/resume |
| From: | David Greaves <david@xxxxxxxxxxxx> |
| Date: | Fri, 29 Jun 2007 08:40:00 +0100 |
| Cc: | "Rafael J. Wysocki" <rjw@xxxxxxx>, Pavel Machek <pavel@xxxxxx>, linux-pm <linux-pm@xxxxxxxxxxxxxx>, "'linux-kernel@xxxxxxxxxxxxxxx'" <linux-kernel@xxxxxxxxxxxxxxx>, xfs@xxxxxxxxxxx, LinuxRaid <linux-raid@xxxxxxxxxxxxxxx>, LVM general discussion and development <linux-lvm@xxxxxxxxxx>, David Robinson <zxvdr.au@xxxxxxxxx>, Oleg Nesterov <oleg@xxxxxxxxxx> |
| In-reply-to: | <20070629050024.GO31489@xxxxxxx> |
| References: | <46744065.6060605@xxxxxxxxxxxx> <200706281727.35430.rjw@xxxxxxx> <20070628220045.GA4521@xxxxxxxxxx> <200706290016.45719.rjw@xxxxxxx> <20070629050024.GO31489@xxxxxxx> |
| Sender: | xfs-bounce@xxxxxxxxxxx |
| User-agent: | Mozilla-Thunderbird 2.0.0.4 (X11/20070618) |
David Chinner wrote: On Fri, Jun 29, 2007 at 12:16:44AM +0200, Rafael J. Wysocki wrote:There are two solutions possible, IMO. One would be to make these workqueues freezable, which is possible, but hacky and Oleg didn't like that very much. The second would be to freeze XFS from within the hibernation code path, using freeze_bdev().The second is much more likely to work reliably. If freezing the filesystem leaves something in an inconsistent state, then it's something I can reproduce and debug without needing to suspend/resume. FWIW, don't forget you need to thaw the filesystem on resume. I've been a little distracted recently - sorry. I'll re-read the thread and see if there are any test actions I need to complete. I do know that the corruption problems I've been having: a) only happen after hibernate/resume b) only ever happen on one of 2 XFS filesystems c) happen even when the script does xfs_freeze;sync;hibernate;xfs_thaw What happens if a filesystem is frozen and I hibernate? Will it be thawed when I resume? David |
| Previous by Date: | Re: xfs_fsr, performance related tweaks, Nathan Scott |
|---|---|
| Next by Date: | Re: xfs_fsr, performance related tweaks, David Chinner |
| Previous by Thread: | Re: [linux-pm] Re: [linux-lvm] 2.6.22-rc4 XFS fails after hibernate/resume, David Chinner |
| Next by Thread: | Re: [linux-pm] Re: [linux-lvm] 2.6.22-rc4 XFS fails after hibernate/resume, David Chinner |
| Indexes: | [Date] [Thread] [Top] [All Lists] |