summaryrefslogtreecommitdiff
path: root/block/blk-core.c
diff options
context:
space:
mode:
authorKeith Busch <keith.busch@intel.com>2015-04-23 10:24:45 -0600
committerJens Axboe <axboe@fb.com>2015-04-23 10:25:36 -0600
commit9283b42e46c2646dff1bec47e2dd683add7f9972 (patch)
treee156102ae49e252a3d84e75f4e9e33930c758d9b /block/blk-core.c
parente076b7c1343e0810880e6b909445f06921f31067 (diff)
NVMe: Fix VPD B0 max sectors translation
Use the namespace's block format for reporting the max transfer length. Max unmap count is left as-is since NVMe doesn't provide a max, so the value the driver provided the block layer is valid for any format. Reported-by: Martin K. Petersen <martin.petersen@oracle.com> Signed-off-by: Keith Busch <keith.busch@intel.com> Signed-off-by: Jens Axboe <axboe@fb.com>
Diffstat (limited to 'block/blk-core.c')
0 files changed, 0 insertions, 0 deletions