Re: [PATCH 6/9] target: Allow sbc_ops->execute_rw() to accept SGLs + data_direction

2013-08-21 Thread Nicholas A. Bellinger
On Tue, 2013-08-20 at 23:35 -0700, Christoph Hellwig wrote: > On Tue, Aug 20, 2013 at 08:07:57PM +, Nicholas A. Bellinger wrote: > > From: Nicholas Bellinger > > > > COMPARE_AND_WRITE expects to be able to send down a DMA_FROM_DEVICE > > to obtain the necessary READ payload for comparision ag

Re: [PATCH 6/9] target: Allow sbc_ops->execute_rw() to accept SGLs + data_direction

2013-08-20 Thread Christoph Hellwig
On Tue, Aug 20, 2013 at 08:07:57PM +, Nicholas A. Bellinger wrote: > From: Nicholas Bellinger > > COMPARE_AND_WRITE expects to be able to send down a DMA_FROM_DEVICE > to obtain the necessary READ payload for comparision against the > first half of the WRITE payload containing the verify user

[PATCH 6/9] target: Allow sbc_ops->execute_rw() to accept SGLs + data_direction

2013-08-20 Thread Nicholas A. Bellinger
From: Nicholas Bellinger COMPARE_AND_WRITE expects to be able to send down a DMA_FROM_DEVICE to obtain the necessary READ payload for comparision against the first half of the WRITE payload containing the verify user data. Currently virtual backends expect to internally reference SGLs, SGL nents