Re: [PATCH v2 2/5] mq-deadline: switch to use elevator lock

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

 



Hi,

在 2025/7/31 1:21, Bart Van Assche 写道:
On 7/30/25 1:22 AM, Yu Kuai wrote:
@@ -466,10 +466,9 @@ static struct request *dd_dispatch_request(struct blk_mq_hw_ctx *hctx)
      struct request *rq;
      enum dd_prio prio;
  -    spin_lock(&dd->lock);
      rq = dd_dispatch_prio_aged_requests(dd, now);

The description says "no functional changes" but I think I see a functional change above. Please restrict this patch to changing
&dd->lock into dd->lock only.
Ok, you mean that the lock is moved to the caller is functional change, right?

Thanks,
Kuai

Thanks,

Bart.






[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