Re: [PATCH V10 0/8] blk-mq-sched: improve sequential I/O performance

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

 



On Sat, Oct 14, 2017 at 07:38:29PM +0200, Oleksandr Natalenko wrote:
> Hi.
> 
> By any chance, could this be backported to 4.14? I'm confused with "SCSI: 
> allow to pass null rq to scsi_prep_state_check()" since it uses refactored 
> flags.
> 
> ===
> if (req && !(req->rq_flags & RQF_PREEMPT))
> ===
> 
> Is it safe to revert to REQ_PREEMPT here, or rq_flags should also be replaced 
> with cmd_flags?

Hi Oleksandr,

Inside scsi_mq_get_budget(), req is passed as null, and RQF_PREEMPT
won't be checked at all.

Thanks,
Ming



[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