On Mon, Mar 13, 2017 at 09:14:12AM +0000, Umesh Patel wrote: > Hello, > > I Would like to know difference between blk_init_queue and blk_alloc_queue API. > Can anyone explain when to use what ? The short answer is that you should neither. The long answer is that you should send a link to your driver source if you want anyone to help you.