Re: [PATCH 10/13: eCryptfs] Mmap operations

From: David Howells
Date: Thu May 04 2006 - 17:43:24 EST


Pekka Enberg <penberg@xxxxxxxxxxxxxx> wrote:

> > + rc = mapping->a_ops->readpage(file, page);
>
> What's the purpose of this second read?

When writing CacheFiles, I noticed that ext3 would occasionally unlock a page
that had neither PG_uptodate nor PG_error set, and so I had to force another
readpage() on it.

David
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/