On Tue, Nov 19, 2013 at 02:43:51PM -0700, Jens Axboe wrote: > No, the nr_requests isn't actually relevant in the blk-mq context, the > driver sets its own depth. For the above, it's 64 normal commands, and 2 > reserved. The reserved would be for a flush, for instance. If someone > attempts to queue more than the allocated number of requests, it'll stop > the blk-mq queue and kick things into gear on the virtio side. Then when > requests complete, we start the queue again.
Btw, any reason we lowerered the queue depth from 128 to 64 in virtio-blk? -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/