]> 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)
commita9d6ed97d8ba9711880cef9b7f8c53312cb0bcfc
tree4c65569eabf739f0246b9d4b64917fae17c1287b
parent348cd57b8ed73c4d3538a320f7c99960239e38df
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: 9c257d9f6ff2 ("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