Re: [RFC] Improved distribution

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, 17 Apr 2012, Jeff Darcy wrote:
>On Tue, 17 Apr 2012 01:57:35 +0200
>Edward Shishkin <edward@xxxxxxxxxx> 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



[Index of Archives]     [Gluster Users]     [Ceph Users]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [eCos]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux