Re: [PATCH 2.4] fix dcache nr_dentry race

From: Marcelo Tosatti
Date: Mon Sep 20 2004 - 13:25:28 EST



This one should have been applied long time ago, as Marc noted.

Thanks Leandro, committed to 2.4 BK repo.

On Sun, Sep 19, 2004 at 04:50:57AM -0300, Leandro Santi wrote:
>
> Hi Marcelo,
>
> The dentry_stat.nr_dentry counter isn't being properly protected against
> concurrent access. We've been observing a drift of about 8000 units per
> day on some large MP Maildir++ mailstore nodes.
>
> The following (trivial) patch is pretty much a backport from 2.6.
-
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/