git: tmpfs - Make tmpfs_move_pages() more robust

Matthew Dillon dillon at crater.dragonflybsd.org
Sun Nov 24 09:03:40 PST 2019


commit 6994034513cc2f8ff3d79e00d28295f4dcceaf02
Author: Matthew Dillon <dillon at apollo.backplane.com>
Date:   Sun Nov 24 00:01:49 2019 -0800

    tmpfs - Make tmpfs_move_pages() more robust
    
    * Make tmpfs_move_pages() more robust by re-checking the page
      queue in the scan loop and waiting for any paging-in-progress
      to complete.
    
    * Possibly fixes or improves a race that could cause corruption
      in tmpfs files.
    
    Reported-by: zrj

Summary of changes:
 sys/vfs/tmpfs/tmpfs_vnops.c | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/6994034513cc2f8ff3d79e00d28295f4dcceaf02


-- 
DragonFly BSD source repository



More information about the Commits mailing list