From mboxrd@z Thu Jan 1 00:00:00 1970 From: Andrew Morton Subject: Re: [rfc][patch] mm, fs: warn on missing address space operations Date: Mon, 22 Mar 2010 09:30:41 -0400 Message-ID: <20100322093041.2de599f8.akpm@linux-foundation.org> References: <20100322053937.GA17637@laptop> <20100322005610.5dfa70b1.akpm@linux-foundation.org> <20100322104057.GG17637@laptop> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: Pekka Enberg , linux-fsdevel@vger.kernel.org, linux-mm@kvack.org, linux-kernel@vger.kernel.org To: Nick Piggin Return-path: In-Reply-To: <20100322104057.GG17637@laptop> Sender: linux-kernel-owner@vger.kernel.org List-Id: linux-fsdevel.vger.kernel.org On Mon, 22 Mar 2010 21:40:57 +1100 Nick Piggin wrote: > > > > /* this fs should use block_invalidatepage() */ > > WARN_ON_ONCE(!invalidatepage); > > Problem is that it doesn't give you the aop name (and call trace > probably won't help). Yes it does - you have the filename and line number. You go there and read "invalidatepage". And the backtrace identifies the filesystem.