All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/1] hashserv: Add `gc-mark-stream` command for batch hash marking
@ 2025-03-10 14:01 Alexandre Marques
  2025-03-10 14:01 ` [PATCH 1/1] " Alexandre Marques
  2025-03-10 14:19 ` [PATCH 0/1] " Alexandre Marques
  0 siblings, 2 replies; 4+ messages in thread
From: Alexandre Marques @ 2025-03-10 14:01 UTC (permalink / raw)
  To: bitbake-devel; +Cc: Alexandre Marques

This comes in the sequence of [1]. And it proposes a new garbage collection
command to improve the efficiency of marking several hash equivalence database
entries.

A new poky/script using this command will also be added, so that
developers can use it and to server as a reference on how this new
command is meant to be used.

Since the hash equivalence server API is also changed, and as of now there
isn't a convenient way to check the API version or which commands are
available.

The new client command assumes a connection error to the server means
the server does not support "bulk" marking in stream mode, and falls back
to sequentially marking each input its given.

1 - https://lists.openembedded.org/g/bitbake-devel/topic/clarification_on_cleaning_up/111382632a

Alexandre Marques (1):
  hashserv: Add `gc-mark-stream` command for batch hash marking

 bin/bitbake-hashclient | 30 ++++++++++++++++++++++++++++++
 lib/hashserv/client.py | 22 ++++++++++++++++++++++
 lib/hashserv/server.py | 29 +++++++++++++++++++++++++++++
 lib/hashserv/tests.py  | 42 ++++++++++++++++++++++++++++++++++++++++++
 4 files changed, 123 insertions(+)

-- 
2.25.1



^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2025-03-12 14:35 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-03-10 14:01 [PATCH 0/1] hashserv: Add `gc-mark-stream` command for batch hash marking Alexandre Marques
2025-03-10 14:01 ` [PATCH 1/1] " Alexandre Marques
2025-03-12 14:35   ` [bitbake-devel] " Joshua Watt
2025-03-10 14:19 ` [PATCH 0/1] " Alexandre Marques

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.