bcachefs: Don't use sha256 for siphash str hash key
authorKent Overstreet <kent.overstreet@gmail.com>
Fri, 4 Oct 2019 19:58:43 +0000 (15:58 -0400)
committerKent Overstreet <kent.overstreet@linux.dev>
Sun, 22 Oct 2023 21:08:28 +0000 (17:08 -0400)
commit73501ab82c44b1249916ded8dcb883f7705b1549
tree0b60bc0940103196e3a77e3c0cd0b57b4e3851af
parentbd09d268978e1206d81a169039cf86f639817854
bcachefs: Don't use sha256 for siphash str hash key

With the refactoring that's coming to add fuse support, we want
bch2_hash_info_init() to be cheaper so we don't have to rely on anything
cached besides the inode in the btree.

Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
fs/bcachefs/bcachefs_format.h
fs/bcachefs/inode.c
fs/bcachefs/opts.h
fs/bcachefs/str_hash.h