diff options
author | Guixin Liu <kanie@linux.alibaba.com> | 2024-03-13 10:29:05 +0800 |
---|---|---|
committer | Keith Busch <kbusch@kernel.org> | 2024-03-14 11:34:55 -0700 |
commit | dcad6f5f4303a224ac7a5802e7deffd46cf6f6cb (patch) | |
tree | ebcf99a25b253b66e01075ab168181cf18d7620b /tools/perf/scripts/python/export-to-postgresql.py | |
parent | de105068fead55ed5c07ade75e9c8e7f86a00d1d (diff) |
nvme: use nvme_disk_is_ns_head helper
Use nvme_disk_is_ns_head helper instead of check fops directly,
and also drop CONFIG_NVME_MULTIPATH check.
Signed-off-by: Guixin Liu <kanie@linux.alibaba.com>
Reviewed-by: Chaitanya Kulkarni <kch@nvidia.com>
Reviewed-by: Sagi Grimberg <sagi@grimberg.me>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Keith Busch <kbusch@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions