Re: [PATCH v16 6/9] nvmet-passthru: Add passthru code to process commands

2020-07-27 Thread Logan Gunthorpe
On 2020-07-26 9:41 a.m., Christoph Hellwig wrote: > On Fri, Jul 24, 2020 at 12:33:51PM -0700, Keith Busch wrote: >> On Fri, Jul 24, 2020 at 11:25:17AM -0600, Logan Gunthorpe wrote: >>> + /* >>> +* The passthru NVMe driver may have a limit on the number of segments >>> +* which depends

Re: [PATCH v16 6/9] nvmet-passthru: Add passthru code to process commands

2020-07-26 Thread Christoph Hellwig
On Fri, Jul 24, 2020 at 12:33:51PM -0700, Keith Busch wrote: > On Fri, Jul 24, 2020 at 11:25:17AM -0600, Logan Gunthorpe wrote: > > + /* > > +* The passthru NVMe driver may have a limit on the number of segments > > +* which depends on the host's memory fragementation. To solve this, > >

Re: [PATCH v16 6/9] nvmet-passthru: Add passthru code to process commands

2020-07-24 Thread Logan Gunthorpe
On 2020-07-24 1:33 p.m., Keith Busch wrote: > On Fri, Jul 24, 2020 at 11:25:17AM -0600, Logan Gunthorpe wrote: >> +/* >> + * The passthru NVMe driver may have a limit on the number of segments >> + * which depends on the host's memory fragementation. To solve this, >> + * ensure

Re: [PATCH v16 6/9] nvmet-passthru: Add passthru code to process commands

2020-07-24 Thread Keith Busch
On Fri, Jul 24, 2020 at 11:25:17AM -0600, Logan Gunthorpe wrote: > + /* > + * The passthru NVMe driver may have a limit on the number of segments > + * which depends on the host's memory fragementation. To solve this, > + * ensure mdts is limitted to the pages equal to the

[PATCH v16 6/9] nvmet-passthru: Add passthru code to process commands

2020-07-24 Thread Logan Gunthorpe
Add passthru command handling capability for the NVMeOF target and export passthru APIs which are used to integrate passthru code with nvmet-core. The new file passthru.c handles passthru cmd parsing and execution. In the passthru mode, we create a block layer request from the nvmet request and