summaryrefslogtreecommitdiffstats
path: root/fs/bcachefs/str_hash.h
diff options
context:
space:
mode:
authorKent Overstreet <kent.overstreet@gmail.com>2020-01-30 20:26:08 -0500
committerKent Overstreet <kent.overstreet@linux.dev>2023-10-22 17:08:35 -0400
commitfdf224003354fb14e20f638e479273c4728dfc0a (patch)
treede3f0ebe37a2063ca523ceffb6e0d06a3dd07b20 /fs/bcachefs/str_hash.h
parent7d4aed1ea408f45aef8ddf5f28d8c10680b4f214 (diff)
downloadlinux-stable-fdf224003354fb14e20f638e479273c4728dfc0a.tar.gz
linux-stable-fdf224003354fb14e20f638e479273c4728dfc0a.tar.bz2
linux-stable-fdf224003354fb14e20f638e479273c4728dfc0a.zip
bcachefs: Improve an insert path optimization
The insert path had an optimization to short circuit lookup table/iterator fixups when overwriting an existing key with the same size value - but it was incorrect when other key fields (size/version) were changing. This is important for the upcoming rework to have extent updates use the same insert path as regular keys. Signed-off-by: Kent Overstreet <kent.overstreet@gmail.com> Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
Diffstat (limited to 'fs/bcachefs/str_hash.h')
0 files changed, 0 insertions, 0 deletions