Re: [PATCH v2 1/4] null_blk: do not fail the module load with zero devices

From: Chaitanya Kulkarni
Date: Fri Sep 13 2019 - 18:37:31 EST


On 09/13/2019 03:18 PM, Bart Van Assche wrote:
> I just noticed that this patch is necessary to unbreak blktests. The srp
> tests fail as follows with Jens' for-next branch:
>
> modprobe: ERROR: could not insert 'null_blk': Invalid argument
>
> I think that error is triggered by the following statement in
> common/multipath-over-rdma:
>
> modprobe null_blk nr_devices=0 || return $?
>
> Bart.
>

Not only that I'm sure my membacked null_blk testcases will also start
failing without this patch, which I've not posted on mailing list yet.