diff options
author | 2020-07-16 17:51:37 -0700 | |
---|---|---|
committer | 2020-07-29 07:45:18 +0200 | |
commit | 6c3c05b087ada8947cd31895f67e433070446234 (patch) | |
tree | d6493909e2c496b6b9deb0d038ec42a9ddcb8fe3 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | nvme: remove redundant validation in nvme_start_ctrl() (diff) | |
download | wireguard-linux-6c3c05b087ada8947cd31895f67e433070446234.tar.xz wireguard-linux-6c3c05b087ada8947cd31895f67e433070446234.zip |
nvme-core: replace ctrl page size with a macro
Saving the nvme controller's page size was from a time when the driver
tried to use different sized pages, but this value is always set to
a constant, and has been this way for some time. Remove the 'page_size'
field and replace its usage with the constant value.
This also lets the compiler make some micro-optimizations in the io
path, and that's always a good thing.
Signed-off-by: Chaitanya Kulkarni <chaitanya.kulkarni@wdc.com>
Signed-off-by: Christoph Hellwig <hch@lst.de>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions