bbengfort / fluidfs

A highly consistent distributed filesystem built with FUSE
http://www.fluidfs.com
MIT License
1 stars 0 forks source link

refactor chunker to use 64 bit uints #40

Open bbengfort opened 7 years ago

bbengfort commented 7 years ago

Right now there is a mix of int and uint64 in the chunker methods. Change this to make sure unsigned ints are used where necessary.

The only weirdness about this is the use of a negative number in fixed length chunking so that the first chunk gets set correctly.