Use logical block size = 512 bytes by default

test-assert
Vitaliy Filippov 2021-12-08 23:43:36 +03:00
parent 39e7f98e54
commit 8dfbd7943c
1 changed files with 1 additions and 1 deletions

View File

@ -308,7 +308,7 @@ static void vitastor_close(BlockDriverState *bs)
static int vitastor_probe_blocksizes(BlockDriverState *bs, BlockSizes *bsz) static int vitastor_probe_blocksizes(BlockDriverState *bs, BlockSizes *bsz)
{ {
bsz->phys = 4096; bsz->phys = 4096;
bsz->log = 4096; bsz->log = 512;
return 0; return 0;
} }
#endif #endif