From: Jens Axboe Date: Tue, 2 Jun 2009 12:18:41 +0000 (+0200) Subject: mmap engine: don't invalidate cache on segment remap X-Git-Tag: fio-1.27~15 X-Git-Url: https://git.kernel.dk/?a=commitdiff_plain;h=468306a1afe83d94692da391d2c18982a1cd41a6;p=fio.git mmap engine: don't invalidate cache on segment remap Signed-off-by: Jens Axboe --- diff --git a/engines/mmap.c b/engines/mmap.c index a5e0c6fc..2a341d07 100644 --- a/engines/mmap.c +++ b/engines/mmap.c @@ -46,9 +46,6 @@ static int fio_mmap_file(struct thread_data *td, struct fio_file *f, goto err; } - if (file_invalidate_cache(td, f)) - goto err; - if (!td_random(td)) { if (madvise(f->mmap_ptr, length, MADV_SEQUENTIAL) < 0) { td_verror(td, errno, "madvise");