On Mon, Dec 18, 2023 at 08:57:22PM +0530, Kanchan Joshi wrote: > From: Kundan Kumar <kundan.kumar@xxxxxxxxxxx> > > Even if BLK_CGROUP is enabled, it does not work for passthrough io. > So skip setting up blkg for passthrough bio. > > Reduced processing gives ~5% hike in peak-performance workload. Looks good. Our passthrough commands still need to call bio_set_dev() for integrity data, so this is type of check is the easiest way to avoid the overhead. Reviewed-by: Keith Busch <kbusch@xxxxxxxxxx>