diff options
author | Murali Iyer <[email protected]> | 2015-03-26 11:07:51 -0500 |
---|---|---|
committer | Jens Axboe <[email protected]> | 2015-03-31 10:39:56 -0600 |
commit | f137e0f15101c0a0ff8a5d956042e50247f1fef9 (patch) | |
tree | df638613293871220dc168438bd4f74f6db68061 /lib/mpi/mpiutil.c | |
parent | 1efccc9ddb98fd533169669160201b027562af7e (diff) |
nvme: Fix PRP list calculation for non-4k system page size
PRP list calculation is supposed to be based on device's page size.
Systems with page size larger than device's page size cause corruption
to the name space as well as system memory with out this fix.
Systems like x86 might not experience this issue because it uses
PAGE_SIZE of 4K where as powerpc uses PAGE_SIZE of 64k while NVMe device's
page size varies depending upon the vendor.
Signed-off-by: Murali Iyer <[email protected]>
Signed-off-by: Brian King <[email protected]>
Acked-by: Keith Busch <[email protected]>
Signed-off-by: Jens Axboe <[email protected]>
Diffstat (limited to 'lib/mpi/mpiutil.c')
0 files changed, 0 insertions, 0 deletions