git: tmpfs - fix failing writes with no swap

Alex Hornung alexh at crater.dragonflybsd.org
Sat Jul 10 15:15:39 PDT 2010


commit b7545cb3ff9d0e0490a2453779b029252346d511
Author: Alex Hornung <ahornung at gmail.com>
Date:   Sat Jul 10 22:10:27 2010 +0100

    tmpfs - fix failing writes with no swap
    
    * When no swap is available, tmpfs was trying to use bawrite, causing
      some further problems down the line. We avoid this by now forcing the
      use of buwrite() for this case (no swap).
    
    Suggested-by: Matt Dillon

Summary of changes:
 sys/vfs/tmpfs/tmpfs_vnops.c |   22 ++++++++++++++++------
 1 files changed, 16 insertions(+), 6 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/b7545cb3ff9d0e0490a2453779b029252346d511


-- 
DragonFly BSD source repository





More information about the Commits mailing list