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

git: dm - access io_cnt atomically


From: Alex Hornung <alexh@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Mon, 29 Nov 2010 00:19:51 -0800 (PST)

commit 1efa8440ee95d1cf98e4be13519f81f3828e1d61
Author: Alex Hornung <ahornung@gmail.com>
Date:   Mon Nov 29 08:02:08 2010 +0000

    dm - access io_cnt atomically
    
    * Now that we are using shared locks at some points, only update the
      io_cnt atomically, otherwise we can mess things up.

Summary of changes:
 sys/dev/disk/dm/dm.h       |    2 +-
 sys/dev/disk/dm/dm_table.c |    4 ++--
 2 files changed, 3 insertions(+), 3 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/1efa8440ee95d1cf98e4be13519f81f3828e1d61


-- 
DragonFly BSD source repository



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