Re: Re: How to disable NCQ with mpt3sas ?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Vaughan,

NCQ feature is only for SATA.
Enabling / Disabling NCQ through mpt3sas/lsiutil support is only for
SATA drives.

Thanks,
Suganath

On Mon, Feb 25, 2019 at 8:12 AM caoxt@xxxxxxxxxx <caoxt@xxxxxxxxxx> wrote:
>
> Hi Suganath,
>
>    [448435.392210] scsi 4:0:0:0: atapi(n), ncq(n), asyn_notify(n),smart(y), fua(n), sw_preserve(y)
> ^^^ You example has obvious output of ncq setting. However, my dmesg below isn't like yours:
>
> Feb 21 15:38:33 node95 kernel: mpt3sas0: Current Controller Queue Depth(3835),Max Controller Queue Dept
> Feb 21 15:38:33 node95 kernel: Capabilities=(
> Feb 21 15:38:33 node95 kernel: ,NCQ
> ...
> Feb 21 15:38:41 node95 kernel: scsi 0:0:3:0: Direct-Access     HGST     HUH721212AL5200  A3D0 PQ: 0 ANSI: 6
> Feb 21 15:38:41 node95 kernel: scsi 0:0:3:0: SSP: handle(0x0012), sas_addr(0x5000cca2531f0f16), phy(2), device_name(0x5000cca2531f0f17)
> Feb 21 15:38:41 node95 kernel: scsi 0:0:3:0: SSP: enclosure_logical_id(0x5000ccab0400c600), slot(11)
> Feb 21 15:38:41 node95 kernel: scsi 0:0:3:0: qdepth(254), tagged(1), simple(0), ordered(0), scsi_level(7), cmd_que(1)
>
> By reading the code, I found ncq setting is reported via
>         if (!ssp_target)
>                 _scsih_display_sata_capabilities(ioc, handle, sdev);
>
> So, all my disks are ssp_target? my lsscsi output is below:
>   # lsscsi |head
>   [0:0:0:0]    disk    HGST     HUH721212AL5200  A3D0  /dev/sdb
>   [0:0:1:0]    enclosu HGST     ScaleApex 4U60   0101  -
>   [0:0:2:0]    disk    HGST     HUH721212AL5200  A3D0  /dev/sdc
>   [0:0:3:0]    disk    HGST     HUH721212AL5200  A3D0  /dev/sdd
>   ...
>
> Then new question comes:  Does NCQ make sense for SSP targets?
>

> Regards,
> Vaughan



[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [SCSI Target Devel]     [Linux SCSI Target Infrastructure]     [Kernel Newbies]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Linux IIO]     [Samba]     [Device Mapper]

  Powered by Linux