Re: [PATCH] Add compability for kernels >=2.6.27-rc1

Chris Mason
2008-07-30T20:43:42Z

On Wed, 2008-07-30 at 22:13 +0200, Jens Axboe wrote:

[ rcu page cache ]

> > > For btrfs's usage, it should be safe with a simple rcu_read_lock(), if
> > > the return is referenced safely.
> > >
> >
> > This btrfs code is basically a find_get_page without the get. It should
> > only be called when I know I already have a reference on the page.
>
> Then it's definitely safe ;-)
>

Yeah, I'm testing on the latest git now and it all seems ok. I'll push
this out, thanks Sven.

-chris