Re: [Qemu-devel] [PATCHv2] block/nfs: add knob to set readahead

2014-06-24 Thread Peter Lieven
Am 24.06.2014 18:04, schrieb Eric Blake: > On 06/24/2014 02:52 AM, Peter Lieven wrote: >> upcoming libnfs will feature internal readahead support. >> Add a knob to pass the optional readahead value as a URL >> parameter. >> >> This patch fixes also the incorrect usage of strncmp and >> atoi. >> >>

Re: [Qemu-devel] [PATCHv2] block/nfs: add knob to set readahead

2014-06-24 Thread Eric Blake
On 06/24/2014 02:52 AM, Peter Lieven wrote: > upcoming libnfs will feature internal readahead support. > Add a knob to pass the optional readahead value as a URL > parameter. > > This patch fixes also the incorrect usage of strncmp and > atoi. > > Signed-off-by: Peter Lieven > --- > v1->v2: use

[Qemu-devel] [PATCHv2] block/nfs: add knob to set readahead

2014-06-24 Thread Peter Lieven
upcoming libnfs will feature internal readahead support. Add a knob to pass the optional readahead value as a URL parameter. This patch fixes also the incorrect usage of strncmp and atoi. Signed-off-by: Peter Lieven --- v1->v2: use strtol instead of atoi [Eric] block/nfs.c | 16 ++---