On Thu, 13 Mar 2003, Szakacsits Szabolcs wrote:
> On Wed, 12 Mar 2003, Szakacsits Szabolcs wrote:
> > On Wed, 12 Mar 2003, Attila Tajti wrote:
> > It might be very useful if it turns out the driver loops there for
> > whatever reason.
>
> Yes, get_nr_free_clusters() is totally broken.
>
> If the number of clusters on the volume falls to certain ranges then
> max_size always evaluates to 1024 thus control can't get out from the
> function. Anton, just a warning, I didn't check but it seems you also
> copy-pasted the broken logic into __get_nr_free_mft_records().
>
> 0.1% of the users are affected, I would consider this as a serious
> bug. I've just searched the Mandrake Bugzilla and a lot of entries
> when statfs() related programs hangs and use 100% of CPU time.
> Unfortunately they already went gold but IMHO Gentoo could still
> include the fix.
Thanks for spotting / reporting to both of you. Yes, the functions are
completely broken. Ooops! Will fix and commit later...
Best regards,
Anton
--
Anton Altaparmakov <aia21 at cantab.net> (replace at with @)
Linux NTFS maintainer / IRC: #ntfs on irc.freenode.net
WWW: http://linux-ntfs.sf.net/ & http://www-stu.christs.cam.ac.uk/~aia21/
|