Re: [PATCH] mb_cache_shrink() frees unexpected caches

From: Akinobu Mita
Date: Fri Jul 15 2005 - 23:00:20 EST


2005-07-16 (Sat) 03:44 +0200 Andreas Gruenbacher wrote:
> Removing the cache parameter from mb_cache_shrink would break when more than
> one mb_cache is used per filesystem, correct. Leaving the parameter in and
> adding your patch is more "future proof", so I'm fine with it. Are you
> actually using more than one mb_cache, or is this theoretical?

This is just theorecal.

Now I agree with your two patches except for the name of
"mb_cache_shrink". it should be renamed to imply that this function
shrinks all sort of mbcache on specified block device.





-
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/