diff options
author | 2017-09-06 16:19:54 -0700 | |
---|---|---|
committer | 2017-09-06 17:27:25 -0700 | |
commit | 013bf95a83ec760a2afc37fabd6bf13a9cdae205 (patch) | |
tree | 450ec54a3f10553b66d144554f47a7712fa2a599 /Documentation/filesystems/caching | |
parent | zram: rename zram_decompress_page to __zram_bvec_read (diff) | |
download | linux-dev-013bf95a83ec760a2afc37fabd6bf13a9cdae205.tar.xz linux-dev-013bf95a83ec760a2afc37fabd6bf13a9cdae205.zip |
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 'Documentation/filesystems/caching')
0 files changed, 0 insertions, 0 deletions