On Tue, 17 Apr 2012, Jeff Darcy wrote: >On Tue, 17 Apr 2012 01:57:35 +0200 >Edward Shishkin <[email protected]> wrote: > >> Comment 2. There is a disadvantage: in this approach all files >> >> /foo >> /dir1/foo >> /dir1/dir2/foo >> ... >> >> will be accumulated on the same brick. However it is possible to >> "salt" a short file names with gfid (or another id) of respective >> directory before hashing, to avoid possible attacks. > >That's the easy problem. >
ISTR Avati and/or Vijay telling us — when we were in BLR — that the hash of the filename is salted with the hash of the pathname up to, but not including the filename. Am I misremembering that? (Of course I haven't looked at the code.) —— Kaleb _______________________________________________ Gluster-devel mailing list [email protected] https://lists.nongnu.org/mailman/listinfo/gluster-devel
