[lkml]   [2011]   [Oct]   [10]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: [PATCH] vfs: add d_prune dentry operation
On Mon, Oct 10, 2011 at 09:19:43AM -0700, Sage Weil wrote:
> Let me know if the below is clearer. The requirement is that ->d_prune be
> called prior to unhashing (and then destroying) a victim dentry. I'm a
> little worried about mixing that in with the lru helpers because it is
> only indirectly related to whether the dentry is on the LRU, and that may
> confuse people. A cleaned up opencoded patch is here:
> and the updated dentry_lru_prune() wrapper version is below.

Long term what I really want is a helper for doing more of the real
removal in single place. This is one step towards it, and the series
from Dave is another.

 \ /
  Last update: 2011-10-10 18:23    [W:0.084 / U:1.516 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site