Skip to content
Commit 373282e7 authored by John Pittman's avatar John Pittman Committed by Jens Axboe
Browse files

null_blk: add zoned config support information



If the kernel is built without CONFIG_BLK_DEV_ZONED, a modprobe
of the null_blk driver with zoned=1 fails with 'Invalid argument'.
This can be confusing to users, prompting a search as to why the
parameter is invalid. To assist in that search, add a bit more
information to the failure, additionally adding to the documentation
that CONFIG_BLK_DEV_ZONED is needed for zoned=1.

Reviewed-by: default avatarBart Van Assche <bvanassche@acm.org>
Signed-off-by: default avatarJohn Pittman <jpittman@redhat.com>

Added null_blk prefix to error message.

Signed-off-by: default avatarJens Axboe <axboe@kernel.dk>
parent bb351aba
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment