Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1697980

Re: [PATCH v2 03/13] mpt3sas: SGL to PRP Translation for I/Os to NVMe devices

From "Martin K. Petersen" <martin.petersen@oracle.com>
Newsgroups linux.kernel
Subject Re: [PATCH v2 03/13] mpt3sas: SGL to PRP Translation for I/Os to NVMe devices
Date 2017-07-27 15:30 +0200
Message-ID <u7R1w-6CD-3@gated-at.bofh.it> (permalink)
References <u38Po-413-5@gated-at.bofh.it> <u38Pq-413-67@gated-at.bofh.it>
Organization Oracle Corporation

Show all headers | View raw


Suganath,

> * Added support for translating the SGLs associated with incoming
> commands either to IEE SGL or NVMe PRPs for NVMe devices.

This all seems very convoluted. You should rely on the block layer
infrastructure instead of doing all this slicing and dicing by hand.

If the attached device is an NVMe drive, call blk_queue_virt_boundary()
and you will only receive requests that are suitable for a device with
PRP-style scatterlist constraints.

-- 
Martin K. Petersen	Oracle Linux Engineering

Back to linux.kernel | Previous | Next | Find similar | Unroll thread


Thread

Re: [PATCH v2 03/13] mpt3sas: SGL to PRP Translation for I/Os to NVMe  devices "Martin K. Petersen" <martin.petersen@oracle.com> - 2017-07-27 15:30 +0200

csiph-web