mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-11-12 10:01:54 -05:00
| Filename | Latest commit message | Latest commit date |
|---|---|---|
Add and use a new op_stat_group() function for indexing partition stat fields rather than indexing them by rq_data_dir() or bio_data_dir(). This function works similarly to op_is_sync() in that it takes the request::cmd_flags or bio::bi_opf flags and determines which stats should et updated. In addition, the second parameter to generic_start_io_acct() and generic_end_io_acct() is now a REQ_OP rather than simply a read or write bit and it uses op_stat_group() on the parameter to determine the stat group. Note that the partition in_flight counts are not part of the per-cpu statistics and as such are not indexed via this function. It's now indexed by op_is_write(). tj: Refreshed on top of v4.17. Updated to pass around REQ_OP. Signed-off-by: Michael Callahan <[email protected]> Signed-off-by: Tejun Heo <[email protected]> Cc: Minchan Kim <[email protected]> Cc: Dan Williams <[email protected]> Cc: Joshua Morris <[email protected]> Cc: Philipp Reisner <[email protected]> Cc: Matias Bjorling <[email protected]> Cc: Kent Overstreet <[email protected]> Cc: Alasdair Kergon <[email protected]> Signed-off-by: Jens Axboe <[email protected]> |
||
| .. | ||
| core.c | ||
| Kconfig | ||
| Makefile | ||
| pblk-cache.c | ||
| pblk-core.c | ||
| pblk-gc.c | ||
| pblk-init.c | ||
| pblk-map.c | ||
| pblk-rb.c | ||
| pblk-read.c | ||
| pblk-recovery.c | ||
| pblk-rl.c | ||
| pblk-sysfs.c | ||
| pblk-write.c | ||
| pblk.h | ||