nvmet: implement the changed namespaces log
authorChristoph Hellwig <hch@lst.de>
Fri, 25 May 2018 15:16:09 +0000 (17:16 +0200)
committerChristoph Hellwig <hch@lst.de>
Fri, 1 Jun 2018 12:37:35 +0000 (14:37 +0200)
commitc16734ea98f5549fed9a1af47e943a45855274e0
tree5921c34c91f029ad23ec1df30c4444f4d8ce5002
parent8ab0805f115b660b81c84cab6dc76ff6117e9734
nvmet: implement the changed namespaces log

Just keep a per-controller buffer of changed namespaces and copy it out
in the get log page implementation.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Sagi Grimberg <sagi@grimberg.me>
Reviewed-by: Daniel Verkamp <daniel.verkamp@intel.com>
drivers/nvme/target/admin-cmd.c
drivers/nvme/target/core.c
drivers/nvme/target/nvmet.h