lkml.org 
[lkml]   [2003]   [Jul]   [8]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Date
SubjectRe: [RFC] parallel directory operations
bzzz@tmi.comex.ru writes:
> >>>>> Nikita Danilov (ND) writes:
>
>
> ND> By taking this approach one step further you may just add a semaphore
> ND> into struct dentry and take it instead of directory ->i_sem. I think
> ND> Alexander Viro tried something similar in the past, but it slowed down
> ND> common case when there is no concurrent access to the directory.
>
> it's not semaphore. locks are created on demand to protect part of directory.
> we can't have a lots of semaphores allocated statically for each part of
> each directory.
>
> BTW, all of this have to be enabled by 'pdirops' ext3's mount option. so, things
> don't slow down w/o this option.

I am talking about "dynamic locks" taken in fs/namei.c. Have you
measured how your patch affects single-threaded case?

>

Nikita.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:46    [W:0.033 / U:0.912 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site