block: mark bio_wouldblock_error() bio with BIO_QUIET
authorJens Axboe <axboe@kernel.dk>
Mon, 1 Jun 2020 16:02:01 +0000 (10:02 -0600)
committerJens Axboe <axboe@kernel.dk>
Mon, 1 Jun 2020 16:02:01 +0000 (10:02 -0600)
commitabb30460bda232f304f642510adc8c6576ea51ea
tree6e7c4e29dfdf6ce96d3badc6c42b93df4d69e8e1
parent4d89e1d112a90e38032a4a1591c335947f471e95
block: mark bio_wouldblock_error() bio with BIO_QUIET

We really don't care about triggering buffer errors for this condition.
This avoids a spew of:

Buffer I/O error on dev sdc, logical block 785929, async page read
Buffer I/O error on dev sdc, logical block 759095, async page read
Buffer I/O error on dev sdc, logical block 766922, async page read
Buffer I/O error on dev sdc, logical block 17659, async page read
Buffer I/O error on dev sdc, logical block 637571, async page read
Buffer I/O error on dev sdc, logical block 39241, async page read
Buffer I/O error on dev sdc, logical block 397241, async page read
Buffer I/O error on dev sdc, logical block 763992, async page read

from -EAGAIN conditions on request allocation for async reads.

Signed-off-by: Jens Axboe <axboe@kernel.dk>
include/linux/bio.h