On Thu, Jan 11, 2024 at 09:16:42AM -0700, Jens Axboe wrote: > Before we can check that, we have to load > bio->bi_bdev->bd_disk->queue->integrity, and we have to call in to > bio_integrity_prep() as well needlessly. We could do that in patch 3 and > then we just need to load q->integrity->profile, and while queue_flags > is certainly hot, it's probably not a huge deal to load that cacheline. > I think if we do that, we stick integrity before limits. > > I can make that change, and then we can drop the flag. If this is good enough in your benchmarks I'd prefer that over adding a redundant flag.