* Bug with "multi directory support" on windows
@ 2014-03-12 15:38 Sébastien Bouchex Bellomié
2014-03-12 16:33 ` Jens Axboe
0 siblings, 1 reply; 6+ messages in thread
From: Sébastien Bouchex Bellomié @ 2014-03-12 15:38 UTC (permalink / raw)
To: fio
Hi,
A nice bug on Windows�:
My profile is :
[global]
thread
[random_read]
rw=randread
size=1024m
directory=c:\temp\fio\read
bs=32k
fio start looks like :
C:\Program Files\fio>fio.exe H:\fio\fio.win
fio: c is not a directory
fio: failed parsing directory=c:\temp\fio\read
fio: job random_read dropped
fio: file:options.c:875, func=lstat, error=No such file or directory
Of course ! The : separator of the multi directory support feature does not filter the Windows drive letter
Seb
S�bastien BOUCHEX BELLOMI�
Infovista� Server Technical Lead, Service Assurance R&D
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: Bug with "multi directory support" on windows
2014-03-12 15:38 Bug with "multi directory support" on windows Sébastien Bouchex Bellomié
@ 2014-03-12 16:33 ` Jens Axboe
2014-03-12 16:39 ` Sébastien Bouchex Bellomié
0 siblings, 1 reply; 6+ messages in thread
From: Jens Axboe @ 2014-03-12 16:33 UTC (permalink / raw)
To: Sébastien Bouchex Bellomié, fio
On 03/12/2014 09:38 AM, S�bastien Bouchex Bellomi� wrote:
> Hi,
>
> A nice bug on Windows :
>
> My profile is :
>
> [global]
> thread
>
> [random_read]
> rw=randread
> size=1024m
> directory=c:\temp\fio\read
> bs=32k
>
> fio start looks like :
> C:\Program Files\fio>fio.exe H:\fio\fio.win
> fio: c is not a directory
> fio: failed parsing directory=c:\temp\fio\read
> fio: job random_read dropped
> fio: file:options.c:875, func=lstat, error=No such file or directory
>
> Of course ! The : separator of the multi directory support feature does not filter the Windows drive letter
You might need to escape the ':' so it's c\:\Program Files and so forth.
I'll have to double check if that is done correctly for directory, fio
does do it for filename.
--
Jens Axboe
^ permalink raw reply [flat|nested] 6+ messages in thread
* RE: Bug with "multi directory support" on windows
2014-03-12 16:33 ` Jens Axboe
@ 2014-03-12 16:39 ` Sébastien Bouchex Bellomié
2014-03-12 16:46 ` Jens Axboe
0 siblings, 1 reply; 6+ messages in thread
From: Sébastien Bouchex Bellomié @ 2014-03-12 16:39 UTC (permalink / raw)
To: Jens Axboe, fio
Hi,
Escaping the directory worked : C\:\temp\fio\read
Documentation update ?
Seb
-----Original Message-----
From: Jens Axboe [mailto:axboe@kernel.dk]
Sent: mercredi 12 mars 2014 17:33
To: Sébastien Bouchex Bellomié; fio@vger.kernel.org
Subject: Re: Bug with "multi directory support" on windows
On 03/12/2014 09:38 AM, Sébastien Bouchex Bellomié wrote:
> Hi,
>
> A nice bug on Windows :
>
> My profile is :
>
> [global]
> thread
>
> [random_read]
> rw=randread
> size=1024m
> directory=c:\temp\fio\read
> bs=32k
>
> fio start looks like :
> C:\Program Files\fio>fio.exe H:\fio\fio.win
> fio: c is not a directory
> fio: failed parsing directory=c:\temp\fio\read
> fio: job random_read dropped
> fio: file:options.c:875, func=lstat, error=No such file or directory
>
> Of course ! The : separator of the multi directory support feature
> does not filter the Windows drive letter
You might need to escape the ':' so it's c\:\Program Files and so forth.
I'll have to double check if that is done correctly for directory, fio does do it for filename.
--
Jens Axboe
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: Bug with "multi directory support" on windows
2014-03-12 16:39 ` Sébastien Bouchex Bellomié
@ 2014-03-12 16:46 ` Jens Axboe
2014-03-12 17:02 ` Sébastien Bouchex Bellomié
0 siblings, 1 reply; 6+ messages in thread
From: Jens Axboe @ 2014-03-12 16:46 UTC (permalink / raw)
To: Sébastien Bouchex Bellomié, fio
On 03/12/2014 10:39 AM, S�bastien Bouchex Bellomi� wrote:
> Hi,
>
> Escaping the directory worked : C\:\temp\fio\read
>
> Documentation update ?
I think so. It's documented under the 'filename' option, so we can just
reference that. The directory option is right above it.
--
Jens Axboe
^ permalink raw reply [flat|nested] 6+ messages in thread
* RE: Bug with "multi directory support" on windows
2014-03-12 16:46 ` Jens Axboe
@ 2014-03-12 17:02 ` Sébastien Bouchex Bellomié
2014-03-12 17:17 ` Jens Axboe
0 siblings, 1 reply; 6+ messages in thread
From: Sébastien Bouchex Bellomié @ 2014-03-12 17:02 UTC (permalink / raw)
To: Jens Axboe, fio
Ah ok, the example is linux oriented, that's why I did not see it.
Thanks
Seb
-----Original Message-----
From: fio-owner@vger.kernel.org [mailto:fio-owner@vger.kernel.org] On Behalf Of Jens Axboe
Sent: mercredi 12 mars 2014 17:47
To: S�bastien Bouchex Bellomi�; fio@vger.kernel.org
Subject: Re: Bug with "multi directory support" on windows
On 03/12/2014 10:39 AM, S�bastien Bouchex Bellomi� wrote:
> Hi,
>
> Escaping the directory worked : C\:\temp\fio\read
>
> Documentation update ?
I think so. It's documented under the 'filename' option, so we can just reference that. The directory option is right above it.
--
Jens Axboe
--
To unsubscribe from this list: send the line "unsubscribe fio" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: Bug with "multi directory support" on windows
2014-03-12 17:02 ` Sébastien Bouchex Bellomié
@ 2014-03-12 17:17 ` Jens Axboe
0 siblings, 0 replies; 6+ messages in thread
From: Jens Axboe @ 2014-03-12 17:17 UTC (permalink / raw)
To: Sébastien Bouchex Bellomié, fio
On 03/12/2014 11:02 AM, S�bastien Bouchex Bellomi� wrote:
> Ah ok, the example is linux oriented, that's why I did not see it.
ALl updated now :-)
--
Jens Axboe
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2014-03-12 17:17 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-03-12 15:38 Bug with "multi directory support" on windows Sébastien Bouchex Bellomié
2014-03-12 16:33 ` Jens Axboe
2014-03-12 16:39 ` Sébastien Bouchex Bellomié
2014-03-12 16:46 ` Jens Axboe
2014-03-12 17:02 ` Sébastien Bouchex Bellomié
2014-03-12 17:17 ` Jens Axboe
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.