Re: 2.6.0, cdrom still showing directories after being erased

From: Jens Axboe
Date: Sun Feb 08 2004 - 05:33:25 EST


On Sun, Feb 08 2004, Eduard Bloch wrote:
> Moin John!
> John Bradford schrieb am Friday, den 06. February 2004:
>
> > > > unmounted before an erase, when it is re-mounted, the stale data is
> > > > read from the device's own cache, which should have been invalidated
> > > > by the erase.
> > >
> > > Is it realy a hardware issue?
> >
> > I originally thought so, but maybe I was wrong. Jens posted a patch
> > to invalidate kernel buffers on an umount - if the problem persists
> > with that patch, I still believe it is a hardware fault.
>
> And I don't. One of the cdrtools Debian maintainers just wrote that the
> patch does NOT solve the problem with the scenario described above in
> the thread.

Perhaps another program has the device open still? In that case, we
don't invalidate the toc cache.

--
Jens Axboe

-
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/