[dm-devel] dm: impose configurable deadline for dm_request_fn's merge heuristic

Mike Snitzer snitzer at redhat.com
Mon Mar 2 23:26:42 UTC 2015


On Mon, Mar 02 2015 at 11:31am -0500,
Dan Carpenter <dan.carpenter at oracle.com> wrote:

> Hello Mike Snitzer,
> 
> The patch 6ee47d96b97d: "dm: impose configurable deadline for
> dm_request_fn's merge heuristic" from Feb 26, 2015, leads to the
> following static checker warning:
> 
> 	drivers/md/dm.c:1968 dm_attr_rq_based_queue_deadline_store()
> 	warn: impossible condition '(deadline > ((~0 >> 1))) => (s32min-s32max > s32max)'

Fixed up with latest code, see:
https://git.kernel.org/cgit/linux/kernel/git/device-mapper/linux-dm.git/commit/?h=for-next&id=f975bc0d522d1e57b108bf9e2e0293ee3f78f821




More information about the dm-devel mailing list