Re: Ext3 Quick Shutdown

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Ok, forget the fsync. Can I sync just the ext3 journal and then reset
the system?
In that case, when the system comes up, it can read the journal
and update the file-system. How do I do this?

On 5/12/05, Julien Danjou <julien@xxxxxxxxxxx> wrote:
> 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
> 
> 
> BodyID:180556.2.n.logpart (stored separately)
> 
>

--
Kernelnewbies: Help each other learn about the Linux kernel.
Archive:       http://mail.nl.linux.org/kernelnewbies/
FAQ:           http://kernelnewbies.org/faq/



[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux