RE: [PATCH RESEND] aacraid: Fix 2T+ drives on SmartIOC-2000

2017-09-16 Thread Dave Carroll
> Dave, > > > Hi Christoph, > > > >> > + if ((le32_to_cpu(dresp->status) == ST_OK) && > >> > + (le32_to_cpu(dresp->mnt[0].vol) != CT_NONE)) { > >> > + _aac_probe_container2(context, fibptr); > >> > + return; > >> > >>

Re: [PATCH RESEND] aacraid: Fix 2T+ drives on SmartIOC-2000

2017-09-15 Thread Martin K. Petersen
Dave, > Hi Christoph, > >> > + if ((le32_to_cpu(dresp->status) == ST_OK) && >> > + (le32_to_cpu(dresp->mnt[0].vol) != CT_NONE)) { >> > + _aac_probe_container2(context, fibptr); >> > + return; >> >> if (dresp-

RE: [PATCH RESEND] aacraid: Fix 2T+ drives on SmartIOC-2000

2017-09-15 Thread Dave Carroll
Hi Christoph, > > + if ((le32_to_cpu(dresp->status) == ST_OK) && > > + (le32_to_cpu(dresp->mnt[0].vol) != CT_NONE)) { > > + _aac_probe_container2(context, fibptr); > > + return; > > if (dresp->status == cpu_to

Re: [PATCH RESEND] aacraid: Fix 2T+ drives on SmartIOC-2000

2017-09-15 Thread Martin K. Petersen
Dave, > The logic for supporting large drives was previously tied to 4Kn > support for SmartIOC-2000. As SmartIOC-2000 does not support volumes > using 4Kn drives, use the intended option flag AAC_OPT_NEW_COMM_64 to > determine support for volumes greater than 2T. Applied to 4.14/scsi-fixes. Tha

RE: [PATCH RESEND] aacraid: Fix 2T+ drives on SmartIOC-2000

2017-09-15 Thread Raghava Aditya Renukunta
> -Original Message- > From: Dave Carroll [mailto:david.carr...@microsemi.com] > Sent: Friday, September 15, 2017 10:04 AM > To: Martin K . Petersen ; James Bottomley > > Cc: Dave Carroll ; linux-scsi s...@vger.kernel.org>; dl-esc-Aacraid Linux Driver > ; Scott Benesh ; > Brian King ; sta

Re: [PATCH RESEND] aacraid: Fix 2T+ drives on SmartIOC-2000

2017-09-15 Thread Christoph Hellwig
> + if ((le32_to_cpu(dresp->status) == ST_OK) && > + (le32_to_cpu(dresp->mnt[0].vol) != CT_NONE)) { > + _aac_probe_container2(context, fibptr); > + return; if (dresp->status == cpu_to_le32(ST_OK) &&