]> git.baikalelectronics.ru Git - kernel.git/commit
nullb: support memory backed store
authorShaohua Li <shli@fb.com>
Mon, 14 Aug 2017 22:04:56 +0000 (15:04 -0700)
committerJens Axboe <axboe@kernel.dk>
Wed, 23 Aug 2017 14:54:06 +0000 (08:54 -0600)
commitd0ca6d86d68d83881644f254a7413fc6a2639ad6
tree219a1c0deb9dbb2c1250b1f3a815b8e817829949
parent211c7e757b272dbfe6c8ce5245930a63e5c14c55
nullb: support memory backed store

This adds memory backed store in nullb.

User configure 'memory_backed' attribute for this. By default, nullb
disk doesn't use memory backed store.

Based on original patch from Kyungchan Koh

Signed-off-by: Kyungchan Koh <kkc6196@fb.com>
Signed-off-by: Shaohua Li <shli@fb.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
drivers/block/null_blk.c