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 RAID]     [Linux SCSI]     [Linux ATA RAID]     [IDE]     [Linux Wireless]     [Linux Kernel]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Device Mapper]

  Powered by Linux