Re: [PATCH] RFC: loop: Avoid calling blk_mq_freeze_queue() when possible.

From: Martijn Coenen
Date: Thu Aug 15 2019 - 10:50:13 EST


On Wed, Aug 14, 2019 at 4:29 PM Bart Van Assche <bvanassche@xxxxxxx> wrote:
> Hi Martijn,
>
> Is the loop driver used in Android Q to make a file on a filesystem
> visible as a block device or rather to make a subset of a block device
> visible as a block device? In the latter case, have you considered to
> use the dm-linear driver instead? I expect that the overhead per I/O of
> dm-linear will be lower than that of the loop driver.

Hi Bart,

In this case we're using the loop driver to make a file on the
filesystem visible as a block device (in the file is a filesystem we
want to mount), so unfortunately dm-linear is not an option.

Best,
Martijn

>
> Bart.