dm - access io_cnt atomically
authorAlex Hornung <ahornung@gmail.com>
Mon, 29 Nov 2010 08:02:08 +0000 (08:02 +0000)
committerAlex Hornung <ahornung@gmail.com>
Mon, 29 Nov 2010 08:02:08 +0000 (08:02 +0000)
commit1efa8440ee95d1cf98e4be13519f81f3828e1d61
treeae0554640b07363f7e91fcc8aaa3b892fe518fa5
parentb878986e2bde4a947080984b010b9937473849fb
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.
sys/dev/disk/dm/dm.h
sys/dev/disk/dm/dm_table.c