]> git.proxmox.com Git - mirror_ubuntu-zesty-kernel.git/commit
lightnvm: support multiple ppas in nvm_erase_ppa
authorMatias Bjørling <m@bjorling.me>
Tue, 12 Jan 2016 06:49:28 +0000 (07:49 +0100)
committerTim Gardner <tim.gardner@canonical.com>
Mon, 29 Feb 2016 15:58:34 +0000 (08:58 -0700)
commitfd5aac6dd73d4e14368d7211d7b1bc5164a6242c
tree09d4162eee5fdb14fd16c6703c9ee6c41644528a
parentf67b7de024d05a7123c49d5eccc206c0c6cade30
lightnvm: support multiple ppas in nvm_erase_ppa

BugLink: http://bugs.launchpad.net/bugs/1531539
Sometimes a user want to erase multiple PPAs at the same time. Extend
nvm_erase_ppa to take multiple ppas and number of ppas to be erased.

Signed-off-by: Matias Bjørling <m@bjorling.me>
Signed-off-by: Jens Axboe <axboe@fb.com>
(cherry picked from commit 81e681d3f7424fc2f03b6269e15c63131473c98f)
Signed-off-by: Tim Gardner <tim.gardner@canonical.com>
drivers/lightnvm/core.c
drivers/lightnvm/gennvm.c
include/linux/lightnvm.h