Re: [PATCH v11 18/26] block/rnbd: client: main functionality

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

 



> > Would it be possible to use the .get_budget / .put_budget callbacks for
> > obtaining / releasing a "permit" object? I'm asking this because it was
> > really tricky to get the .get_budget / .put_budget calls right in the
> > block layer core. See also commit 0bca799b9280 ("blk-mq: order getting
> > budget and driver tag") # v4.17.
>
> Will check if we can use .get_budget/put_budget call back.
I checked get_budget/put_budget only has single parameter blk_mq_hw_ctx,
so it's not possible save the permit for later to release/put back the permit.

Thanks!



[Index of Archives]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Photo]     [Yosemite News]     [Yosemite Photos]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux