On Thu, Apr 25, 2019 at 06:14:22AM +0800, Ming Lei wrote: > On Wed, Apr 24, 2019 at 10:20:46AM -0700, Sagi Grimberg wrote: > > > > > per-queue bioset is used originally for avoiding deadlock, are you > > > sure the static bioset is safe? > > > > Can you explain this? I didn't find any indication of that in the change > > log history... > > > > Originally introduced by Kent: > > bio split can be run from stacking drivers, for example, MD over NVMe, > if the global reserved mempool is consumed by MD bio splitting, then > no any progress can be made when splitting on bio submitted to NVMe. > > Kent may have more details... I guess it might be fine to use one shared global bio_set for all lowest underlying queues, could be all queues except for loop, dm, md , drbd, bcache, ... Thanks, Ming