On Thu, May 12, 2005 at 06:06:14PM +0530, Ashwin Ramaswamy wrote: > Hi, > I'm working on a 2.4.20-8 kernel running on an ext3 file-system. I'm > in a situation where the file-system needs to clean-up as soon as > possible upon the receipt of a particular NMI/Interrupt. Basically, I > need to do an fsync and inform the ext3 layer that the "clean" flag > must be turned on the file-system or something of that sort. Now, > there's a minimal amount of time remaining after the interrupt arrives > before the power is abruptly brought down. So, basically how do I make > the ext3 FS clean within such a duration? Maybe do an fsync and then remount it immediatly in read-only? Just an idea. -- Julien Danjou // <julien@xxxxxxxxxxx> http://julien.danjou.info // 9A0D 5FD9 EB42 22F6 8974 C95C A462 B51E C2FE E5CD
Attachment:
signature.asc
Description: Digital signature