commit | 8ab0805f115b660b81c84cab6dc76ff6117e9734 | [log] [tgz] |
---|---|---|
author | Christoph Hellwig <hch@lst.de> | Tue May 22 11:10:03 2018 +0200 |
committer | Christoph Hellwig <hch@lst.de> | Fri Jun 01 14:37:35 2018 +0200 |
tree | 48f5c1035637455b24145df379dff14225bb10ec | |
parent | c7759fff22657d0e03b508f8f3ef97efbb10bc13 [diff] |
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>