diff options
author | David Oberhollenzer <david.oberhollenzer@sigma-star.at> | 2020-05-24 15:52:01 +0200 |
---|---|---|
committer | David Oberhollenzer <david.oberhollenzer@sigma-star.at> | 2020-05-24 15:52:01 +0200 |
commit | c067eee9c2e5fd97de7e9d74bfd4521984d23e3e (patch) | |
tree | d740ccaa12a1900da24570bf7544aaa8509812c8 /lib/util | |
parent | 6c122ab19fab0670a525a3df03db64a4960d84a2 (diff) |
Minor fixes/cleanups in the block processor
- Move the inode modifications out of do_block. The inode may be
reallocated in parallel by the process_completed_block function, so
it is not safe to store the fragment location in the do_block
function which is used from the worker threads.
- Move the accounting of fragment blocks to the
process_completed_block function.
Signed-off-by: David Oberhollenzer <david.oberhollenzer@sigma-star.at>
Diffstat (limited to 'lib/util')
0 files changed, 0 insertions, 0 deletions