On 09/13/2011 03:58 PM, Kevin Wolf wrote:
>  +    case NBD_CMD_TRIM:
>  +        TRACE("Request type is TRIM");
>  +        bdrv_discard(bs, (request.from + dev_offset) / 512,
>  +                     request.len / 512);

Errors are completely ignored? Does the NBD protocol not allow to return
an error?

Actually it does, will fix.

Paolo

Reply via email to