Allow more flexibility in zone start and span
authorPierre Labat <plabat@micron.com>
Fri, 15 May 2020 16:22:13 +0000 (11:22 -0500)
committerJens Axboe <axboe@kernel.dk>
Mon, 18 May 2020 22:56:00 +0000 (16:56 -0600)
commitf09a7773f5821d5b89428419dcef1987ced39b67
tree82642c66377c5eb1ea67267c98940e885d68d2c6
parentfc3bf67a0c9c4ec360a974a50e49b05edfde0e0b
Allow more flexibility in zone start and span

Allow sequential read to start anywhere in a zone (option
offset), and have a span smaller than a zone (option size).

A use case is a Key Value Store reading a set of keys or values
starting somewhere in a zone.

Reviewed-by: Damien Le Moal <damien.lemoal@wdc.com>
Signed-off-by: Pierre Labat <plabat@micron.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
zbd.c