[sheepdog] [PATCH v3 00/17] 64bit block-layer
Vladimir Sementsov-Ogievskiy
vsementsov at virtuozzo.com
Tue Dec 1 17:56:34 CET 2020
01.12.2020 19:07, Vladimir Sementsov-Ogievskiy wrote:
>
> I have an idea: instead of auditing each function callers, can we just make some good assumptions (like that the whole offset/bytes request being aligned to bs->request_alignement doesn't lay inside [0..INT64_MAX] region), check it once in bdrv_check_bytes_request() and assert in each function we convert to int64_t.
s/doesn't//
--
Best regards,
Vladimir
More information about the sheepdog
mailing list