Re: [PATCH 1/6] blk-mq: when polling for IO, look for any completion

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

 



> -bool blk_poll(struct request_queue *q, blk_qc_t cookie)
> +int blk_poll(struct request_queue *q, blk_qc_t cookie)

Can you add a comment explaining the return value?

>  {
>  	if (!q->poll_fn || !blk_qc_t_valid(cookie))
>  		return false;

And false certainly isn't an integer constant..



[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