server: disable pdu length check for now
authorJens Axboe <axboe@fb.com>
Tue, 26 Jan 2016 18:19:16 +0000 (11:19 -0700)
committerJens Axboe <axboe@fb.com>
Tue, 26 Jan 2016 18:19:16 +0000 (11:19 -0700)
Vectored entries don't always honor it. Allow longer payloads, until
we fix the breakdown again.

Signed-off-by: Jens Axboe <axboe@fb.com>
server.c

index ab4069c7c7b31faf716f92890da0f35cbf5359e3..02481648c67c6ddd540578f96cb00e1f019509f3 100644 (file)
--- a/server.c
+++ b/server.c
@@ -324,11 +324,6 @@ static int verify_convert_cmd(struct fio_net_cmd *cmd)
                return 1;
        }
 
                return 1;
        }
 
-       if (cmd->pdu_len > FIO_SERVER_MAX_FRAGMENT_PDU) {
-               log_err("fio: command payload too large: %u\n", cmd->pdu_len);
-               return 1;
-       }
-
        return 0;
 }
 
        return 0;
 }