summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/call-graph-from-postgresql.py
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2017-05-20 15:14:45 +0200
committerChristoph Hellwig <hch@lst.de>2017-05-26 09:54:23 +0300
commitc81bfba9983fc44210d3eb5971e0faac597bf50d (patch)
tree0b9009c4b6f35a08c1d3fc93082989901de01739 /tools/perf/scripts/python/call-graph-from-postgresql.py
parentd3d5b87ddde09bade512526f6df90e8c06c28230 (diff)
nvme: only setup block integrity if supported by the driver
Currently only the PCIe driver supports metadata, so we should not claim integrity support for the other drivers. This prevents nasty crashes with targets that advertise metadata support on fabrics. Also use the opportunity to factor out some code into a separate helper that isn't even compiled if CONFIG_BLK_DEV_INTEGRITY is disabled. Signed-off-by: Christoph Hellwig <hch@lst.de> Reviewed-by: Keith Busch <keith.busch@intel.com>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions