diff options
author | 2023-06-05 08:27:14 +0900 | |
---|---|---|
committer | 2023-06-05 22:03:28 +0900 | |
commit | 43cff7d94370c35ad7d96c9764b3b12f7735e6cc (patch) | |
tree | 021727c78ead284df41d54b1b48212054482bb29 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | ata: libata-eh: Use ata_ncq_enabled() in ata_eh_speed_down() (diff) | |
download | wireguard-linux-43cff7d94370c35ad7d96c9764b3b12f7735e6cc.tar.xz wireguard-linux-43cff7d94370c35ad7d96c9764b3b12f7735e6cc.zip |
ata: libata-scsi: Use ata_ncq_supported in ata_scsi_dev_config()
In ata_scsi_dev_config(), instead of hard-coding the test to check if
an ATA device supports NCQ by looking at the ATA_DFLAG_NCQ flag, use
ata_ncq_supported().
Signed-off-by: Damien Le Moal <dlemoal@kernel.org>
Reviewed-by: Hannes Reinecke <hare@suse.de>
Reviewed-by: John Garry <john.g.garry@oracle.com>
Reviewed-by: Johannes Thumshirn <johannes.thumshirn@wdc.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions