summaryrefslogtreecommitdiffstats
path: root/crypto/sm3.c
diff options
context:
space:
mode:
authorKent Overstreet <kent.overstreet@linux.dev>2023-12-10 16:48:22 -0500
committerKent Overstreet <kent.overstreet@linux.dev>2024-01-01 11:47:41 -0500
commit24de63dacbffbfa069b44a1da1750eb5382275e7 (patch)
treee907442a4e66b636d3f956dd795de70fb51e4da7 /crypto/sm3.c
parente4e49375a8e4d9c9b65e79070ef6cff2433a7d5f (diff)
downloadlinux-stable-24de63dacbffbfa069b44a1da1750eb5382275e7.tar.gz
linux-stable-24de63dacbffbfa069b44a1da1750eb5382275e7.tar.bz2
linux-stable-24de63dacbffbfa069b44a1da1750eb5382275e7.zip
bcachefs: Improve trans->extra_journal_entries
Instead of using a darray, we now allocate journal entries for the transaction commit path with our normal bump allocator - with an inlined fastpath, and using btree_transaction_stats to remember how much to initially allocate so as to avoid transaction restarts. This is prep work for converting write buffer updates to use this mechanism. Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
Diffstat (limited to 'crypto/sm3.c')
0 files changed, 0 insertions, 0 deletions