- Jan 29, 2020
-
-
Marcin Ślusarz authored
obj: fix zone size calculations
-
Piotr Balcer authored
The calculations for total available heap size for user allocations didn't take all possible metadata into account, leading to situations where for certain heap sizes the zone size was too large by a chunk.
-
- Jan 17, 2020
-
-
Marcin Ślusarz authored
-
- Jan 16, 2020
-
-
Marcin Ślusarz authored
-
Marcin Ślusarz authored
-
Marcin Ślusarz authored
-
Marcin Ślusarz authored
-
Marcin Ślusarz authored
-
Marcin Ślusarz authored
-
- Jan 15, 2020
-
-
Marcin Ślusarz authored
rpmem: don't stat a non-local replica during recovery
-
Adam Borowski authored
Its ->path will be null, which is doomed to fail.
-
- Jan 14, 2020
-
-
Marcin Ślusarz authored
-
Oksana Sałyk authored
Ref: pmem/pmdk/issues/4231
-
Marcin Ślusarz authored
obj: fix lock release order in palloc publish
-
Piotr Balcer authored
Given a following (sorted) collection of heap actions on memory blocks 1, 2: Alloc 1.1, Alloc 1.2, Free 1.3, Free 2.2, Free 2.5 The algorithm looks at every action and acquires lock for that memory block if that lock wasn't acquired previously. In this example, two locks would be acquired (2 blocks). After this is done, the actions are processed. Next, the actions are iterated over again, in the exact same order, and an "on_process" callback is invoked and the lock for that action is dropped. And this was the problem. The locks were being dropped before all actions for the same memory block had their "on_process" callback invoked. In this example, the order of operations would be: lock(m.1); lock(m.2); process_actions(); on_process(1.1); unlock(m.1); on_process(1.2); on_process(1.3); on_process(2.2); unlock(m.2); on_process(2.5); This left some of the on_process() callbacks unprotected, leading to unintended races. This patch fixes the problem by unlocking on last block. Now, the order of operations will be: lock(m.1); lock(m.2); process_actions(); on_process(1.1); on_process(1.2); on_process(1.3); unlock(m.1); on_process(2.2); on_process(2.5); unlock(m.2); This bug triggered an ASSERT() in debug builds, and in release builds it might have made runtime calculations related to recycler inaccurate, possibliy negatively impacting fragmentation.
-
- Jan 13, 2020
-
-
Marcin Ślusarz authored
pmem: fix pmemcheck support on platforms with eADR
-
- Jan 10, 2020
-
-
Marcin Ślusarz authored
-
- Jan 09, 2020
-
-
Marcin Ślusarz authored
obj: fix potential NULL-dereference in ulog_store
-
Piotr Balcer authored
In situations where the total number of entries to be stored in the ulog was an exact fit for the total capacity of the log, the algorithm was unnecessarily trying to zero-out a non-existent subsequent ulog. This triggered an ASSERT on debug builds and crashed on NULL-dereferencing.
-
- Nov 29, 2019
-
-
Marcin Ślusarz authored
obj: fix transient redo log of more than 64 entries
-
- Nov 27, 2019
-
-
Piotr Balcer authored
All transient actions in a single memory operation after 64th weren't being applied correctly because the non-cached capacity of a transient ulog wasn't being updated alongside the cached capacity - this caused a problem where the vast majority of code used the cached version, but the actual applying method used the uncached one. The only public API that could conceivably trigger this is pmemobj_set_value when used on volatile variables.
-
- Nov 25, 2019
-
-
Marcin Ślusarz authored
common: fix util_read/util_write on Windows
-
- Nov 21, 2019
-
-
Marcin Ślusarz authored
-
- Nov 05, 2019
-
-
Marcin Ślusarz authored
include df in testsuite output
-
Adam Borowski authored
We want to know filesystem type and free disk space.
-
- Oct 21, 2019
-
-
Marcin Ślusarz authored
test: force-disable pmemcheck in obj_root test
-
Marcin Ślusarz authored
doc: automatic stable-1.5 docs update
-
pmem-bot authored
-
Jan M Michalski authored
doc: fix formatting of pmreorder man page
-
Grzegorz Brzeziński authored
-
- Oct 18, 2019
-
-
Marcin Ślusarz authored
This small change unbreaks the whole man page.
-
- Oct 17, 2019
-
-
Marcin Ślusarz authored
doc: automatic stable-1.5 docs update
-
pmem-bot authored
-
Marcin Ślusarz authored
doc: fix pmem_errormsg description
-
Weronika Lewandowska authored
-
- Oct 10, 2019
-
-
Marcin Ślusarz authored
doc: automatic stable-1.5 docs update
-
pmem-bot authored
-
Marcin Ślusarz authored
fix manpage sections references: lib* are in section 7 not 3
-
Adam Borowski authored
Fixes pmem/issues#1130.
-
- Oct 08, 2019
-
-
Marcin Ślusarz authored
obj: fix pmemcheck marker in pmemobj_tx_wcsdup
-