Re: [PATCH v2 02/11] block: Micro-optimize blk_req_needs_zone_write_lock()

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

 



On Tue, Apr 18, 2023 at 03:39:53PM -0700, Bart Van Assche wrote:
> Instead of using the following expression to translate a request pointer
> into a request queue pointer: rq->q->disk->part0->bd_queue, use the
> following expression: rq->q.

This looks correct, but I also kinda hate adding queue back in more
places.



[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