diff options
author | Damien Le Moal <damien.lemoal@wdc.com> | 2018-11-20 10:52:36 +0900 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2018-11-19 19:03:47 -0700 |
commit | 76dc891395dc61e92e2ff31b6161815ce5eb715b (patch) | |
tree | ca1e6a9bb84a494609ddbb98475e42f48cf39553 /block/blk-merge.c | |
parent | 64845a1ddd655574886eb48e9a5eaeeb9b05bf0d (diff) | |
download | linux-76dc891395dc61e92e2ff31b6161815ce5eb715b.tar.bz2 |
aio: Fix fallback I/O priority value
For cases when the application does not specify aio_reqprio for an aio,
fallback to use get_current_ioprio() to obtain the task I/O priority
last set using ioprio_set() rather than the hardcoded IOPRIO_CLASS_NONE
value.
Reviewed-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Johannes Thumshirn <jthumshirn@suse.de>
Reviewed-by: Adam Manzanares <adam.manzanares@wdc.com>
Signed-off-by: Damien Le Moal <damien.lemoal@wdc.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'block/blk-merge.c')
0 files changed, 0 insertions, 0 deletions