diff options
author | Israel Rukshin <[email protected]> | 2020-05-19 17:05:54 +0300 |
---|---|---|
committer | Christoph Hellwig <[email protected]> | 2020-05-27 07:12:39 +0200 |
commit | ba7ca2ae029607c7eb2c18e37e8bc0d2252d3d12 (patch) | |
tree | 20ee80eb43ebdff6d6b5dbdd620fc8a5598a003b /lib/mpi/mpi-mul.c | |
parent | 33cfdc2aa6969829f42640f758357e4b015e9f7d (diff) |
nvme: introduce NVME_INLINE_METADATA_SG_CNT
SGL size of metadata is usually small. Thus, 1 inline sg should cover
most cases. The macro will be used for pre-allocate a single SGL entry
for metadata. The preallocation of small inline SGLs depends on SG_CHAIN
capability so if the ARCH doesn't support SG_CHAIN, use the runtime
allocation for the SGL. This patch is a preparation for adding metadata
(T10-PI) over fabric support.
Signed-off-by: Israel Rukshin <[email protected]>
Signed-off-by: Max Gurtovoy <[email protected]>
Reviewed-by: Martin K. Petersen <[email protected]>
Reviewed-by: James Smart <[email protected]>
Signed-off-by: Christoph Hellwig <[email protected]>
Diffstat (limited to 'lib/mpi/mpi-mul.c')
0 files changed, 0 insertions, 0 deletions