thustorage/Sherman

Missing implementation of fine-grained write back

Closed this issue · 2 comments

Hi, The paper states that only the modified entry is written back to the memory pool to avoid the write amplification. However, in the source code, it seems that the whole node is already written back to the pool. Which part of the implementation is about fine-grained write-back? Look forward to your reply.

hi,refer to

Sherman/src/Tree.cpp

Lines 917 to 919 in a0d541e

write_page_and_unlock(
update_addr, GADD(page_addr, (update_addr - (char *)page)),
sizeof(LeafEntry), cas_buffer, lock_addr, tag, cxt, coro_id, false);

Thanks, got it!