aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/call-graph-from-sql.py
diff options
context:
space:
mode:
authorMinchan Kim <[email protected]>2017-09-06 16:20:07 -0700
committerLinus Torvalds <[email protected]>2017-09-06 17:27:25 -0700
commit8e654f8fbff52ac483fb69957222853d7e2fc588 (patch)
tree14d10c6f02c15c2c675ebc8c2c58d9c3f46f3ba9 /tools/perf/scripts/python/call-graph-from-sql.py
parentdb8ffbd4e7634cc537c8d32e73e7ce0f06248645 (diff)
zram: read page from backing device
This patch enables read IO from backing device. For the feature, it implements two IO read functions to transfer data from backing storage. One is asynchronous IO function and other is synchronous one. A reason I need synchrnous IO is due to partial write which need to complete read IO before the overwriting partial data. We can make the partial IO's case asynchronous, too but at the moment, I don't feel adding more complexity to support such rare use cases so want to go with simple. [[email protected]: read_from_bdev_async(): return 1 to avoid call page_endio() in zram_rw_page()] Link: http://lkml.kernel.org/r/[email protected] Link: http://lkml.kernel.org/r/[email protected] Signed-off-by: Minchan Kim <[email protected]> Signed-off-by: Yisheng Xie <[email protected]> Cc: Juneho Choi <[email protected]> Cc: Sergey Senozhatsky <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-sql.py')
0 files changed, 0 insertions, 0 deletions