Re: Fix SWSUSP & !SWAP

From: Pavel Machek (pavel@ucw.cz)
Date: Sun Apr 27 2003 - 13:59:56 EST


Hi!

> > > Sounds like a good idea to me.
> >
> > When I do sys_sync(), will it trigger that?
>
> No, having sys_sync() do journal purging would really hurt journal fs
> performance. That's why I said you need to call sync_supers_lockfs(),
> which is unfortunately not in 2.4 kernels (available in the LVM CVS
> as a patch), but it does appear to be in 2.5 kernels. For
> journaling

(Second thought).

Its okay. We do sys_sync. If machine fails to resume, normal journal
recovery happens; nothing bad. It would be nice to
sync_supers_lockfs(), but if we need to have list of block devices for
that, its just too much trouble. Data are safe, anyway.
                                                                Pavel

-- 
When do you have a heart between your knees?
[Johanka's followup: and *two* hearts?]
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Wed Apr 30 2003 - 22:00:27 EST