xfs
[Top] [All Lists]

Re: [PATCH] generic: require filesize to be greater than fs block size i

To: xfs@xxxxxxxxxxx
Subject: Re: [PATCH] generic: require filesize to be greater than fs block size in generic/240
From: Stanislav Kholmanskikh <stanislav.kholmanskikh@xxxxxxxxxx>
Date: Fri, 06 Dec 2013 13:39:41 +0400
Cc: vasily.isaenko@xxxxxxxxxx
Delivered-to: xfs@xxxxxxxxxxx
In-reply-to: <1386321845-9221-1-git-send-email-stanislav.kholmanskikh@xxxxxxxxxx>
References: <1386321845-9221-1-git-send-email-stanislav.kholmanskikh@xxxxxxxxxx>
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20131030 Thunderbird/17.0.10

On 12/06/2013 01:24 PM, Stanislav Kholmanskikh wrote:
If we execute generic/240 on a fs which has its fs block size greater
than 64k (for example, NFS), this test will fail with:

   io_submit failed: Invalid argument

This will happen because in src/aio-dio-regress/aiodio_sparse2.c this
expression

   num_aio = filesize / step;

will set num_aio to 0 and this means that no io_setup() will happen
before calling io_submit().
Actually, I mean "... no io_prep_pwrite() will happen before calling io_submit()". It's a typo.

<Prev in Thread] Current Thread [Next in Thread>