> > Hi,
> > My laptop is running svn_104 and supports my
> Elements
> > USB disk drive fine.
> > For some time I have found that I can't
> permanently
> > save mp3 files to my MP3 player.
> [ ... ]
> > rts{rich}76: cp -r acdc /media/SGTL\ MSCN/
> [ ... ]
> > If I now eject the device:-
> > rts{rich}81: eject rmdisk
> > rmdisk /dev/dsk/c3t0d0p0:1 unmounted
> > 
> > and review the file on the MP3 player the acdc
> file are gone :-
> 
> Hmm. Looks like a bug in PCFS' umount codepath, not
> properly syncing out pending data buffers. We've been

fwiw, I don't think so. the submitter used 'eject rmdisk' without the force 
flag,
this will be a regular umount. the PCFS code path in pcfs_unmount() just checks
if there are still active pcnodes hanging around which would presumably imply 
dirty pages
as well. if no active pcnodes are around (pcfs_nrefs) the umount is more or 
less finished,
ie. the pcfs_umount() path never implies actual I/O. since the eject aka. umount
succeeded for the submitter we can assume that there where no more active 
pcnodes
hanging around. this further suggests we've lost the I/O somewhere else much 
much earlier
or (I think unlikely) the reference counting is broken...

---
frankB
-- 
This message posted from opensolaris.org

Reply via email to