diff options
| author | Minchan Kim <minchan@kernel.org> | 2017-05-03 14:55:41 -0700 |
|---|---|---|
| committer | Peter Kalauskas <peskal@google.com> | 2018-08-23 12:00:18 -0700 |
| commit | 9956749a9a6e812481a83404bae6ff0396bb8326 (patch) | |
| tree | e6d38cb2fdce6e101b72ec0495819d607718e4ce /lib/zstd/zstd_common.c | |
| parent | 5a1f3f4275c70fccb097e24b8c80cac9626a55ac (diff) | |
BACKPORT: zram: partial IO refactoring
For architecture(PAGE_SIZE > 4K), zram have supported partial IO.
However, the mixed code for handling normal/partial IO is too mess,
error-prone to modify IO handler functions with upcoming feature so this
patch aims for cleaning up zram's IO handling functions.
Link: http://lkml.kernel.org/r/1492052365-16169-3-git-send-email-minchan@kernel.org
Signed-off-by: Minchan Kim <minchan@kernel.org>
Cc: Hannes Reinecke <hare@suse.com>
Cc: Johannes Thumshirn <jthumshirn@suse.de>
Cc: Sergey Senozhatsky <sergey.senozhatsky@gmail.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
(cherry picked from commit 1f7319c7427503abe2d365683588827b80f5714e)
Signed-off-by: Peter Kalauskas <peskal@google.com>
Bug: 112488418
Change-Id: I0f023d646d17f8156130cd0507b65f2223768adf
Diffstat (limited to 'lib/zstd/zstd_common.c')
0 files changed, 0 insertions, 0 deletions
