[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH v3 00/17] 64bit block-layer

From: Vladimir Sementsov-Ogievskiy
Subject: Re: [PATCH v3 00/17] 64bit block-layer
Date: Tue, 1 Dec 2020 19:56:34 +0300
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.5.0

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.


Best regards,

reply via email to

[Prev in Thread] Current Thread [Next in Thread]