block: mark bdev files as FMODE_NOWAIT if underlying device supports it
authorJens Axboe <axboe@kernel.dk>
Tue, 9 May 2023 14:54:27 +0000 (08:54 -0600)
committerJens Axboe <axboe@kernel.dk>
Thu, 11 May 2023 13:23:59 +0000 (07:23 -0600)
commitd22f190efabecb393ded0b761a8873640b4e6257
treed0ee410be8e2a09a382941d48fcaccde1ae63a80
parent6baced19af87e442be7d9b37921d0cdb3bbe9f75
block: mark bdev files as FMODE_NOWAIT if underlying device supports it

We set this unconditionally, but it really should be dependent on if
the underlying device is nowait compliant.

Cc: linux-block@vger.kernel.org
Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
block/fops.c