]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitb1b4411cc1ffa4a005f8cd3aecf92a4a3374e9b6
tree5921c34c91f029ad23ec1df30c4444f4d8ce5002
parent254bbeb94b16e08f698fe8a38a06b939d14dc0e0
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