]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
null_blk: allow byte aligned memory offsets
authorKeith Busch <kbusch@kernel.org>
Thu, 6 Nov 2025 01:54:47 +0000 (17:54 -0800)
committerJens Axboe <axboe@kernel.dk>
Thu, 6 Nov 2025 23:28:55 +0000 (16:28 -0700)
commit3451cf34f51bb70c24413abb20b423e64486161b
tree8c61b632f7fe49462fbb1d0d4e9480b61b0414e4
parent262a3dd04e729386bececffeb095d31f7a9c43d5
null_blk: allow byte aligned memory offsets

Allowing byte aligned memory provides a nice testing ground for
direct-io.

Signed-off-by: Keith Busch <kbusch@kernel.org>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Johannes Thumshirn <johannes.thumshirn@wdc.com>
Reviewed-by: Damien Le Moal <dlemoal@kernel.org>
Reviewed-by: Chaitanya Kulkarni <kch@nvidia.com>
Tested-by: Hans Holmberg <hans.holmberg@wdc.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
drivers/block/null_blk/main.c
drivers/block/null_blk/zoned.c