lkml.org 
[lkml]   [2004]   [Sep]   [25]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [2.6] smbfs & "du" illness


On Sat, 25 Sep 2004, Jeremy Allison wrote:
>
> Also, the minumum size isn't the same issue as the st_blocks
> issue.

Well, it _is_.

Because right now the number is meaningless, and the Linux client is
apparently better off ignoring it totally.

Which was kind of my point to begin with.

If the number doesn't make sense, then we shouldn't look at it. The
_only_ thing that number makes sense for is st_blocks as far as the Linux
client is concerned.

In other words, the Linux client is a hell of a lot better off just taking
"(filesize + 511) >> 9", as far as I can tell. It's more accurate than the
random number you have.

Linus
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2009-11-18 23:46    [W:0.050 / U:1.008 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site