block: add sysfs file for controlling io stats accounting
authorJens Axboe <jens.axboe@oracle.com>
Fri, 23 Jan 2009 09:54:44 +0000 (10:54 +0100)
committerJens Axboe <jens.axboe@oracle.com>
Fri, 30 Jan 2009 11:34:38 +0000 (12:34 +0100)
commitbc58ba9468d94d62c56ab9b47173583ec140b165
treee31bee7a5001efdd40ed568151d5fdfa8b1a746a
parent7598909e3ee2a08726276d6415b69dadb52d0d76
block: add sysfs file for controlling io stats accounting

This allows us to turn off disk stat accounting completely, for the cases
where the 0.5-1% reduction in system time is important.

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
block/blk-core.c
block/blk-sysfs.c
include/linux/blkdev.h