On 2017-02-10 23:21, Dale R. Worley wrote: > Goffredo Baroncelli <[email protected]> writes: >>> Or perhaps the inode >>> returned in stat() could contain a field to contain the snapshot >>> identifier along with the "base" i-node number. (I guess we know the >>> snapshot identifiers don't exceed 255!) >> >> A bit more: ~2^64 ... >> However it is suggested to not make more of few hundreds.... > > Isn't the snapshot identifier currently mapped to the minor device > number? And aren't those limited to 8 bits?
No, they have a uint64 as identifier.... In mailing list some suggested to not make more than 300 snapshots in order to avoid bad performance. But this limit is doable. Anyway, in 32 bit mode, the inode is 32 bit too. So leaving only 24 bit for the file inode means that you cannot have more than 24millions of files. I not sure that this limits would be acceptable today. > Dale > BR G.Baroncelli -- gpg @keyserver.linux.it: Goffredo Baroncelli <kreijackATinwind.it> Key fingerprint BBF5 1610 0B64 DAC6 5F7D 17B2 0EDA 9B37 8B82 E0B5 _______________________________________________ Findutils-patches mailing list [email protected] https://lists.gnu.org/mailman/listinfo/findutils-patches
