On Sun, 2006-02-12 at 22:13 +0100, Ingo wrote:
> On Sun, 12 Feb 2006 14:51:14 -0600, Dave Kleikamp wrote:
> 
> >> The background for this question is that occasionally, when copying 
> >> thousands of small files
> >> (2000 directories, 20000 files, each less than 1 MB) by using the 
> >> Konqueror under KDE some
> >> files got lost. Linux jfs_fschk (umounted before) did not report any 
> >> anomalities,
> >> but OS/2's 'chkdsk /f:2' gave several lost handles and many files in 
> >> /lost+found.
> >There is a bug in Linux, that jfs does not maintain the size of the
> >directory correctly on legacy partitions, which makes os/2's fsck
> >unhappy.
> >
> >I tried fixing this here:
> >http://bugzilla.kernel.org/show_bug.cgi?id=5549
> >but it didn't seem to fix it.  I need to look into it some more.
> 
> Dave,
> so it is not worth to try the above mentioned fix I guess.
You could try it, but since I wasn't set up to test the patch myself,
I'm assuming I didn't quite get it right.
> As it does not happen under 'normal' conditions when just moving a
> few files and when knowing about it it is no loger dangerous for me;-)

It could happen under normal conditions.  I think it depends on whether
adding or removing an entry would cause the directory to need (or free)
another page of disk space.
> My most common use is to access data created under os/2 also
> from Linux, mainly multimedia-files and databases.
> But I am prepared to test in case you try another patch.

I've got to work on other things today, but I'll try to take another
look at the code later this week.  Thanks for the offer to test this.

Shaggy

> Many thanks and regards,
> Ingo

-- 
David Kleikamp
IBM Linux Technology Center



-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
_______________________________________________
Jfs-discussion mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jfs-discussion

Reply via email to