Re: Patch for Fio 1.21 plus changes up to de79c9158eae1459970e0df6efc6a2b09d920f15

From: Shaozhi Ye <yeshao_at_google.com>
Date: Wed, 10 Sep 2008 14:22:37 -0700

Jens,

Thanks for catching this. I thought I had some problem with it but can
not reproduce the bug again now. So let's keep it as it is.

Best,
Shawn

On Tue, Sep 9, 2008 at 11:59 PM, Jens Axboe <jens.axboe_at_oracle.com> wrote:
>
> The only one I have an issue with is this:
>
> @@ -193,6 +193,9 @@ static int __file_invalidate_cache(struc
> {
> int ret = 0;
>
> + if (td->o.odirect)
> + return 0;
> +
>
> since it's actually intentionally killing the cache of an O_DIRECT file.
> If we have to lay out the file, it just seems prudent to kill off the
> page cache of that file before we initiate direct IO on it. So can you
> elaborate on why you made that change?
>
> I have committed the rest, thanks!
>
> --
> Jens Axboe
>
>

-- 
Shaozhi Ye
Platforms Software Engineer Intern
Mountain View 1600 2F8D
+1 (650) 214-0873
Received on Wed Sep 10 2008 - 23:22:37 CEST

This archive was generated by hypermail 2.2.0 : Wed Sep 10 2008 - 23:30:02 CEST