git: dm - access io_cnt atomically

Alex Hornung alexh at crater.dragonflybsd.org
Mon Nov 29 00:20:01 PST 2010


commit 1efa8440ee95d1cf98e4be13519f81f3828e1d61
Author: Alex Hornung <ahornung at 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





More information about the Commits mailing list