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

Re: [Nbd] another?



>> Would it be interesting to have a command which asks the server how
>> much space is really used? E.g. with the new discard which can be used
>> by the server as a punch hole command.
>>
>> Also: iirc i saw that the nbd-client sends multiple commands to the
>> server and then starts to wait for their replies. Shouldn't we somehow
>> let the client know what the queue-depth of the server is so that the
>> client knows how many commands it can send in advance? On the other
>> hand: with the new fua/flush barrier-like commands this might not be
>> neccessary.
>
> Why would the client need / want to know either of these things?

disk space: not sure

queue depth: to adapt the number of outstanding requests to what the
other end is capable of.



Reply to: