aoe: fix crash in page count manipulation
authorJens Axboe <axboe@fb.com>
Sat, 12 Nov 2016 01:28:50 +0000 (18:28 -0700)
committerJens Axboe <axboe@fb.com>
Sat, 12 Nov 2016 15:27:07 +0000 (08:27 -0700)
commit0cbc72a1781250f373327dd7e306e33859a42154
tree157e036fd672cca80ae32a9a45517bdca6948c20
parent409ae5a76e0505c8ffe1424f9c00dbf2ec7b5eea
aoe: fix crash in page count manipulation

aoeblk contains some mysterious code, that wants to elevate the bio
vec page counts while it's under IO. That is not needed, it's
fragile, and it's causing kernel oopses for some.

Reported-by: Tested-by: Don Koch <kochd@us.ibm.com>
Tested-by: Tested-by: Don Koch <kochd@us.ibm.com>
Signed-off-by: Jens Axboe <axboe@fb.com>
drivers/block/aoe/aoecmd.c