blk-mq: remove REQ_P2PDMA flag
authorKeith Busch <kbusch@kernel.org>
Wed, 13 Aug 2025 15:31:48 +0000 (08:31 -0700)
committerJens Axboe <axboe@kernel.dk>
Mon, 25 Aug 2025 13:44:39 +0000 (07:44 -0600)
commit7092639031a1bd5320ab827e8f665350f332b7ce
tree5c71c4ee8296615a42a3a8480905894b4903ce03
parent92fb75fd14b041038e30bc725ab4c1e625243573
blk-mq: remove REQ_P2PDMA flag

It's not serving any particular purpose. pci_p2pdma_state() already has
all the appropriate checks, so the config and flag checks are not
guarding anything.

Signed-off-by: Keith Busch <kbusch@kernel.org>
Reviewed-by: Kanchan Joshi <joshi.k@samsung.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Martin K. Petersen <martin.petersen@oracle.com>
Link: https://lore.kernel.org/r/20250813153153.3260897-5-kbusch@meta.com
Signed-off-by: Jens Axboe <axboe@kernel.dk>
block/bio.c
block/blk-mq-dma.c
include/linux/blk_types.h