Re: Fix SWSUSP & !SWAP

Pavel Machek
2003-04-27T18:51:29Z

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?]