OSDN Git Service

aio: clear IOCB_HIPRI
authorChristoph Hellwig <hch@lst.de>
Thu, 22 Nov 2018 15:44:07 +0000 (16:44 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 2 May 2019 07:58:57 +0000 (09:58 +0200)
commit9101cbe70ef64c7f35fb75552005a3a696cc288e
treece1554967ece41e9fb561435b12854f21e1856d0
parent920ecc72093d3747ed4e9a747cd4f54ba62df559
aio: clear IOCB_HIPRI

commit 154989e45fd8de9bfb52bbd6e5ea763e437e54c5 upstream.

No one is going to poll for aio (yet), so we must clear the HIPRI
flag, as we would otherwise send it down the poll queues, where no
one will be polling for completions.

Signed-off-by: Christoph Hellwig <hch@lst.de>
IOCB_HIPRI, not RWF_HIPRI.

Reviewed-by: Johannes Thumshirn <jthumshirn@suse.de>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Cc: Guenter Roeck <linux@roeck-us.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
fs/aio.c