diff options
author | Christoph Hellwig <hch@lst.de> | 2022-11-08 12:56:49 +0300 |
---|---|---|
committer | Christoph Hellwig <hch@lst.de> | 2022-11-15 12:56:20 +0300 |
commit | 65a54646420e1409760c2b9f0e1a5e5feca1364e (patch) | |
tree | e7498f8e3ec2d5a21432e01a24a93e0e497708f6 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | a6ee7f19ebfd158ffb3a6ebacf20ae43549bed05 (diff) | |
download | linux-65a54646420e1409760c2b9f0e1a5e5feca1364e.tar.xz |
nvme-pci: simplify nvme_dbbuf_dma_alloc
Move the OACS check and the error checking into nvme_dbbuf_dma_alloc so
that an upcoming second caller doesn't have to duplicate this boilerplate
code.
Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Sagi Grimberg <sagi@grimberg.me>
Reviewed-by: Chaitanya Kulkarni <kch@nvidia.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions