]> www.infradead.org Git - nvme.git/commit
block: move the pci_p2pdma flag to queue_limits
authorChristoph Hellwig <hch@lst.de>
Mon, 17 Jun 2024 06:04:51 +0000 (08:04 +0200)
committerJens Axboe <axboe@kernel.dk>
Wed, 19 Jun 2024 13:58:28 +0000 (07:58 -0600)
commit9c1e42e3c876c66796eda23e79836a4d92613a61
tree1665b0a63ba8e9791ddffdfff812168988f0514d
parenta52758a39768f441e468a41da6c15a59d6d6011a
block: move the pci_p2pdma flag to queue_limits

Move the pci_p2pdma flag into the queue_limits feature field so that it
can be set atomically with the queue frozen.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Damien Le Moal <dlemoal@kernel.org>
Reviewed-by: Hannes Reinecke <hare@suse.de>
Link: https://lore.kernel.org/r/20240617060532.127975-25-hch@lst.de
Signed-off-by: Jens Axboe <axboe@kernel.dk>
block/blk-mq-debugfs.c
drivers/nvme/host/core.c
include/linux/blkdev.h