diff options
author | Minchan Kim <minchan@kernel.org> | 2017-09-07 02:19:54 +0300 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2017-09-07 03:27:25 +0300 |
commit | 013bf95a83ec760a2afc37fabd6bf13a9cdae205 (patch) | |
tree | 450ec54a3f10553b66d144554f47a7712fa2a599 /drivers/block/umem.c | |
parent | 693dc1ce25b8c8fa33f930d47cd8f926eeb90812 (diff) | |
download | linux-013bf95a83ec760a2afc37fabd6bf13a9cdae205.tar.xz |
zram: add interface to specif backing device
For writeback feature, user should set up backing device before the zram
working.
This patch enables the interface via /sys/block/zramX/backing_dev.
Currently, it supports block device only but it could be enhanced for
file as well.
Link: http://lkml.kernel.org/r/1498459987-24562-5-git-send-email-minchan@kernel.org
Signed-off-by: Minchan Kim <minchan@kernel.org>
Cc: Juneho Choi <juno.choi@lge.com>
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>
Diffstat (limited to 'drivers/block/umem.c')
0 files changed, 0 insertions, 0 deletions