]> git.ipfire.org Git - people/ms/linux.git/commit - block/bio.c
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)
commitca474b73896bf6e0c1eb8787eb217b0f80221610
tree4c65569eabf739f0246b9d4b64917fae17c1287b
parent18e962ac0781bcb70d433de3b2a325ff792b4288
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: 43b62ce3ff0a ("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