[PATCH 0/7] Add data to datalog, add replay tool
Hi,
As announced, here is the initial series for adding a replay tool.
Patch 1: Add support for pretty-printing WRITE_ZEROS and TRIM to
nbd-trdump. I've added a 'static inline' helper function to a
new header file.
Is the approacch good? As alternative, I could add the function
to e.g. cliserv.{c,h}. Would that be preferred?
Patch 2: Add actual data logging to nbd-server
I've defined a new flag to indicate that actual data will follow.
Any better ideas?
Patch 3: Add locking.
Is sem_open() portable enough? Should I add a few fallbacks?
Patch 4: Add logging of the replies to nbd-server.
Patch 5: Add a new tool nbd-trplay
Did I update Makefile.am correctly?
Patch 6: Initial CLI.
Patch 7: Actual implementation.
I've used the code a bit, and it seems that it finds at least
one suspicious case with ext4:
https://lore.kernel.org/all/baa3101d-e2f7-823e-040f-8739ab610419@colorfullife.com/
--
Manfred
Reply to: