sync() takes minutes while erasing
Joakim Tjernlund
joakim.tjernlund at transmode.se
Wed Aug 8 09:06:09 EDT 2007
On Mon, 2007-08-06 at 18:18 +0200, Joakim Tjernlund wrote:
> On Mon, 2007-07-02 at 14:58 +0200, Joakim Tjernlund wrote:
> > On Thu, 2007-06-28 at 20:02 +0100, David Woodhouse wrote:
> > > On Thu, 2007-06-28 at 20:59 +0200, Joakim Tjernlund wrote:
> > > > Thanks, this stop the complaints from the test team. They
> > > > don't like to wait a few mins every time they delete an old install
> > > > and reboot.
> > >
> > > This is what the rest of us use 'flash_eraseall -j' for, btw :)
> > >
> > > But I'll look into it. If we can do the erases from some other context
> > > it would be nice. Although pdflush_operation() doesn't seem to give us
> > > any way to _stop_ a pending call if we unmount.
hmm, can't jffs2_erase_pending_blocks() see if a unmount is in progress
and if so, stop erasing blocks?
> > >
> >
> > hmm, can't you make so that pdflush_operation() just erases one
> > block at a time? Then the longest you have to wait is just
> > the time it takes to finish one EB.
> >
> > Jocke
>
> Hi David
>
> Had any time to think on the above?
>
> Jocke
>
> ______________________________________________________
> Linux MTD discussion mailing list
> http://lists.infradead.org/mailman/listinfo/linux-mtd/
>
>
More information about the linux-mtd
mailing list