libzstd tests (was: [PATCH] libstore: Fix zero store writes)

2024-12-11 Thread Diego Nieto Cid
I can confirm that with the zero store patch applied libzstd tests run successfully \o/ It takes a long time though, time reports: real151m26.790s user0m0.020s sys 0m0.010s There are two tests that outputs great amounts of data (~4GB) into a temporary file, then md5sum i

Re: [PATCH] libstore: Fix zero store writes

2024-12-04 Thread Samuel Thibault
Applied, thanks! Sergey Bugaev, le mer. 04 déc. 2024 14:34:02 +0300, a ecrit: > We discard any written data, but we still need to set *amount. Not doing > that is undefined behavior, and causes the write to appear to fail. This > is the cause of a libzstd test failure on GNU/Hurd in particular. >

[PATCH] libstore: Fix zero store writes

2024-12-04 Thread Sergey Bugaev
We discard any written data, but we still need to set *amount. Not doing that is undefined behavior, and causes the write to appear to fail. This is the cause of a libzstd test failure on GNU/Hurd in particular. Reported-by: Diego Nieto Cid Signed-off-by: Sergey Bugaev --- Note: not tested, unl