summaryrefslogtreecommitdiff
path: root/cgroup.h
diff options
context:
space:
mode:
authorAlexey Dobriyan <adobriyan@gmail.com>2020-04-06 22:56:10 +0300
committerJens Axboe <axboe@kernel.dk>2020-04-06 19:41:45 -0600
commitebc403fe282864eddfd68ab1793f149a1b0eb1cd (patch)
tree97fcab481895d7e89d03ca0c665a7ee07d7db89a /cgroup.h
parent1f57803b16232187a374e7e230a8d442b05fd265 (diff)
downloadfio-master.tar.gz
fio-master.tar.bz2
zbd: fixup ->zone_size_log2 if zone size is not power of 2HEADmaster
Code like this doesn't work if log2 is 0xffffffff. if (f->zbd_info->zone_size_log2 > 0) zone_idx = offset >> f->zbd_info->zone_size_log2; else zone_idx = offset / f->zbd_info->zone_size; Other than that everything else works! Reviewed-by: Damien Le Moal <damien.lemoal@wdc.com> Signed-off-by: Alexey Dobriyan (SK hynix) <adobriyan@gmail.com> Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'cgroup.h')
0 files changed, 0 insertions, 0 deletions