Re: [PATCH] block: skip cgroups for passthrough io

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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>




[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux OMAP]     [Linux MIPS]     [eCos]     [Asterisk Internet PBX]     [Linux API]     [Monitors]

  Powered by Linux