On 5/26/25 1:25 AM, Shinichiro Kawasaki wrote:
On May 23, 2025 / 09:49, Bart Van Assche wrote:
+ _init_null_blk nr_devices=0 queue_mode=2
This line can be removed by renameing the null_blk devices as follows:
nullb0 -> nullb1
nullb1 -> nullb2
nullb0 is not recommended since it can not be reconfigured when the
null_blk driver is built-in.
Isn't _remove_null_blk_devices() supposed to remove nullb0 no matter
whether null_blk is a kernel module or built-in to the kernel? And if
the null_blk driver has been built as a kernel module, how is it
supposed to be loaded without calling _init_null_blk()?
Thanks,
Bart.