aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/tools/perf/scripts/python/call-graph-from-postgresql.py
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2016-03-02 18:07:12 +0100
committerJens Axboe <axboe@fb.com>2016-03-03 14:43:10 -0700
commit45686b6198bd824f083ff5293f191d78db9d708a (patch)
tree5c752a162d53af164942242d217d4cf54a98afd8 /tools/perf/scripts/python/call-graph-from-postgresql.py
parentnvme: set queue limits for the admin queue (diff)
downloadwireguard-linux-45686b6198bd824f083ff5293f191d78db9d708a.tar.xz
wireguard-linux-45686b6198bd824f083ff5293f191d78db9d708a.zip
nvme: fix max_segments integer truncation
The block layer uses an unsigned short for max_segments. The way we calculate the value for NVMe tends to generate very large 32-bit values, which after integer truncation may lead to a zero value instead of the desired outcome. Signed-off-by: Christoph Hellwig <hch@lst.de> Reported-by: Jeff Lien <Jeff.Lien@hgst.com> Tested-by: Jeff Lien <Jeff.Lien@hgst.com> Reviewed-by: Keith Busch <keith.busch@intel.com> Signed-off-by: Jens Axboe <axboe@fb.com>
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions