diff options
author | Christoph Hellwig <hch@lst.de> | 2025-01-10 06:47:11 +0100 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2025-01-10 07:29:23 -0700 |
commit | 958148a6ac061a9a80a184ea678a5fa872d0c56f (patch) | |
tree | 9dd787fa46cf0b3042f377b9235d0433bdd0610e /.get_maintainer.ignore | |
parent | aa427d7b73b196f657d6d2cf0e94eff6b883fdef (diff) |
block: check BLK_FEAT_POLL under q_usage_count
Otherwise feature reconfiguration can race with I/O submission.
Also drop the bio_clear_polled in the error path, as the flag does not
matter for instant error completions, it is a left over from when we
allowed polled I/O to proceed unpolled in this case.
Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Ming Lei <ming.lei@redhat.com>
Reviewed-by: Nilay Shroff <nilay@linux.ibm.com>
Reviewed-by: Martin K. Petersen <martin.petersen@oracle.com>
Link: https://lore.kernel.org/r/20250110054726.1499538-4-hch@lst.de
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to '.get_maintainer.ignore')
0 files changed, 0 insertions, 0 deletions