linux/drivers/block/aoe
Tejun Heo 074a7aca7a block: move stats from disk to part0
Move stats related fields - stamp, in_flight, dkstats - from disk to
part0 and unify stat handling such that...

* part_stat_*() now updates part0 together if the specified partition
  is not part0.  ie. part_stat_*() are now essentially all_stat_*().

* {disk|all}_stat_*() are gone.

* part_round_stats() is updated similary.  It handles part0 stats
  automatically and disk_round_stats() is killed.

* part_{inc|dec}_in_fligh() is implemented which automatically updates
  part0 stats for parts other than part0.

* disk_map_sector_rcu() is updated to return part0 if no part matches.
  Combined with the above changes, this makes NULL special case
  handling in callers unnecessary.

* Separate stats show code paths for disk are collapsed into part
  stats show code paths.

* Rename disk_stat_lock/unlock() to part_stat_lock/unlock()

While at it, reposition stat handling macros a bit and add missing
parentheses around macro parameters.

Signed-off-by: Tejun Heo <tj@kernel.org>
Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
2008-10-09 08:56:08 +02:00
..
aoe.h remove aoedev_isbusy() 2008-04-29 08:06:24 -07:00
aoeblk.c block: move capacity from disk to part0 2008-10-09 08:56:07 +02:00
aoechr.c aoe: convert emsgs_sema into a completion 2008-07-25 10:53:45 -07:00
aoecmd.c block: move stats from disk to part0 2008-10-09 08:56:08 +02:00
aoedev.c block: move capacity from disk to part0 2008-10-09 08:56:07 +02:00
aoemain.c aoe: update copyright date 2008-02-08 09:22:32 -08:00
aoenet.c Remove newline from the description of module parameters 2008-08-01 12:46:41 -07:00
Makefile Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00