Re: [PATCH] reiserfs: Expand i_mutex to enclose lookup_one_len



On Mon, May 04, 2009 at 12:51:20AM -0400, Jeff Mahoney wrote:

Huh. I didn't see that still in there. That's an artifact of an earlier
version of the code where I kept a reference to /.reiserfs_priv/xattrs.
Then I decided that .reiserfs_priv was all I needed to cache (to avoid
recursive i_mutex locking on the fs root) and dropped the caching of
xattrs. Looks like it didn't get totally cleared out.

It's not that simple ;-/ You check it in journalling code, AFAICS in order
to decide how much will that sucker take (due to extra mkdir?) and something
will need to be done with that check.

Anyway, I'm going to push all that stuff to #for-next, so that -next would
pick it. I have *not* touched the xattr_root logics, so if you could do
that on top of your patch + my incremental...
--
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/



Relevant Pages

  • cvs-src summary for June 7-14
    ... Here's the summary - hope you like locking. ... You can get old summaries, and an HTML version of this one, at ... Poul-Henning Kamp committed reference counting for the tty code; ...
    (freebsd-current)
  • Re: [PATCH 1/1] pagemap clear_refs: modify to specify anon or mapped vma clearing
    ... values a no-op similar to drop_caches at this point to avoid the potential ... adds flexibility to the user user space application implementing the reference ... That format could really be improved here, ... I am not sure what you mean by "clean" proc.txt, ...
    (Linux-Kernel)
  • Re: [PATCH 1/1] pagemap clear_refs: modify to specify anon or mapped vma clearing
    ... values a no-op similar to drop_caches at this point to avoid the potential ... adds flexibility to the user user space application implementing the reference ... That format could really be improved here, ... I am not sure what you mean by "clean" proc.txt, ...
    (Linux-Kernel)
  • Re: [PATCH 1/1] pagemap clear_refs: modify to specify anon or mapped vma clearing
    ... values a no-op similar to drop_caches at this point to avoid the potential ... adds flexibility to the user user space application implementing the reference ... That format could really be improved here, ... I am not sure what you mean by "clean" proc.txt, ...
    (Linux-Kernel)
  • Re: c# object caching and reference counting
    ... I need to cache various resource objects such as images for example, ... (wich could be considered documents for ease of discusion) ... I realy dont want to have to keep a track of seperate reference count as ...
    (microsoft.public.dotnet.languages.csharp)