DragonFly BSD
DragonFly commits List (threaded) for 2010-07
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

git: tmpfs - fix failing writes with no swap


From: Alex Hornung <alexh@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Sat, 10 Jul 2010 15:12:44 -0700 (PDT)

commit b7545cb3ff9d0e0490a2453779b029252346d511
Author: Alex Hornung <ahornung@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



[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]