Re: [PATCH 04/17] btrfs: use btrfs_crc32c() instead of btrfs_name_hash()

2019-05-13 Thread Johannes Thumshirn
On Fri, May 10, 2019 at 12:56:54PM +, Chris Mason wrote: > It groups together everyone using crc32c as a directory name hash (or > extref hash), so that if we ever want to add different hashes later down > the line, it's really clear what needs to change for what purpose. With > everyone ca

Re: [PATCH 04/17] btrfs: use btrfs_crc32c() instead of btrfs_name_hash()

2019-05-10 Thread Chris Mason
On 10 May 2019, at 7:15, Johannes Thumshirn wrote: > Like btrfs_crc32c() btrfs_name_hash() is only a shim wrapper over the > crc32c() library function. So we can just use btrfs_crc32c() instead > of > btrfs_name_hash(). Reading through the rest of the series, but I think using btrfs_name_hash()