aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/block/null_blk_main.c
diff options
context:
space:
mode:
authorMing Lei <ming.lei@redhat.com>2019-12-04 19:31:15 +0800
committerJens Axboe <axboe@kernel.dk>2019-12-04 09:04:26 -0700
commitf1acbf2186dfe761a05ce35c0f36246caed44403 (patch)
treefd7aa83908a5910608eb56fa9d9a8a134af49c07 /drivers/block/null_blk_main.c
parentbrd: remove max_hw_sectors queue limit (diff)
downloadlinux-dev-f1acbf2186dfe761a05ce35c0f36246caed44403.tar.xz
linux-dev-f1acbf2186dfe761a05ce35c0f36246caed44403.zip
brd: warn on un-aligned buffer
Queue dma alignment limit requires users(fs, target, ...) of block layer to pass aligned buffer. So far brd doesn't support un-aligned buffer, even though it is easy to support it. However, given brd is often used for debug purpose, and there are other drivers which can't support un-aligned buffer too. So add warning so that brd users know what to fix. Reported-by: Stephen Rust <srust@blockbridge.com> Cc: Stephen Rust <srust@blockbridge.com> Signed-off-by: Ming Lei <ming.lei@redhat.com> Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions