diff options
| author | Minchan Kim <[email protected]> | 2017-09-06 16:20:00 -0700 |
|---|---|---|
| committer | Linus Torvalds <[email protected]> | 2017-09-06 17:27:25 -0700 |
| commit | ae85a8075c5b025b9d503554ddc480a346a24536 (patch) | |
| tree | 633d5dda845b81d541008af1633412af06242deb /tools/perf/scripts/python | |
| parent | 1363d4662a0d28dfdb81ef426c88c9a8dbf7c338 (diff) | |
zram: identify asynchronous IO's return value
For upcoming asynchronous IO like writeback, zram_rw_page should be
aware of that whether requested IO was completed or submitted
successfully, otherwise error.
For the goal, zram_bvec_rw has three return values.
-errno: returns error number
0: IO request is done synchronously
1: IO request is issued successfully.
Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Minchan Kim <[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')
0 files changed, 0 insertions, 0 deletions