qemu-devel
[Top][All Lists]
Advanced

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

Re: [PATCH v4 12/24] nbd: Prepare for 64-bit request effect lengths


From: Vladimir Sementsov-Ogievskiy
Subject: Re: [PATCH v4 12/24] nbd: Prepare for 64-bit request effect lengths
Date: Fri, 16 Jun 2023 21:16:07 +0300
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.9.0

On 08.06.23 16:56, Eric Blake wrote:
Widen the length field of NBDRequest to 64-bits, although we can
assert that all current uses are still under 32 bits, because nothing
ever puts us into NBD_MODE_EXTENDED yet.  Thus no semantic change.  No
semantic change yet.

Signed-off-by: Eric Blake <eblake@redhat.com>

assertions about NBD_MAX_BUFFER_SIZE worth a note in commit message?

trace eventsjk nbd_co_request_fail, nbd_co_request_fail, nbd_co_request_fail 
missed an update to 64bit

Also, some functions use size_t. Should we move them to uint64_t for 
consistancy?

 - nbd_co_send_sparse_read
 - nbd_co_send_chunk_read
 - nbd_co_send_simple_reply

but that may be another story



--
Best regards,
Vladimir




reply via email to

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