android_kernel_motorola_sm6375/block
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Divyesh Shah 84c124da9f blkio: Changes to IO controller additional stats patches
that include some minor fixes and addresses all comments.

Changelog: (most based on Vivek Goyal's comments)
o renamed blkiocg_reset_write to blkiocg_reset_stats
o more clarification in the documentation on io_service_time and io_wait_time
o Initialize blkg->stats_lock
o rename io_add_stat to blkio_add_stat and declare it static
o use bool for direction and sync
o derive direction and sync info from existing rq methods
o use 12 for major:minor string length
o define io_service_time better to cover the NCQ case
o add a separate reset_stats interface
o make the indexed stats a 2d array to simplify macro and function pointer code
o blkio.time now exports in jiffies as before
o Added stats description in patch description and
  Documentation/cgroup/blkio-controller.txt
o Prefix all stats functions with blkio and make them static as applicable
o replace IO_TYPE_MAX with IO_TYPE_TOTAL
o Moved #define constant to top of blk-cgroup.c
o Pass dev_t around instead of char *
o Add note to documentation file about resetting stats
o use BLK_CGROUP_MODULE in addition to BLK_CGROUP config option in #ifdef
  statements
o Avoid struct request specific knowledge in blk-cgroup. blk-cgroup.h now has
  rq_direction() and rq_sync() functions which are used by CFQ and when using
  io-controller at a higher level, bio_* functions can be added.

Signed-off-by: Divyesh Shah<dpshah@google.com>
Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
2010-04-09 08:31:19 +02:00
..
blk-barrier.c
blk-cgroup.c blkio: Changes to IO controller additional stats patches 2010-04-09 08:31:19 +02:00
blk-cgroup.h blkio: Changes to IO controller additional stats patches 2010-04-09 08:31:19 +02:00
blk-core.c laptop-mode: Make flushes per-device 2010-04-06 14:25:14 +02:00
blk-exec.c
blk-integrity.c Driver core: Constify struct sysfs_ops in struct kobj_type 2010-03-07 17:04:49 -08:00
blk-ioc.c block: don't access jiffies when initialising io_context 2010-03-01 10:57:22 +01:00
blk-iopoll.c
blk-map.c
blk-merge.c block: Consolidate phys_segment and hw_segment limits 2010-02-26 13:58:08 +01:00
blk-settings.c block: Fix overrun in lcm() and move it to lib 2010-03-15 12:47:59 +01:00
blk-softirq.c
blk-sysfs.c Merge branch 'master' into for-linus 2010-03-19 08:05:10 +01:00
blk-tag.c
blk-timeout.c
blk.h
bsg.c tree-wide: Assorted spelling fixes 2010-02-09 11:13:56 +01:00
cfq-iosched.c blkio: Changes to IO controller additional stats patches 2010-04-09 08:31:19 +02:00
compat_ioctl.c
deadline-iosched.c
elevator.c Block: Fix block/elevator.c elevator_get() off-by-one error 2010-04-02 08:41:14 +02:00
genhd.c
ioctl.c
Kconfig block: make CONFIG_BLK_CGROUP visible 2010-03-16 08:57:15 +01:00
Kconfig.iosched cgroups: blkio subsystem as module 2010-03-12 15:52:36 -08:00
Makefile
noop-iosched.c
scsi_ioctl.c