diff options
| author | Minchan Kim <[email protected]> | 2017-09-06 16:20:03 -0700 |
|---|---|---|
| committer | Linus Torvalds <[email protected]> | 2017-09-06 17:27:25 -0700 |
| commit | db8ffbd4e7634cc537c8d32e73e7ce0f06248645 (patch) | |
| tree | cecb269b4da514c29db6671da523b57c824e56c7 /tools/perf/scripts | |
| parent | ae85a8075c5b025b9d503554ddc480a346a24536 (diff) | |
zram: write incompressible pages to backing device
This patch enables write IO to transfer data to backing device. For
that, it implements write_to_bdev function which creates new bio and
chaining with parent bio to make the parent bio asynchrnous.
For rw_page which don't have parent bio, it submit owned bio and handle
IO completion by zram_page_end_io.
Also, this patch defines new flag ZRAM_WB to mark written page for later
read IO.
[[email protected]: fix typo in comment]
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')
0 files changed, 0 insertions, 0 deletions