Re: any chance we could dump the 64k subdirectory limit before 2.4 ships?

From: Hans Reiser (hans@reiser.to)
Date: Tue May 30 2000 - 18:04:41 EST


Chris Mason wrote:

> In 3.6.X, we have two stat data structs. struct stat_data_v1 is for using
> files from 3.5.x, and it has a 16 bit link count. struct stat_data is for
> new files and directories, and it has the 32 bit link count.
>
> You only get the new format stat data on new partitions, or on 3.5.x disks
> that have been mounted -o conv.
>
> -chris

So is the following the right solution?

for stat(), if (i_nlink > 64k-1 && on architecture where n_link_t is 16 bits)
return 64k-1
for stat64() return the correct value

This may still be viewed by Alan as something that should wait for after 2.4.0,
and I definitely won't disagree if he says so.

Hans

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



This archive was generated by hypermail 2b29 : Wed May 31 2000 - 21:00:22 EST