]> git.ipfire.org Git - thirdparty/krb5.git/commit
Improve ulog block resize efficiency 1410/head
authorZoltan Borbely <Zoltan.Borbely@morganstanley.com>
Fri, 31 Jan 2025 17:00:17 +0000 (18:00 +0100)
committerGreg Hudson <ghudson@mit.edu>
Thu, 6 Feb 2025 23:31:21 +0000 (18:31 -0500)
commit197ddd4196a3049cd17d29d1c8f0af1424472956
treefd51abba196471539337056e20613b6fdab6068c
parent367ccd2fcf8b4adb82bfc7ef9b5f04ff94f80326
Improve ulog block resize efficiency

When it is necessary to increase the ulog block size, copy the
existing entries instead of reinitializing the log.

[ghudson@mit.edu: added test case; renamed and split INDEX() to avoid
duplication; added sync_ulog() helper; modified copying loop for
clarity; edited commit message]

ticket: 9161 (new)
src/include/kdb_log.h
src/kprop/kproplog.c
src/lib/kdb/kdb_log.c
src/tests/t_iprop.py