]> git.baikalelectronics.ru Git - 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)
commit254bbeb94b16e08f698fe8a38a06b939d14dc0e0
tree48f5c1035637455b24145df379dff14225bb10ec
parent7b1ee68df5c6dd6bc677c44e9323382092a0ab87
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