]> git.baikalelectronics.ru Git - kernel.git/commit
block: copy ioprio in __bio_clone_fast() and bounce
authorHannes Reinecke <hare@suse.com>
Mon, 12 Nov 2018 17:35:25 +0000 (10:35 -0700)
committerJens Axboe <axboe@kernel.dk>
Mon, 12 Nov 2018 17:35:25 +0000 (10:35 -0700)
commit5367d69a671bf41124b74fbe10e98a216ab72851
tree4c65569eabf739f0246b9d4b64917fae17c1287b
parent9e269b6d502eff89516ff23a657d0b2834212213
block: copy ioprio in __bio_clone_fast() and bounce

We need to copy the io priority, too; otherwise the clone will run
with a different priority than the original one.

Fixes: 9890ed0f1dbe ("block: move bio io prio to a new field")
Signed-off-by: Hannes Reinecke <hare@suse.com>
Signed-off-by: Jean Delvare <jdelvare@suse.de>
Fixed up subject, and ordered stores.

Signed-off-by: Jens Axboe <axboe@kernel.dk>
block/bio.c
block/bounce.c