Re: [PATCH] libata: add support for NCQ commands for SG interface

2015-10-23 Thread Vinayak Kale
Hi Tejun, On Fri, Oct 23, 2015 at 11:09 AM, Tejun Heo wrote: > Hello, > > On Fri, Oct 23, 2015 at 10:01:35AM +0530, Vinayak Kale wrote: >> > It looks like it'd work given that it's forcing qc->tag into >> > tf->nsect. What's the use case tho? >> >> We need to issue NCQ commands with priority

Re: [PATCH] libata: add support for NCQ commands for SG interface

2015-10-23 Thread Vinayak Kale
Hi Tejun, On Fri, Oct 23, 2015 at 11:09 AM, Tejun Heo wrote: > Hello, > > On Fri, Oct 23, 2015 at 10:01:35AM +0530, Vinayak Kale wrote: >> > It looks like it'd work given that it's forcing qc->tag into >> > tf->nsect. What's the use case tho? >> >> We need to issue NCQ commands

Re: [PATCH] libata: add support for NCQ commands for SG interface

2015-10-22 Thread Tejun Heo
Hello, On Fri, Oct 23, 2015 at 10:01:35AM +0530, Vinayak Kale wrote: > > It looks like it'd work given that it's forcing qc->tag into > > tf->nsect. What's the use case tho? > > We need to issue NCQ commands with priority bit from user space application. > > BTW, Sergei Shtylyov raised concern

Re: [PATCH] libata: add support for NCQ commands for SG interface

2015-10-22 Thread Tejun Heo
Hello, On Wed, Oct 21, 2015 at 10:39:32AM +0530, Vinayak Kale wrote: ... > > diff --git a/drivers/ata/libata-scsi.c b/drivers/ata/libata-scsi.c > > index 0d7f0da..5b0a5ab 100644 > > --- a/drivers/ata/libata-scsi.c > > +++ b/drivers/ata/libata-scsi.c > > @@ -2914,12 +2914,14 @@

Re: [PATCH] libata: add support for NCQ commands for SG interface

2015-10-22 Thread Tejun Heo
Hello, On Wed, Oct 21, 2015 at 10:39:32AM +0530, Vinayak Kale wrote: ... > > diff --git a/drivers/ata/libata-scsi.c b/drivers/ata/libata-scsi.c > > index 0d7f0da..5b0a5ab 100644 > > --- a/drivers/ata/libata-scsi.c > > +++ b/drivers/ata/libata-scsi.c > > @@ -2914,12 +2914,14 @@

Re: [PATCH] libata: add support for NCQ commands for SG interface

2015-10-22 Thread Tejun Heo
Hello, On Fri, Oct 23, 2015 at 10:01:35AM +0530, Vinayak Kale wrote: > > It looks like it'd work given that it's forcing qc->tag into > > tf->nsect. What's the use case tho? > > We need to issue NCQ commands with priority bit from user space application. > > BTW, Sergei Shtylyov raised concern

Re: [PATCH] libata: add support for NCQ commands for SG interface

2015-10-20 Thread Vinayak Kale
Hi Tejun, On Sat, Oct 17, 2015 at 5:18 PM, wrote: > From: Vinayak Kale > > This patch is needed to make NCQ commands with FPDMA protocol value > (eg READ/WRITE FPDMA) work over SCSI Generic (SG) interface. > > Signed-off-by: Vinayak Kale > --- > drivers/ata/libata-scsi.c | 10 -- > 1

Re: [PATCH] libata: add support for NCQ commands for SG interface

2015-10-20 Thread Vinayak Kale
Hi Tejun, On Sat, Oct 17, 2015 at 5:18 PM, wrote: > From: Vinayak Kale > > This patch is needed to make NCQ commands with FPDMA protocol value > (eg READ/WRITE FPDMA) work over SCSI Generic (SG) interface. > > Signed-off-by: Vinayak Kale

Re: [PATCH] libata: add support for NCQ commands for SG interface

2015-10-19 Thread Vinayak Kale
On Sun, Oct 18, 2015 at 12:12 AM, Sergei Shtylyov wrote: > On 10/17/2015 3:25 PM, Vinayak Kale wrote: > From: Vinayak Kale This patch is needed to make NCQ commands with FPDMA protocol value (eg READ/WRITE FPDMA) work over SCSI Generic (SG) interface. Signed-off-by:

Re: [PATCH] libata: add support for NCQ commands for SG interface

2015-10-19 Thread Vinayak Kale
On Sun, Oct 18, 2015 at 12:12 AM, Sergei Shtylyov wrote: > On 10/17/2015 3:25 PM, Vinayak Kale wrote: > From: Vinayak Kale This patch is needed to make NCQ commands with FPDMA protocol value (eg READ/WRITE FPDMA)

Re: [PATCH] libata: add support for NCQ commands for SG interface

2015-10-17 Thread Sergei Shtylyov
On 10/17/2015 3:25 PM, Vinayak Kale wrote: From: Vinayak Kale This patch is needed to make NCQ commands with FPDMA protocol value (eg READ/WRITE FPDMA) work over SCSI Generic (SG) interface. Signed-off-by: Vinayak Kale --- drivers/ata/libata-scsi.c | 10 -- 1 file changed, 8

Re: [PATCH] libata: add support for NCQ commands for SG interface

2015-10-17 Thread Vinayak Kale
On Sat, Oct 17, 2015 at 5:30 PM, Sergei Shtylyov wrote: > Hello. > > On 10/17/2015 2:48 PM, vinayak.k...@gmail.com wrote: > >> From: Vinayak Kale >> >> This patch is needed to make NCQ commands with FPDMA protocol value >> (eg READ/WRITE FPDMA) work over SCSI Generic (SG) interface. >> >>

Re: [PATCH] libata: add support for NCQ commands for SG interface

2015-10-17 Thread Sergei Shtylyov
Hello. On 10/17/2015 2:48 PM, vinayak.k...@gmail.com wrote: From: Vinayak Kale This patch is needed to make NCQ commands with FPDMA protocol value (eg READ/WRITE FPDMA) work over SCSI Generic (SG) interface. Signed-off-by: Vinayak Kale --- drivers/ata/libata-scsi.c | 10 -- 1

[PATCH] libata: add support for NCQ commands for SG interface

2015-10-17 Thread vinayak . kale
From: Vinayak Kale This patch is needed to make NCQ commands with FPDMA protocol value (eg READ/WRITE FPDMA) work over SCSI Generic (SG) interface. Signed-off-by: Vinayak Kale --- drivers/ata/libata-scsi.c | 10 -- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git

Re: [PATCH] libata: add support for NCQ commands for SG interface

2015-10-17 Thread Sergei Shtylyov
Hello. On 10/17/2015 2:48 PM, vinayak.k...@gmail.com wrote: From: Vinayak Kale This patch is needed to make NCQ commands with FPDMA protocol value (eg READ/WRITE FPDMA) work over SCSI Generic (SG) interface. Signed-off-by: Vinayak Kale

Re: [PATCH] libata: add support for NCQ commands for SG interface

2015-10-17 Thread Vinayak Kale
On Sat, Oct 17, 2015 at 5:30 PM, Sergei Shtylyov wrote: > Hello. > > On 10/17/2015 2:48 PM, vinayak.k...@gmail.com wrote: > >> From: Vinayak Kale >> >> This patch is needed to make NCQ commands with FPDMA protocol value >> (eg

[PATCH] libata: add support for NCQ commands for SG interface

2015-10-17 Thread vinayak . kale
From: Vinayak Kale This patch is needed to make NCQ commands with FPDMA protocol value (eg READ/WRITE FPDMA) work over SCSI Generic (SG) interface. Signed-off-by: Vinayak Kale --- drivers/ata/libata-scsi.c | 10 -- 1 file changed, 8

Re: [PATCH] libata: add support for NCQ commands for SG interface

2015-10-17 Thread Sergei Shtylyov
On 10/17/2015 3:25 PM, Vinayak Kale wrote: From: Vinayak Kale This patch is needed to make NCQ commands with FPDMA protocol value (eg READ/WRITE FPDMA) work over SCSI Generic (SG) interface. Signed-off-by: Vinayak Kale ---