[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20100322210155.GS17637@laptop>
Date: Tue, 23 Mar 2010 08:01:55 +1100
From: Nick Piggin <npiggin@...e.de>
To: Andrew Morton <akpm@...ux-foundation.org>
Cc: Pekka Enberg <penberg@...helsinki.fi>,
linux-fsdevel@...r.kernel.org, linux-mm@...ck.org,
linux-kernel@...r.kernel.org
Subject: Re: [rfc][patch] mm, fs: warn on missing address space operations
On Mon, Mar 22, 2010 at 09:30:41AM -0400, Andrew Morton wrote:
> On Mon, 22 Mar 2010 21:40:57 +1100 Nick Piggin <npiggin@...e.de> 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.
The backtrace is usually coming from just generic code paths though.
Granted that it's usually not too hard to figure what filesystem it is
(although it may have several aops).
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists