• Kirill Smelkov's avatar
    bigfile/virtmem: Maintain dirty pages list for a fileh · 8bb7f2f2
    Kirill Smelkov authored
    This allows writeout code not to scan whole pagemap to find dirty pages
    to write out, which should be faster.
    
    But more importantly iterating whole pagemap on writeout would become
    unsafe, when in upcoming patch storeblk() will be called with virt_lock
    released: because there pagemap could be modified e.g. due to processing
    other read accesses.
    
    So maintain fileh->dirty_pages list and use it when we need to go
    through dirtied pages.
    
    Updates: #6
    8bb7f2f2
Name
Last commit
Last update
3rdparty Loading commit data...
bigarray Loading commit data...
bigfile Loading commit data...
demo Loading commit data...
include/wendelin Loading commit data...
lib Loading commit data...
t Loading commit data...
.gitignore Loading commit data...
.gitmodules Loading commit data...
CHANGELOG.rst Loading commit data...
COPYING Loading commit data...
Makefile Loading commit data...
README.rst Loading commit data...
setup.py Loading commit data...
tox.ini Loading commit data...
wendelin.py Loading commit data...