From mboxrd@z Thu Jan 1 00:00:00 1970 From: Rik van Riel Subject: Re: [PATCH 05/43] FS-Cache: Release page->private after failed readahead [ver #46] Date: Thu, 02 Apr 2009 13:17:35 -0400 Message-ID: <49D4F32F.5040109@redhat.com> References: <20090401230321.28177.12010.stgit@warthog.procyon.org.uk> <20090401230347.28177.28093.stgit@warthog.procyon.org.uk> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Cc: viro@ZenIV.linux.org.uk, nfsv4@linux-nfs.org, linux-kernel@vger.kernel.org, linux-fsdevel@vger.kernel.org To: David Howells Return-path: Received: from mx2.redhat.com ([66.187.237.31]:59312 "EHLO mx2.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1757404AbZDBRRj (ORCPT ); Thu, 2 Apr 2009 13:17:39 -0400 In-Reply-To: <20090401230347.28177.28093.stgit@warthog.procyon.org.uk> Sender: linux-fsdevel-owner@vger.kernel.org List-ID: David Howells wrote: > The attached patch causes read_cache_pages() to release page-private data on a > page for which add_to_page_cache() fails or the filler function fails. This > permits pages with caching references associated with them to be cleaned up. > > The invalidatepage() address space op is called (indirectly) to do the honours. > > Signed-off-by: David Howells > Acked-by: Steve Dickson > Acked-by: Trond Myklebust > Acked-by: Rik van Riel