]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commit
nvmet: split log page implementation
authorChristoph Hellwig <hch@lst.de>
Tue, 22 May 2018 09:10:03 +0000 (11:10 +0200)
committerChristoph Hellwig <hch@lst.de>
Fri, 1 Jun 2018 12:37:35 +0000 (14:37 +0200)
commit8ab0805f115b660b81c84cab6dc76ff6117e9734
tree48f5c1035637455b24145df379dff14225bb10ec
parentc7759fff22657d0e03b508f8f3ef97efbb10bc13
nvmet: split log page implementation

Remove the common code to allocate a buffer and copy it into the SGL.
Instead the two no-op implementations just zero the SGL directly, and
the smart log allocates a buffer on its own.  This prepares for the
more elaborate ANA log page.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Sagi Grimberg <sagi@grimberg.me>
Reviewed-by: Johannes Thumshirn <jthumshirn@suse.de>
drivers/nvme/target/admin-cmd.c