Re: [PATCH 07/24] scsi-multipath: clone each bio
From: John Garry
Date: Mon Mar 02 2026 - 12:21:44 EST
On 02/03/2026 16:27, Benjamin Marzinski wrote:
Every bio which we are sent is cloned. And SCSI_MAX_QUEUE_DEPTH is used asIIRC, the reserved pool is there to guarantee forward progress under
the cached bio size - wouldn't it make sense to cache more than 2 bios?
memory pressure, so that if the system is short on memory, and it needs
to write out data to this multipath device in order to free up memory,
it there will be enough resources to do that.
Under normal conditions, your new bios should be getting pulled from the
per-cpu cache anyways, since you set BIOSET_PERCPU_CACHE. That's going
to be the fastest way to get one.
ok, got it
Thanks