Re: [PATCH] O_STREAMING - flag for optimal streaming I/O

From: Mike Fedyk (mfedyk@matchmail.com)
Date: Thu Oct 10 2002 - 17:44:17 EST


On Thu, Oct 10, 2002 at 03:17:35PM +0200, Giuliano Pochini wrote:
> O_STREAMING is a way to reduce cache footprint of some
> files, ad it does the job very well, unless those files
> are accessed concurrently by two of more processes.
> Thing again about to backup a large database. I don't
> want to use tar because it kills the caches. I would
> like a way to read the db so that the cached part of
> the db (the 20% which gets 80% of accesses) is not
> expunged.

Unless you are pausing the database (causing the files on disk to be in a
useful state) and then reading the file you will have trouble. Anything
else will have to syncronize with the database itself, and thus can't use
O_STREAMING.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Tue Oct 15 2002 - 22:00:39 EST