Re: [PATCH] Freeze bdevs when freezing processes.



Hi!

Do you mean calling sys_sync() after the userspace has been frozen
may not be sufficient?

In most cases it probably is, but sys_sync() doesn't provide any
guarantees that the filesystem is not being used or written to after
it completes. Given that every so often I hear about an XFS filesystem
that was corrupted by suspend, I don't think this is sufficient...

Userspace is frozen. There's noone that can write to the XFS
filesystem.

Pavel
--
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html
-
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/



Relevant Pages

  • Re: [PATCH 2/2] mm: incorrect direct io error handling (v6)
    ... Nick Piggin writes: ... How would such a filesystem that did not hold i_mutex propose to fix the ... More majordomo info at http://vger.kernel.org/majordomo-info.html ... Please read the FAQ at http://www.tux.org/lkml/ ...
    (Linux-Kernel)
  • Re: GFS2 Filesystem [0/16]
    ... to somewhere other than the root directory of the filesystem or even ... getting/setting GFS2 specific flags on files. ... More majordomo info at http://vger.kernel.org/majordomo-info.html ... Please read the FAQ at http://www.tux.org/lkml/ ...
    (Linux-Kernel)
  • Re: Two questions on VFS/mm
    ... page we give to the filesystem is beyond the current end of file (and can ... And truncation ) happens ... More majordomo info at http://vger.kernel.org/majordomo-info.html ... Please read the FAQ at http://www.tux.org/lkml/ ...
    (Linux-Kernel)
  • Re: [PATCH 6/6] firewire: add it all to kbuild
    ... # Makefile for USB Core files and filesystem ... Stefan Richter ... More majordomo info at http://vger.kernel.org/majordomo-info.html ... Please read the FAQ at http://www.tux.org/lkml/ ...
    (Linux-Kernel)
  • [PATCH 001 of 4] knfsd: Fix return value for writes to some files in nfsd filesystem.
    ... Most files in the 'nfsd' filesystem are transactional. ... More majordomo info at http://vger.kernel.org/majordomo-info.html ... Please read the FAQ at http://www.tux.org/lkml/ ...
    (Linux-Kernel)