engines/libzbc: add support for the get_max_open_zones io op
authorNiklas Cassel <niklas.cassel@wdc.com>
Fri, 14 May 2021 12:53:15 +0000 (12:53 +0000)
committerJens Axboe <axboe@kernel.dk>
Fri, 14 May 2021 14:57:32 +0000 (08:57 -0600)
commite8267436fd7a02d819f3d0a2a77527d2f942e08b
tree06fefe1bbcb137506b73e9626b4e457a43064526
parentd2f442bc0bd507510089d56cd510616093415702
engines/libzbc: add support for the get_max_open_zones io op

Add support for the new .get_max_open_zones io operation.

zbc.c will only ever call this callback for host-managed devices.

Signed-off-by: Niklas Cassel <niklas.cassel@wdc.com>
Reviewed-by: Damien Le Moal <damien.lemoal@wdc.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
engines/libzbc.c