diff options
| author | Christoph Hellwig <[email protected]> | 2019-07-24 16:26:56 +0000 |
|---|---|---|
| committer | Jens Axboe <[email protected]> | 2019-07-26 18:50:57 +0000 |
| commit | c6c84f78e2f77be37b9a150ed33be992198741f0 (patch) | |
| tree | b17280da070959c9478ace36f0f184861ff969e1 /tools/perf/scripts/python/stackcollapse.py | |
| parent | Merge branch 'nvme-5.3' of git://git.infradead.org/nvme into for-linus (diff) | |
| download | kernel-c6c84f78e2f77be37b9a150ed33be992198741f0.tar.gz kernel-c6c84f78e2f77be37b9a150ed33be992198741f0.zip | |
block: fix max segment size handling in blk_queue_virt_boundary
We should only set the max segment size to unlimited if we actually
have a virt boundary. Otherwise we accidentally clear that limit
when called from the SCSI midlayer, which always calls
blk_queue_virt_boundary, even if that mask is 0.
Fixes: 7ad388d8e4c7 ("scsi: core: add a host / host template field for the virt boundary")
Reported-by: Guenter Roeck <[email protected]>
Signed-off-by: Christoph Hellwig <[email protected]>
Signed-off-by: Jens Axboe <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions
